TB when changing status to off-line
When I try to logout from account most of the time I get this traceback:
File "/code/gajim-hg/src/roster_window.py", line 2229, in change_status
change(account, status)
File "/code/gajim-hg/src/roster_window.py", line 2220, in change
self.get_status_message(status, on_response)
File "/code/gajim-hg/src/roster_window.py", line 2206, in get_status_message
on_response('', empty_pep)
File "/code/gajim-hg/src/roster_window.py", line 2218, in on_response
self.send_status(account, status, message)
File "/code/gajim-hg/src/roster_window.py", line 2015, in send_status
self.send_status_continue(account, status, txt, auto, to)
File "/code/gajim-hg/src/roster_window.py", line 2064, in send_status_continue
gajim.connections[account].change_status(status, txt, auto)
File "/code/gajim-hg/src/common/connection.py", line 647, in change_status
self.connection.start_disconnect()
File "/code/gajim-hg/src/common/xmpp/transports_nb.py", line 318, in start_disconnect
self.disconnect()
File "/code/gajim-hg/src/common/xmpp/transports_nb.py", line 459, in disconnect
NonBlockingTransport.disconnect(self, do_callback)
File "/code/gajim-hg/src/common/xmpp/transports_nb.py", line 209, in disconnect
self.on_disconnect()
File "/code/gajim-hg/src/common/xmpp/client_nb.py", line 133, in disconnect
i()
File "/code/gajim-hg/src/common/connection.py", line 234, in _on_disconnected
self.dispatch('STATUS', 'offline')
File "/code/gajim-hg/src/common/connection.py", line 179, in dispatch
gajim.ged.raise_event(event, self.name, data)
File "/code/gajim-hg/src/common/ged.py", line 70, in raise_event
if handler(*args, **kwargs):
File "/code/gajim-hg/src/gui_interface.py", line 228, in handle_event_status
request.interrupt(account=account)
File "/code/gajim-hg/src/gui_interface.py", line 3378, in interrupt
for (acct, cb) in self.callbacks:
AttributeError: PassphraseRequest instance has no attribute 'callbacks'
In that case account do not switch to offline.