traceback using link local messaging
i was discussing with a friend in the same house, she is using 0.11.1 and i was too. For some reason, after talking, gajim froze, with the following traceback :
Traceback (most recent call last):
File "/home/misc/checkout/svn/gajim/src/chat_control.py", line 478, in _on_message_textview_mykeypress_event
self.send_message(message) # send the message
File "/home/misc/checkout/svn/gajim/src/chat_control.py", line 1277, in send_message
chatstate = chatstate_to_send, composing_jep = composing_jep):
File "/home/misc/checkout/svn/gajim/src/chat_control.py", line 516, in send_message
user_nick = self.user_nick)
File "/home/misc/checkout/svn/gajim/src/message_control.py", line 123, in send_message
user_nick = user_nick)
File "/home/misc/checkout/svn/gajim/src/common/zeroconf/connection_zeroconf.py", line 413, in send_message
if not self.connection.send(msg_iq, msg != None):
File "/home/misc/checkout/svn/gajim/src/common/zeroconf/client_zeroconf.py", line 657, in send
P2PClient(None, item['address'], item['port'], self, [(stanza, is_message)], to)
File "/home/misc/checkout/svn/gajim/src/common/zeroconf/client_zeroconf.py", line 124, in __init__
conn = P2PConnection('', _sock, host, port, self._caller, self.on_connect, self)
File "/home/misc/checkout/svn/gajim/src/common/zeroconf/client_zeroconf.py", line 291, in __init__
self.do_connect()
File "/home/misc/checkout/svn/gajim/src/common/zeroconf/client_zeroconf.py", line 362, in do_connect
self.disconnect()
File "/home/misc/checkout/svn/gajim/src/common/zeroconf/client_zeroconf.py", line 448, in disconnect
self._owner.on_disconnect()
File "/home/misc/checkout/svn/gajim/src/common/zeroconf/client_zeroconf.py", line 210, in on_disconnect
if self.conn_holder.number_of_awaiting_messages.has_key(self.fd):
AttributeError: P2PClient instance has no attribute 'fd'
I decided to use a updated svn checkout, and the error was still here, after starting gajim again. I do not know what happened or what changed , and my friend didn't do anything special ( not even closing the tab ).