affects jockey
 status invalid
 milestone -
 affects ubuntu/jockey
 status invalid
 milestone -
 done

Hello Till,

Jockey itself does not notice if you do the D-BUS call synchronously
or async. In your script you just forgot to set up a D-BUS mainloop.
Just add the following line right after the import dbus.mainloop.glib:

  dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)

Then it works fine, I just tested it.

-- 
Asynchronous access to D-Bus API method "search_driver()" from a Python program 
does not work
https://bugs.launchpad.net/bugs/269169
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to