dbus-python and signals
Ludvig Ericson
ludvig.ericson at gmail.com
Sat Apr 28 12:31:46 PDT 2007
Hello, this is my first post to this list
I am sorry if this has been answered before, but I have been unable to
find any information that solves my issue.
The problem is that with dbus-python. I use
dbus.proxies.ProxyObject.connect_to_signal to connect a signal to one
bound function, and this works fine - the first time.
When another signal is given, of the exact same type, interface,
busname, everything - it doesn't get called. Not third either, none at
all after the first.
I'm 100% sure that indeed, the signals do get propagated since
dbus-monitor would show all these signals. The D-BUS object (session
bus) is still there too, since nothing says that it unregistered
itself.
Maybe I'm understand D-BUS wrong, perhaps it is logical for a signal
only to happen once, I don't know if that's the case.
And I did try with having the handler (signal handler) return True,
does not do any difference.
Thankful for any replies,
Ludvig Ericson - http://www.lericson.se/
More information about the dbus
mailing list