[Pkg-utopia-maintainers] Bug#816729: [python-dbus] python-dbus upgrade breaks pamusb-agent

Simon McVittie smcv at debian.org
Sat Mar 5 15:38:38 UTC 2016


Control: tags 816729 + pending

On Fri, 04 Mar 2016 at 13:33:59 +0100, Mark Brandis wrote:
> Since installing python-dbus this morning pamusb-agent crashes with
...
> 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(...)

This is because dbus.version incorrectly changed type from list
to tuple while I was improving the build system. I'll fix that and do
another release.

The workaround would be for pamusb-agent to stop supporting
dbus-python < 0.41, which is over a decade old:

-if getattr(dbus, 'version', (0,0,0)) >= (0,41,0):
-	import dbus.glib
+import dbus.glib

Regards,
    S



More information about the Pkg-utopia-maintainers mailing list