AttributeError: 'NoneType' object has no attribute 'set_enabled'
Please first check if another issue has been opened for your problem
Versions
- OS: Darwin
- Gajim version: commit 6f25997b
- GTK version: 2.24.33
- Python-nbxmpp version: 73944b1c4392fbd06fd946c3f3450d8153ae5dea
Steps to reproduce the problem
- Run gajim
Expected behavior
Not seeing the error message and being able to quit application.
Actual behavior
- Menu items are greyed out and some can't be changed at all.
- The actual error message is:
03/17/2021 20:24:00 (E) gajim.c.ged Error while running an event handler: <bound method RosterWindow._nec_signed_in of <gajim.roster_window.RosterWindow object at 0x10d3dd220>>
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/gajim/common/ged.py", line 101, in raise_event
if handler(*args, **kwargs):
File "/usr/local/lib/python3.9/site-packages/gajim/roster_window.py", line 2491, in _nec_signed_in
self.application.set_account_actions_state(obj.conn.name, True)
File "/usr/local/lib/python3.9/site-packages/gajim/application.py", line 503, in set_account_actions_state
self.lookup_action(account + action_name).set_enabled(True)
AttributeError: 'NoneType' object has no attribute 'set_enabled'