Portál AbcLinuxu, 10. května 2025 08:16
import notify2 notify2.init("systempd") notify.Notification("Text","more text")vyvolá při init() následující:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Pod uživatelem to běží dobře a v průběhu googlení jsem zjistil, že je to skutečně rootem, který to chce posílat sobě a ne současnému uživateli. Ale nejsem si jist, ja s tím naložit správně...
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.