All pastes #974168 Raw Edit

Stuff

public text v1 · immutable
·published 2008-04-06 16:41 UTC
rendered paste body
<KwisatzHaderach> In python with D-Bus: RuntimeError: To make asynchronous calls, receive signals or export objects, D-Bus connections must be attached to a main loop by passing mainloop=... to the constructor or calling dbus.set_default_main_loop(...)
<KwisatzHaderach> what constructor is it ?
<KwisatzHaderach> I use from dbus.mainloop.glib import DBusGMainLoop
<KwisatzHaderach> I tried dbus.set_default_main_loop(DBusGMainLoop())
<KwisatzHaderach> but it does not help