hal/tools/device-manager DeviceManager.py,1.25,1.26
Kay Sievers
kay at freedesktop.org
Thu Jul 7 11:37:29 PDT 2005
Update of /cvs/hal/hal/tools/device-manager
In directory gabe:/tmp/cvs-serv3157/tools/device-manager
Modified Files:
DeviceManager.py
Log Message:
2005-07-07 Kay Sievers <kay.sievers at vrfy.org>
* tools/device-manager/DeviceManager.py:
h-d-m raises:
Traceback (most recent call last):
File "/usr/share/hal/device-manager/DeviceManager.py", line 182, in
DBusException: Trying to remove unkown rule:
type='signal',interface='org.freedesktop.Hal.Device',sender=':1.1'...
just make it useable again until we found the real reason.
Index: DeviceManager.py
===================================================================
RCS file: /cvs/hal/hal/tools/device-manager/DeviceManager.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- DeviceManager.py 1 Jul 2005 17:49:44 -0000 1.25
+++ DeviceManager.py 7 Jul 2005 18:37:26 -0000 1.26
@@ -97,11 +97,14 @@
udi)
def remove_device_signal_recv (self, udi):
- self.bus.remove_signal_receiver(lambda *args: self.property_modified(udi, *args),
- "PropertyModified",
- "org.freedesktop.Hal.Device",
- "org.freedesktop.Hal",
- udi)
+ try:
+ self.bus.remove_signal_receiver(lambda *args: self.property_modified(udi, *args),
+ "PropertyModified",
+ "org.freedesktop.Hal.Device",
+ "org.freedesktop.Hal",
+ udi)
+ except:
+ print "FIXME: unknown reason for the error while removing this rule from dbus"
return
self.bus.remove_signal_receiver(lambda *args: self.device_condition(udi, *args),
"Condition",
More information about the hal-commit
mailing list