[PyQt] pb with dbus support

Jean-Baptiste BUTET ashashiwa at gmail.com
Mon Jan 21 21:11:16 GMT 2008

Hi all :)

I'm doing some tests on dbus and have some compatibility pbs.

-> me, with mandriva, python2.5.1 and pyqt4.3.1 under KDE (or IceWm)
-> 2 of my friends, under ubuntu gutsy and gnome.

this code :

works 100% perfect on my computer :
-> launch script
-> power off a digital camera
-> "camera name" should prints.

like this :
[jb at localhost trunck]$ python ./dbus_try.py
received signal: (dbus.String(u':1.35'),)
EOS 350D

here is error my friends have :
cyp at packard:~/Bureau$ python dbus_try.py
received signal: (dbus.String(u':1.169'),)
received signal: (dbus.String
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 210, in
    self._handler(*args, **kwargs)
  File "bdus_essai.py", line 11, in handle_signal
    hal_manager_obj = self.bus.get_object("org.freedesktop.Hal",
  File "/var/lib/python-support/python2.5/dbus/bus.py", line 240, in
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 492, in
    def _signal_func(self, message):
received signal: (dbus.String
Canon Digital Camera

Any hints ?

clear skies.

association des linuxiens astronomes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080121/b39ad4e3/attachment.html

More information about the PyQt mailing list