Problem getting DBus service list
John (J5) Palmieri
johnp at redhat.com
Thu Jun 30 15:17:35 PDT 2005
Bindings have changed quite a bit in FC4. Take a look at the example
program in CVS or the latest release tarball. Sorry I was late in
seeing this but I have been away for a week and a half.
On Tue, 2005-06-21 at 11:49 -0400, Ricky Hussmann wrote:
> I'm trying to use the DBus Skype API to do some work with Skype.
> However, the system bus won't respond to the get_service method. Here's
> the code and the output:
>
> import dbus, sys
>
> remote_bus = dbus.SystemBus()
> system_service_list =
> remote_bus.get_service('org.freedesktop.DBus').get_object('/org/
> freedesktop/DBus', 'org.freedesktop.DBus').ListServices()
>
> However, every time I run this code I get the following error:
>
> Traceback (most recent call last):
> File "testSkype.py", line 6, in ?
> system_service_list =
> remote_bus.get_service('org.freedesktop.DBus').get_object('/org/
> freedesktop/DBus', 'org.freedesktop.DBus').ListServices()
> AttributeError: SystemBus instance has no attribute 'get_service'
>
> I'm using Fedora Core 4. I've tried this on another server I have
> access to running Fedora Core 3, and it makes it well past this
> section. Does FC4 run a newer version of DBus with a different API? If
> so, is the API documented anywhere?
>
> Ricky Hussmann
> Associate Engineering Scientist
> West Virginia Virtual Environments Lab
> Morgantown, WV
--
John (J5) Palmieri <johnp at redhat.com>
More information about the dbus
mailing list