[Telepathy] Connecting a remote DBus Object over a DBus Tube
tomw
tomw at ubilix.com
Wed Aug 18 23:34:35 PDT 2010
Hi folks,
I'm trying to use a remote Object over a DBus tube. So far everything
works fine. The tube is open and upon the tube_channel_state_change I
get a dbus.connection.Connection object with the related address like
unix:path=/tmp/dbus-gabble-6k8gfh-V. If I proceed then with:
if state == TUBE_CHANNEL_STATE_OPEN:
tube = dbus.connection.Connection(self.tube_addr)
tube.add_signal_receiver(self.signal_cb)
remote = tube.get_object(SERVICE, PATH)
remote.Method(reply_handler=self.tube_reply_cb,
error_handler=self.tube_error_cb)
Calling Method on the remote object always creates a DBus timeout:
"DBusException(dbus.String(u'Did not receive a reply..."
The remote object is running on the DBUs and locally works like it
should. So, what am I missing here?
BTW, the telepathy framework is really a great piece of work (once you
grasp it :-)
Thanks
tomw
More information about the telepathy
mailing list