[nightly] Crash on start: app.logger.commit() AttributeError: 'NoneType' object has no attribute 'commit'
Since yesterday's nightly, gajim crashes instantly on start.
gajim 1.1.94+ab1f7084
$ gajim
No translations found
Dirs searched: [PosixPath('/usr/share/gnome'), PosixPath('/usr/share/cinnamon'), PosixPath('/home/crosser/.local/share/flatpak/exports/share'), PosixPath('/var/lib/flatpak/exports/share'), PosixPath('/usr/local/share'), PosixPath('/usr/share'), PosixPath('/var/lib/snapd/desktop')]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/application.py", line 201, in _startup
app.logger = logger.Logger()
File "/usr/lib/python3/dist-packages/gajim/common/logger.py", line 195, in __init__
self._load_caps_data()
File "/usr/lib/python3/dist-packages/gajim/common/logger.py", line 143, in func_wrapper
result = func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/gajim/common/logger.py", line 1053, in _load_caps_data
rows = self._con.execute(
File "/usr/lib/python3/dist-packages/gajim/common/logger.py", line 152, in _convert_disco_info
return parse_disco_info(Iq(node=disco_info))
File "/usr/lib/python3/dist-packages/nbxmpp/protocol.py", line 1553, in __init__
Protocol.__init__(self,
File "/usr/lib/python3/dist-packages/nbxmpp/protocol.py", line 977, in __init__
Node.__init__(self, tag=name, attrs=attrs, payload=payload, node=node)
File "/usr/lib/python3/dist-packages/nbxmpp/simplexml.py", line 109, in __init__
node = NodeBuilder(node, self)
File "/usr/lib/python3/dist-packages/nbxmpp/simplexml.py", line 672, in __init__
self._parser.Parse(data, finished)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 0
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/application.py", line 235, in _activate
self.interface = Interface()
File "/usr/lib/python3/dist-packages/gajim/gui_interface.py", line 2068, in __init__
app.logger.reset_shown_unread_messages()
AttributeError: 'NoneType' object has no attribute 'reset_shown_unread_messages'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/application.py", line 310, in do_shutdown
app.logger.commit()
AttributeError: 'NoneType' object has no attribute 'commit'