[Twisted-Python] Twisted and D-BUS

Pedro Sanchez psanchez at nortel.com
Tue Aug 19 11:38:56 EDT 2008


On Tue, 2008-08-19 at 09:56 -0400, Christopher Armstrong wrote:
> On Tue, Aug 19, 2008 at 9:48 AM, Christopher Armstrong
> <radix at twistedmatrix.com> wrote:
> > On Mon, Aug 18, 2008 at 6:14 PM, Pedro Sanchez <psanchez at nortel.com> wrote:
> >> Hello,
> >>
> >> I'd like to get your opinion on using the D-Bus within a twisted
> >> application. Would the Python D-Bus binding at
> >>
> >> http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html
> >>
> >> work with twisted? is there a recommended approach?
> >
> >
> > Yes, it works. All you have to do is make sure you use the glib2 or
> > gtk2 Twisted reactor, and then make sure you use the glib/gobject
> > event loop integration from dbus-python.
> 
> Sorry, I have one more thing to add:
> 
> I pray that you only have to use recent versions of dbus and
> dbus-python. If you have to maintain compatibility with older versions
> (like those shipped with Ubuntu 6.06 or 7.04), may God have mercy on
> your soul.
> 
Thanks for the advice. I will be using Ubuntu 8.04.1 as my development
platform with twisted 2.5. I hope this will be OK, or do I need to move
to the latest twisted 8.1?

Thanks,

-- 
Pedro






More information about the Twisted-Python mailing list