Unable to remove account
Versions
- OS: macOS Mojave 10.14.2
- Gajim version: 8094cadb
- GTK version: 3.22.30
- Python-nbxmpp version: f80bbaa61e97666291795eb5c82deab8950e233a
Steps to reproduce the problem
- Open Accounts menu
- Click on account you want to remove
- Click Remove button
- Confirm local deletion
- Stacktrace
12/28/2018 21:09:55 (W) gajim.c.ged Function (<bound method ConnectionHandlersBase._nec_presence_received of <gajim.common.connection.Connection object at 0x114c84080>>) with priority "20" never
registered as handler of event "presence-received". Couldn't remove.
Error: list.remove(x): x not in list
12/28/2018 21:09:55 (W) gajim.c.ged Function (<bound method ConnectionHandlersBase._nec_gc_message_received of <gajim.common.connection.Connection object at 0x114c84080>>) with priority "20" never
registered as handler of event "gc-message-received". Couldn't remove.
Error: list.remove(x): x not in list
12/28/2018 21:09:55 (W) gajim.c.ged Function (<bound method ConnectionHandlers._nec_agent_removed of <gajim.common.connection.Connection object at 0x114c84080>>) with priority "20" never
registered as handler of event "agent-removed". Couldn't remove.
Error: list.remove(x): x not in list
12/28/2018 21:09:55 (W) gajim.c.ged Function (<bound method HTTPUpload.handle_outgoing_stanza of <gajim.common.modules.httpupload.HTTPUpload object at 0x114c84b70>>) with priority "10" never
registered as handler of event "stanza-message-outgoing". Couldn't remove.
Error: list.remove(x): x not in list
12/28/2018 21:09:55 (W) gajim.c.ged Function (<bound method HTTPUpload.handle_outgoing_stanza of <gajim.common.modules.httpupload.HTTPUpload object at 0x114c84b70>>) with priority "10" never
registered as handler of event "gc-stanza-message-outgoing". Couldn't remove.
Error: list.remove(x): x not in list
Traceback (most recent call last):
File "/Users/rschwab/Applications/Gajim.app/Contents/MacOS/gajim/config.py", line 167, in on_remove_button_clicked
remove()
File "/Users/rschwab/Applications/Gajim.app/Contents/MacOS/gajim/config.py", line 157, in remove
self._on_remove_success(True)
File "/Users/rschwab/Applications/Gajim.app/Contents/MacOS/gajim/config.py", line 189, in _on_remove_success
app.connections[self.account].cleanup()
File "/Users/rschwab/Applications/Gajim.app/Contents/MacOS/gajim/common/connection.py", line 546, in cleanup
modules.unregister(self)
File "/Users/rschwab/Applications/Gajim.app/Contents/MacOS/gajim/common/modules/__init__.py", line 102, in unregister
instance.cleanup()
TypeError: 'NoneType' object is not callable
Expected behavior
Account is removed cleanly.
Actual behavior
Stacktrace, account is not removed.
Additional information
The account does not exist on the server anymore and is not connected.