Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#5366 closed defect (fixed)

Traceback on switching tabs.

Reported by: Zash Owned by:
Priority: normal Milestone: 0.13
Component: None Version: hg
Severity: normal Keywords:
Cc: Blocked By:
Blocking: OS: All

Description

Traceback (most recent call last):

File "/home/zash/src/gajim/src/message_window.py", line 767, in _on_notebook_switch_page

new_ctrl.set_control_active(True)

AttributeError?: 'NoneType?' object has no attribute 'set_control_active'

I have Gajim configured to not use tabs. A friend has three resources online, psi, pidgin and empathy. I think something weird happend on reciving messages from multiple resources.

Also, i got a million of these when i told him to write to me from multiple resources:

Traceback (most recent call last):

File "/home/zash/src/gajim/src/common/xmpp/idlequeue.py", line 497, in _process_events

return IdleQueue?._process_events(self, fd, flags)

File "/home/zash/src/gajim/src/common/xmpp/idlequeue.py", line 367, in _process_events

obj.pollin()

File "/home/zash/src/gajim/src/common/xmpp/transports_nb.py", line 391, in pollin

self._do_receive()

File "/home/zash/src/gajim/src/common/xmpp/transports_nb.py", line 571, in _do_receive

self._on_receive(received)

File "/home/zash/src/gajim/src/common/xmpp/transports_nb.py", line 583, in _on_receive

self.on_receive(data)

File "/home/zash/src/gajim/src/common/xmpp/dispatcher_nb.py", line 445, in dispatch

handlerfunc?(session, stanza)

File "/home/zash/src/gajim/src/common/connection_handlers.py", line 2038, in _messageCB

jid, invite, tim)

File "/home/zash/src/gajim/src/common/connection_handlers.py", line 2051, in _on_message_decrypted

session.received(frm, msgtxt, tim, encrypted, msg)

File "/home/zash/src/gajim/src/session.py", line 182, in received

self.control.handle_incoming_chatstate()

File "/home/zash/src/gajim/src/chat_control.py", line 2244, in handle_incoming_chatstate

self.draw_banner_text()

File "/home/zash/src/gajim/src/chat_control.py", line 1636, in draw_banner_text

banner_name_label.set_ellipsize(pango.ELLIPSIZE_END)

AttributeError?: 'NoneType?' object has no attribute 'set_ellipsize'

(I got a whole bunch of popups with that)

Also, his empathy client crashed.

Change History (6)

comment:1 Changed 7 years ago by asterix

you have no tabs and the switch_page event is raised?? What's this GTK strange thing?!?

comment:2 Changed 7 years ago by asterix

the banner_name_label TB is just impossible if you changed nothing to XML files ...

comment:3 Changed 7 years ago by asterix

see also #5346

comment:4 Changed 7 years ago by Yann Leboulanger <asterix@…>

  • Milestone set to 0.13
  • Resolution set to fixed
  • Status changed from new to closed

(In [8b8b18582724]) prevent a traceback which happen with obscure reasons. Fixes #5366

comment:5 Changed 7 years ago by Yann Leboulanger <asterix@…>

(In [5d5f16e7d63b]) remove hack I did for #5366, It was most probably due to #5375. see #5366, #5375

comment:6 Changed 7 years ago by Yann Leboulanger <asterix@…>

(In [be5323dd50a7]) remove hack I did for #5366, It was most probably due to #5375. see #5366, #5375

Note: See TracTickets for help on using tickets.