Ticket #3186 (closed defect: fixed)

Opened 16 months ago

Last modified 12 months ago

traceback using link local messaging

Reported by: misc Owned by: sb
Priority: normal Milestone: 0.11.2
Component: link-local messaging Version: svn
Severity: major Keywords:
Cc: OS: All

Description

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 ).

Attachments

Change History

Changed 14 months ago by sb

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.12

(In [8440]) fix #3186 (thanks dkirov)

Changed 12 months ago by asterix

(In [8716]) fix a TB in zeroconf. fixes #3186

Changed 12 months ago by asterix

  • os set to All
  • milestone changed from 0.12 to 0.11.2

Add/Change #3186 (traceback using link local messaging)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.