[Twisted-Python] Twisted and D-BUS

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? Thank you, -- Pedro

On Mon, Aug 18, 2008 at 6:14 PM, Pedro Sanchez <psanchez@nortel.com> wrote:
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. -- Christopher Armstrong International Man of Twistery http://radix.twistedmatrix.com/ http://twistedmatrix.com/ http://canonical.com/

On Tue, Aug 19, 2008 at 9:48 AM, Christopher Armstrong <radix@twistedmatrix.com> wrote:
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. -- Christopher Armstrong International Man of Twistery http://radix.twistedmatrix.com/ http://twistedmatrix.com/ http://canonical.com/

On Tue, Aug 19, 2008 at 11:38 AM, Pedro Sanchez <psanchez@nortel.com> wrote:
There's nothing in Twisted 8 that will specifically help with dbus integration, as far as I know, but there are a number of other improvements that may be interesting to you for other reasons. I suggest you check out the release news http://twistedmatrix.com/trac/browser/tags/releases/twisted-8.1.0/NEWS%3Ffor... That link contains release notes for 8.0 and 8.1, i.e., all changes since 2.5. -- Christopher Armstrong International Man of Twistery http://radix.twistedmatrix.com/ http://twistedmatrix.com/ http://canonical.com/

On Mon, Aug 18, 2008 at 6:14 PM, Pedro Sanchez <psanchez@nortel.com> wrote:
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. -- Christopher Armstrong International Man of Twistery http://radix.twistedmatrix.com/ http://twistedmatrix.com/ http://canonical.com/

On Tue, Aug 19, 2008 at 9:48 AM, Christopher Armstrong <radix@twistedmatrix.com> wrote:
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. -- Christopher Armstrong International Man of Twistery http://radix.twistedmatrix.com/ http://twistedmatrix.com/ http://canonical.com/

On Tue, Aug 19, 2008 at 11:38 AM, Pedro Sanchez <psanchez@nortel.com> wrote:
There's nothing in Twisted 8 that will specifically help with dbus integration, as far as I know, but there are a number of other improvements that may be interesting to you for other reasons. I suggest you check out the release news http://twistedmatrix.com/trac/browser/tags/releases/twisted-8.1.0/NEWS%3Ffor... That link contains release notes for 8.0 and 8.1, i.e., all changes since 2.5. -- Christopher Armstrong International Man of Twistery http://radix.twistedmatrix.com/ http://twistedmatrix.com/ http://canonical.com/
participants (2)
-
Christopher Armstrong
-
Pedro Sanchez