I got this error each time I try to connect using telepathy-butterfly
DEBUG:Transport:<<< ADL 8 OK
DEBUG:Transport:>>> CHG 9 2 1879048192
INFO:Butterfly.Presence:Setting Presence to 'NLN'
INFO:Butterfly.Presence:Setting Personal message to ''
DEBUG:Transport:>>> CHG 10 NLN 1879048192
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/pymsn/util/decorator.py", line 103, in process_queue
File "/usr/lib/python2.5/site-packages/pymsn/msnp/notification.py", line 138, in set_presence
(presence, str(client_id), urllib.quote(str(msn_object))))
File "/usr/lib/python2.5/site-packages/pymsn/msnp/base.py", line 80, in _send_command
File "/usr/lib/python2.5/site-packages/pymsn/transport.py", line 208, in send_command_ex
self.send_command(cmd, increment, callback, *cb_args)
File "/usr/lib/python2.5/site-packages/pymsn/transport.py", line 273, in send_command
self._transport.send(str(command), self.__on_command_sent, *our_cb_args)
File "/usr/lib/python2.5/site-packages/pymsn/gnet/io/iochannel.py", line 157, in send
assert(self._status == IoStatus.OPEN), self._status
Here again, connecting to my MSN account using Pidgin solved the problem. Pidgin warned me about some roster synchronisation issues. I guess that's why butterfly wasn't able to connect.
Oups, I spoke too fast. Actually that didn't solve anything. I still have the same error.
I think this crash is due to the command "CHG 9 2 1879048192" where "2" is an invalid status. When the server receives a wrong command, it just disconnects us. This bug was caused by tp-butterfly sending a telepahy presence instead of a papyon one (2 == Telepathy.PRESENCE_AVAILABLE). It should be fixed with papyon and tp-butterfly git master.