Unable to launch gajim: KeyError: 'avatar_sha'
Versions
- OS: Debian buster - flatpak
- Gajim version: 1.3.0
Steps to reproduce the problem
Not sure exactly how to reproduce, but this seems related to bug with a gateway icon issue. When using it it's fine, but gajim doesn't want to launch next time.
Expected behavior
Launch gajim.
Actual behavior
Empty window and:
09/02/2021 12:02:42 (D) gajim.c.ged Call handler handle_event_roster_info on <gajim.gui_interface.Interface object at 0x7fb785f66fd0>
09/02/2021 12:02:42 (D) gajim.c.m.roster (localhost) +XXX@component.localhost: {'name': 'YYYY', 'ask': None, 'subscription': 'both', 'groups': ['Signal'], 'avatar_sha': None}
09/02/2021 12:02:42 (D) gajim.c.ged Raise event: roster-info
09/02/2021 12:02:42 (D) gajim.c.ged Call handler handle_event_roster_info on <gajim.gui_interface.Interface object at 0x7fb785f66fd0>
09/02/2021 12:02:42 (D) gajim.c.m.roster (localhost) component.localhost: {'name': None, 'ask': None, 'subscription': 'both', 'groups': []}
Traceback (most recent call last):
File "/app/lib/python3.8/site-packages/gajim/application.py", line 236, in _startup
self.interface.run(self)
File "/app/lib/python3.8/site-packages/gajim/gui_interface.py", line 2083, in run
app.connections[account].get_module('Roster').load_roster()
File "/app/lib/python3.8/site-packages/gajim/common/modules/roster.py", line 61, in load_roster
avatar_sha=item['avatar_sha']))
KeyError: 'avatar_sha'
Fix
rm ~/.var/app/org.gajim.Gajim -rf