Hi :)<br><br>> What makes you think it is a PyQt problem?<br><br>good question :)<br><br>nothing in particular.<br><br>But I don't know where to fill a bug report. I'm first making some polls of utilisation.<br>
<br>this little piece of code should work.<br><br>Is it a pyQT pb, a Gnome pb, a freedesktop, pb... not enough competent to answer to this.<br><br>by recording every try mens could do, may be we found where is the pb :)<br>
<br>-> mandriva seems to work, on kde.<br><br>-> ubuntu G crash miserably ;)<br><br>slack, centOS, gentoo -> haven't try.<br><br>that's why I'm writing here.<br><br>what could i do more ?<br><br>clear skies,
<br><br>JB<br><br><div><span class="gmail_quote">2008/1/21, Phil Thompson <<a href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Monday 21 January 2008, Jean-Baptiste BUTET wrote:<br>> Hi all :)<br>><br>> I'm doing some tests on dbus and have some compatibility pbs.<br>><br>> -> me, with mandriva, python2.5.1 and pyqt4.3.1 under KDE (or IceWm)
<br>> -> 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>> -> launch script<br>> -> power off a digital camera<br>> -> "camera name" should prints.<br>><br>><br>> like this :<br>> [jb@localhost trunck]$ python ./dbus_try.py<br>> received signal: (
dbus.String(u':1.35'),)<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':1.169'),)<br>> received signal: (dbus.String<br>> (u'/org/freedesktop/Hal/devices/usb_device_4a9_30ee_noserial_if0'),)<br>> ERROR:dbus.connection:Exception in handler for D-Bus signal:
<br>> Traceback (most recent call last):<br>> File "/var/lib/python-support/python2.5/dbus/connection.py", line 210, in<br>> maybe_handle_message<br>> self._handler(*args, **kwargs)<br>> File "bdus_essai.py", line 11, in handle_signal
<br>> hal_manager_obj = self.bus.get_object("org.freedesktop.Hal",<br>> "/org/freedesktop/Hal/Manager")<br>> File "/var/lib/python-support/python2.5/dbus/bus.py", line 240, in<br>
> get_object<br>> follow_name_owner_changes=follow_name_owner_changes)<br>> File "/var/lib/python-support/python2.5/dbus/connection.py", line 492, in<br>> _signal_func<br>> def _signal_func(self, message):
<br>> KeyboardInterrupt<br>> received signal: (dbus.String<br>> (u'/org/freedesktop/Hal/devices/usb_device_4a9_30ee_noserial_usbraw'),)<br>> /org/freedesktop/Hal/devices/usb_device_4a9_30ee_noserial<br>
> Canon Digital Camera<br>><br>> Any hints ?<br><br><br><br>Phil<br>_______________________________________________<br>PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com
</a><br><a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://astrolix.org">http://astrolix.org
</a><br>association des linuxiens astronomes