[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: [python-dbus] Cannot connect to both system and session buses in
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2007-12-19 16:35:51
Message-ID: 200712191635.51295.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]

On Sunday 16 December 2007, Simon McVittie wrote:
> On Sat, 15 Dec 2007 at 22:37:32 -0800, dwelch91 wrote:
> > I'm playing around with a little test dbus/PyQt4 python script, and have
> > run into an issue... I am trying to accomplish two things in this script:
> > 1) receive signals from the system bus, and 2) export a callable object
> > on the session bus. When I run my little test script, only the last of
> > these 2 things that I setup work.
>
> Using the GLib main loop I'm able to receive signals from both buses at the
> same time; using the Qt main loop I'm not. It sounds as though the Qt D-Bus
> main loop adaptor (which is in fact part of pyqt) doesn't support more than
> one bus at the same time. Please file this as a bug against PyQt. It may
> help to attach my signal listener code, which is about the simplest
> possible test case for this.

This is fixed in tonight's PyQt snapshot. Thanks for the test code.

Phil
_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic