[PyQt] pb with dbus support
Jean-Baptiste BUTET
ashashiwa at gmail.com
Tue Jan 22 13:23:11 GMT 2008
Hi :)
> What makes you think it is a PyQt problem?
good question :)
nothing in particular.
But I don't know where to fill a bug report. I'm first making some polls of
utilisation.
this little piece of code should work.
Is it a pyQT pb, a Gnome pb, a freedesktop, pb... not enough competent to
answer to this.
by recording every try mens could do, may be we found where is the pb :)
-> mandriva seems to work, on kde.
-> ubuntu G crash miserably ;)
slack, centOS, gentoo -> haven't try.
that's why I'm writing here.
what could i do more ?
clear skies,
JB
2008/1/21, Phil Thompson <phil at riverbankcomputing.com>:
>
> On Monday 21 January 2008, Jean-Baptiste BUTET wrote:
> > 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 :
> > http://pyfocus.free.fr/upload/dbus_try.py
> >
> > 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'),)
> > /org/freedesktop/Hal/devices/usb_device_4a9_30ee_noserial
> > 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
> > (u'/org/freedesktop/Hal/devices/usb_device_4a9_30ee_noserial_if0'),)
> > 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
> > maybe_handle_message
> > self._handler(*args, **kwargs)
> > File "bdus_essai.py", line 11, in handle_signal
> > hal_manager_obj = self.bus.get_object("org.freedesktop.Hal",
> > "/org/freedesktop/Hal/Manager")
> > File "/var/lib/python-support/python2.5/dbus/bus.py", line 240, in
> > get_object
> > follow_name_owner_changes=follow_name_owner_changes)
> > File "/var/lib/python-support/python2.5/dbus/connection.py", line 492,
> in
> > _signal_func
> > def _signal_func(self, message):
> > KeyboardInterrupt
> > received signal: (dbus.String
> > (u'/org/freedesktop/Hal/devices/usb_device_4a9_30ee_noserial_usbraw'),)
> > /org/freedesktop/Hal/devices/usb_device_4a9_30ee_noserial
> > Canon Digital Camera
> >
> > Any hints ?
>
>
>
> Phil
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
--
http://astrolix.org
association des linuxiens astronomes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080122/9528014a/attachment.html
More information about the PyQt
mailing list