[Telepathy] XEP-0080 Support not working

Rainer Dorsch ml at bokomoko.de
Fri Oct 12 15:01:12 PDT 2012


Am Friday 12 October 2012 schrieb Guillaume Desmottes:
> Le jeudi 11 octobre 2012 à 21:29 +0200, Rainer Dorsch a écrit :
> > Am Tuesday 09 October 2012 schrieb Guillaume Desmottes:
> > > Le lundi 08 octobre 2012 à 22:19 +0200, Rainer Dorsch a écrit :
> > > > Am Monday 08 October 2012 schrieb Guillaume Desmottes:
> > > > > Le vendredi 05 octobre 2012 à 23:47 +0200, Rainer Dorsch a écrit :
> > > > > > I am struggling somewhat with the empathy logs. I can only select
> > > > > > Empathy.FileTransfer in the Empathy debug view. For reference I
> > > > > > uploaded some logs to
> > > > > > 
> > > > > > http://bokomoko.de/~rd/telepathy/
> > > > > 
> > > > > Looking at this log you are connected using
> > > > > kathrin.dorsch at jabber.org and receive a location from
> > > > > rdorsch at jabber.org, but you say that Empathy doesn't display any
> > > > > location for rdorsch at jabber.org is that right?
> > > > 
> > > > Yes, that is correct.
> > > 
> > > Sounds like, at least, like an Empathy bug then. Please report one. :)
> > 
> > I opened a bug report
> > 
> > https://bugs.freedesktop.org/show_bug.cgi?id=55884
> > 
> > BTW, since the location seems to be transfered correctly, how much is
> > missing to build a cmd line jabber client, which could write the
> > location to disk (e.g. as gpx)? If you think less than a day of work,
> > can you give me some pointers to get started (e.g. is there a hello
> > world like app, which logs into a jabber server and logs the
> > conversation, account information hardcoded is fine as a hello world
> > like starting point...)
> 
> It shouldn't be too hard. Actually I already have a small test script
> listing the location of all your contacts.
> 
> Check telepathy-glib API reference if you want to tweak it.
> 

Thanks for that very nice script :-)

I have currently the issue, that

	if len(location) == 0:

is always true.

For debugging purposes I also added some messages.

 contact.get_presence_status()

returns an empty string, although one contact is online.


The API reference says:

"This may be an empty string if this TpContact object has not been set up to 
track TP_CONTACT_FEATURE_PRESENCE. It is never NULL."

How do I "track a feature"?

Thanks,
Rainer




-- 
Rainer Dorsch
http://bokomoko.de/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/telepathy/attachments/20121013/16e862dd/attachment.html>


More information about the telepathy mailing list