Hi all :)<br><br>I&#39;m doing some tests on dbus and have some compatibility pbs.<br><br>-&gt; me, with mandriva, python2.5.1 and pyqt4.3.1 under KDE (or IceWm)<br>-&gt; 2 of my friends, under ubuntu gutsy and gnome.<br><br>
this code : <br><a href="http://pyfocus.free.fr/upload/dbus_try.py">http://pyfocus.free.fr/upload/dbus_try.py</a><br><br>works 100% perfect on my computer : <br>-&gt; launch script<br>-&gt; power off a digital camera<br>-&gt; &quot;camera name&quot; should prints.
<br><br><br>like this : <br>[jb@localhost trunck]$ python ./dbus_try.py<br>received signal: (dbus.String(u&#39;:1.35&#39;),)<br>/org/freedesktop/Hal/devices/usb_device_4a9_30ee_noserial<br>EOS 350D<br><br><br>here is error my friends have : 
<br>cyp@packard:~/Bureau$ python dbus_try.py <br>received signal: (dbus.String(u&#39;:1.169&#39;),)<br>received signal: (dbus.String(u&#39;/org/freedesktop/Hal/devices/usb_device_4a9_30ee_noserial_if0&#39;),)<br>ERROR:dbus.connection:Exception
 in handler for D-Bus signal:<br>Traceback (most recent call last):<br>&nbsp; File &quot;/var/lib/python-support/python2.5/dbus/connection.py&quot;, line 210, in maybe_handle_message<br>&nbsp;&nbsp;&nbsp; self._handler(*args, **kwargs)<br>&nbsp; File &quot;bdus_essai.py&quot;, line 11, in handle_signal
<br>&nbsp;&nbsp;&nbsp; hal_manager_obj = self.bus.get_object(&quot;org.freedesktop.Hal&quot;, &quot;/org/freedesktop/Hal/Manager&quot;)<br>&nbsp; File &quot;/var/lib/python-support/python2.5/dbus/bus.py&quot;, line 240, in get_object<br>&nbsp;&nbsp;&nbsp; follow_name_owner_changes=follow_name_owner_changes)
<br>&nbsp; File &quot;/var/lib/python-support/python2.5/dbus/connection.py&quot;, line 492, in _signal_func<br>&nbsp;&nbsp;&nbsp; def _signal_func(self, message):<br>KeyboardInterrupt<br>received signal: (dbus.String(u&#39;/org/freedesktop/Hal/devices/usb_device_4a9_30ee_noserial_usbraw&#39;),)
<br>/org/freedesktop/Hal/devices/usb_device_4a9_30ee_noserial<br>Canon Digital Camera<br><br>Any hints ?<br><br><br>clear skies.<br><br><br><br clear="all"><br>-- <br><a href="http://astrolix.org">http://astrolix.org</a><br>
association des linuxiens astronomes