Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-26-2011, 01:17 PM   #1
Registered: Mar 2010
Location: New Delhi, India
Distribution: Fedora
Posts: 94

Rep: Reputation: 0
How to obtain the dependencies of a dbus service?

Hi all.

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, Path and Interface 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 "", line 8, in <module>
    obj = bus_class.get_object(NAME, PATH)
  File "/usr/lib/python2.7/site-packages/dbus/", line 245, in get_object
  File "/usr/lib/python2.7/site-packages/dbus/", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/", line 184, in activate_name_owner
  File "/usr/lib/python2.7/site-packages/dbus/", line 288, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.7/site-packages/dbus/", line 645, in call_blocking
    message, timeout)
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Firewire Audio on Linux: Fixing FFADO dbus-service Errors LXer Syndicated Linux News 0 07-14-2010 02:10 PM
dbus as IPC for web service problem kannerke Programming 1 03-25-2009 09:59 AM
Fedora Core 9 update dbus.exception & dbus.proxies & DBus.Error.AccessDenied errors trien27 Fedora 1 12-08-2008 11:23 PM
LXer: How to Obtain the Dell/HP Server (May be other vendors) service tag in Debian LXer Syndicated Linux News 0 10-26-2008 10:40 PM
problem: dovecot /sbin/service dependencies mapster Mandriva 1 05-22-2006 05:25 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration