[Telepathy] Tlen.pl protocol implementation using python and twisted.

Dafydd Harries dafydd.harries at collabora.co.uk
Sat Sep 27 08:02:37 PDT 2008


Ar 26/09/2008 am 23:16, ysgrifennodd Grommash Hellscream:
> Can anyone look at my code
> http://dl.getdropbox.com/u/161361/branch1.tar.gz . Its tlen.pl
> protocol implementation written in python using twisted framework. It
> looks that its connected but telepathy shows me only "connecting"
> status :/ Its problem with threads I think but I dont know how to fix
> it :/ Any siggestions?

I don't think it's a thread problem, since you're not creating any threads.

It looks like you're just not calling _connected when you have authenticated.
Your authenticator should generate a STREAM_AUTHD_EVENT event when it has
succeeded, and you should add an observer for that which calls _connected. Of
course, you should also handle authentication errors and disconnect the
connection with an appropriate error.

-- 
Dafydd


More information about the Telepathy mailing list