dbus-python and signals

Simon McVittie simon.mcvittie at collabora.co.uk
Sun Apr 29 08:21:52 PDT 2007


On Sat, 28 Apr 2007 at 21:31:46 +0200, Ludvig Ericson wrote:
> 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.

That sounds like a bug, either in your code or in dbus-python. Can you
post a small test case? Hopefully I can either point out what you're
doing wrong, or use it to track down a bug in dbus-python.

> 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.

This is not the case. You should be able to receive the same signal
repeatedly.

	Simon


More information about the dbus mailing list