[Telepathy] Debugging question in telepathy-python + Sugar

Benjamin M. Schwartz bmschwar at fas.harvard.edu
Sun Jul 12 08:45:29 PDT 2009


Hey telepaths,

I'm trying to debug a sharing situation in Sugar, when an activity is
opened, shared, closed, and then relaunched from the Journal.  Based on
the logs, I wonder if ListTubes is misbehaving:

First, the Presence Service confirms that there is a Tubes channel:

DEBUG sugar.presence.activity: <proxy for
/org/laptop/Sugar/Presence/Activities/17 at b5f04f2c>: Connection
<telepathy.client.conn.Connection object at 0xb5f0814c> is ready
DEBUG sugar.presence.activity: <proxy for
/org/laptop/Sugar/Presence/Activities/17 at b5f04f2c>: Text channel
<telepathy.client.channel.Channel object at 0xb5f0832c> is ready
DEBUG sugar.presence.activity: <proxy for
/org/laptop/Sugar/Presence/Activities/17 at b5f04f2c>: Tubes channel
<telepathy.client.channel.Channel object at 0xb5f083ec> is ready
DEBUG sugar.presence.activity: <proxy for
/org/laptop/Sugar/Presence/Activities/17 at b5f04f2c>: finished setting up
tubes
DEBUG root: Share of activity 47298b3119f10cbdc7ac3d9971971b19a5e01dfb
successful, PS activity is <proxy for
/org/laptop/Sugar/Presence/Activities/17 at b5f04f2c>.

but when my code asks for tube, using the ListTubes API, ListTubes replies
to its reply_handler with an empty list:

DEBUG org.sugarlabs.SharedTextDemo: This is not my activity: waiting for a
tube...
...
DEBUG org.sugarlabs.SharedTextDemo: Got 0 tubes from ListTubes.

What's going on here?

Thanks,
Ben

P.S. This is all in Sugar 0.82, OLPC OS 8.2.0, using (I think) Telepathy
0.15.0.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/telepathy/attachments/20090712/423124ed/attachment.pgp 


More information about the telepathy mailing list