learning the hal API

John (J5) Palmieri johnp at redhat.com
Tue Jun 14 14:39:31 PDT 2005


On Tue, 2005-06-14 at 23:25 +0200, Alexander Bierbrauer wrote:
> Hey there,
> 
> I want to code a small testing app to get used to HAL. As an example I 
> tried the provided volumd.py from the 0.4.7 release with my 
> 0.4.7-1-ubuntu package.
> 
> Sadly I'm getting this error:
> 
> Traceback (most recent call last):
>    File "./volumed.py", line 103, in ?
>      main()
>    File "./volumed.py", line 98, in main
>      '/org/freedesktop/Hal/Manager')
>    File "/usr/lib/python2.4/site-packages/dbus.py", line 87, in 
> add_signal_receiver
>      match_rule = self._get_match_rule(signal_name, interface, service, 
> path)
>    File "/usr/lib/python2.4/site-packages/dbus.py", line 120, in 
> _get_match_rule
>      service = bus_object.GetServiceOwner(service)
>    File "/usr/lib/python2.4/site-packages/dbus.py", line 219, in __call__
>      reply_message = self._connection.send_with_reply_and_block(message, 
> 5000)
>    File "dbus_bindings.pyx", line 562, in 
> dbus_bindings.Connection.send_with_reply_and_block
> dbus_bindings.DBusException: Could not get owner of service 
> '/org/freedesktop/Hal/Manager': no such service

Can you post your code?  /org/freedesktop/Hal/Manager is an object path
not a service name.

-- 
John (J5) Palmieri
Associate Software Engineer
Desktop Group
Red Hat, Inc.
Blog: http://martianrock.com

_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list