AttributeError: 'NoneType' object has no attribute 'set_enabled' after PR !52
I've got the following traceback after commit 6f845266 (from PR !52 (merged)):
Traceback (most recent call last):
File "/home/petro/work/gajim/src/message_window.py", line 1080, in create_window
win = self._windows[win_key]
KeyError: 'roster'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "gajim.py", line 249, in do_activate
self.interface.run(self)
File "/home/petro/work/gajim/src/gui_interface.py", line 2753, in run
self.msg_win_mgr.create_window(None, None, None)
File "/home/petro/work/gajim/src/message_window.py", line 1082, in create_window
win = self._new_window(win_acct, win_type)
File "/home/petro/work/gajim/src/message_window.py", line 965, in _new_window
win = MessageWindow(acct, type_, parent_win, parent_paned)
File "/home/petro/work/gajim/src/message_window.py", line 101, in __init__
get_action('show-roster').set_enabled(True)
AttributeError: 'NoneType' object has no attribute 'set_enabled'
Gajim cannot connect automatically (I have to manually set status "available"). Also I can't close it anymore (only kill-9 can). Reverting back to the previous commit eec1a69e makes it work again.