Derek Kuliński <[EMAIL PROTECTED]> wrote..
> Anyway, periodically I'm getting disconnected from my AIM transport 
> with following message (usually after that, when I try to connect
...
> AIM connection lost! Reason: [Failure instance: Traceback (failure 
> with no frames): <type 'exceptions.UnicodeDecodeError'>: 'utf8' codec
>  can't decode byte 0xab in position 9: unexpected code byte ]

I had the same problem as a result of one of the contacts having a goofy 
character in their status message. I solved it by changing the line that 
says...

   status = status.encode("utf-8", "replace")

to read

   status = status.encode("utf-8", "ignore")


Not the most elegant solution, but I'm able to lot into AIM again.

-- 

Adam Kalsey
http://kalsey.com | 916.600.2497 | aim/skype: akalsey

Get alerted by IM when your favorite sites are updated
for FREE with Feed Crier -- http://feedcrier.com/

_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to