How can we find the dependencies of a dbus-service?
Apparently, I have started the particular dbus service, and wish to retrieve the properties from the service. The Name
are exactly the one used for the service.
However, when I do a dbus.SessionBus().get_object
, I get the following exception ::
Traceback (most recent call last):
File "hope.py", line 8, in <module>
obj = bus_class.get_object(NAME, PATH)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 245, in get_object
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 241, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 184, in activate_name_owner
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 288, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 645, in call_blocking
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name <bus-name> was not provided by any .service files
I run a Fedora 14 machine, and use python-bindings.