Ticket #2527 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Quitting room while pm is open : tb

Reported by: jim++ Owned by: asterix
Priority: high Milestone: 0.11
Component: chat Version: hg
Severity: major Keywords:
Cc: Blocked By:
OS: Blocking:

Description

09 Okt 2006 01:17:50 Gajim: PresenceCB: unavailable
Traceback (most recent call last):
  File "/home/jim/gajim/gajim-propre-svn/src/common/xmpp/idlequeue.py", line 133, in process_events
    obj.pollin()
  File "/home/jim/gajim/gajim-propre-svn/src/common/xmpp/transports_nb.py", line 144, in pollin
    self._do_receive()
  File "/home/jim/gajim/gajim-propre-svn/src/common/xmpp/transports_nb.py", line 242, in _do_receive
    self.on_receive(received)
  File "/home/jim/gajim/gajim-propre-svn/src/common/xmpp/dispatcher_nb.py", line 350, in dispatch
    handler['func'](session,stanza)
  File "/home/jim/gajim/gajim-propre-svn/src/common/connection_handlers.py", line 1559, in _presenceCB
    self.dispatch('GC_NOTIFY', (jid_stripped, show, status, resource,
  File "/home/jim/gajim/gajim-propre-svn/src/common/connection.py", line 95, in dispatch
    self.put_event((event, data))
  File "/home/jim/gajim/gajim-propre-svn/src/common/connection.py", line 91, in put_event
    gajim.handlers[ev[0]](self.name, ev[1])
  File "gajim.py", line 888, in handle_event_gc_notify
    ctrl.update_ui()
  File "/home/jim/gajim/gajim-propre-svn/src/groupchat_control.py", line 130, in update_ui
    ChatControl.update_ui(self)
  File "/home/jim/gajim/gajim-propre-svn/src/chat_control.py", line 967, in update_ui
    ChatControlBase.update_ui(self)
  File "/home/jim/gajim/gajim-propre-svn/src/chat_control.py", line 99, in update_ui
    self.draw_banner()
  File "/home/jim/gajim/gajim-propre-svn/src/chat_control.py", line 1025, in draw_banner
    name = _('%(nickname)s from room %(room_name)s') %\
AttributeError: 'NoneType' object has no attribute 'name'

Thanks Elghinn for finding this one.

Attachments

Change History

Changed 3 years ago by asterix

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

(In [438a8f6b3a31bb19ef8e70a6d2d00d4e5a478172]) PrivateChatControl? now hold room name so that we can draw banner of pm even if room control has been closed. Fixes #2527

Add/Change #2527 (Quitting room while pm is open : tb)

Author



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