[Telepathy] Connecting a remote DBus Object over a DBus Tube

Jiri Baum jiri at baum.com.au
Mon Aug 23 00:35:59 PDT 2010


Hi tomw,

> I'm trying to use a remote Object over a DBus tube. 
...
> Calling Method on the remote object always creates a DBus timeout:

What's on the other end of the tube? If it's another copy of your program, 
somewhere you need to connect the incoming tube to an object that has the 
relevant method; that's done by creating an object inheriting from 
dbus.service.Object and passing the tube and the PATH to the constructor.

If you're already doing that, try storing a reference to that object somewhere 
in a global variable or something, in case it's being garbage-collected - if 
that's the problem, you can then store it in a more disciplined place, but for 
a quick test something like global_list.append(local_object) is fine.


Jiri
-- 
Jiri Baum <jiri at baum.com.au>                   http://www.baum.com.au/~jiri


More information about the telepathy mailing list