hal-device-manager crash

Dan Williams dcbw at redhat.com
Thu Jul 29 09:45:43 PDT 2004


Hi,

John Palmieri (J5) has a solution but hasn't posted the patch yet, it
involves editing /usr/share/hal/device-manager/DeviceManager.py and
fixing these lines as follows:

        self.bus.add_signal_receiver(self.gdl_changed,
+                                    "gdl_changed",
                                     "org.freedesktop.Hal.Manager",
                                     "org.freedesktop.Hal",
                                     "/org/freedesktop/Hal/Manager")

[snip]

            self.bus.add_signal_receiver(self.device_changed,
+                                        "device_changed",
                                         "org.freedesktop.Hal.Device",
                                         "org.freedesktop.Hal",
                                         name)    


Credit goes directly to him :)

Dan

On Thu, 2004-07-29 at 15:00 +0200, Thomas Gufler wrote:
> Hi,
> 
> I'm using hal-cvs together with dbus-cvs, udev-030 and linux 2.6.7 (gentoo). 
> Since about three weeks I cannot start hal-device-manager. When this problem 
> occurred first the hald also died, but now only the h-d-m crashs. When I try 
> to start h-d-m I get the following error:
> 
> Traceback (most recent call last):
>   File "/usr/bin/hal-device-manager", line 15, in ?
>     DeviceManager()
>   File "/usr/share/hal/device-manager/DeviceManager.py", line 53, in __init__
>     "/org/freedesktop/Hal/Manager")
>   File "/usr/lib/python2.3/site-packages/dbus.py", line 83, in 
> add_signal_receiver
>     match_rule = self._get_match_rule(signal_name, interface, service, path)
>   File "/usr/lib/python2.3/site-packages/dbus.py", line 112, in 
> _get_match_rule
>     service = bus_object.GetServiceOwner(service)
>   File "/usr/lib/python2.3/site-packages/dbus.py", line 208, in __call__
>     reply_message = self._connection.send_with_reply_and_block(message, 5000)
>   File "dbus_bindings.pyx", line 556, 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
> 
> There is already a thread in the gentoo forum 
> (http://forums.gentoo.org/viewtopic.php?t=199376&start=0&postdays=0&postorder=asc&highlight=halcvs) 
> but no solution.  
> 
> Any suggestions?
> 
> Regards,
> 
> Thomas Gufler
> _______________________________________________
> hal mailing list
> hal at freedesktop.org
> http://freedesktop.org/mailman/listinfo/hal

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



More information about the Hal mailing list