flatpak gajim starts with an error if pgp plugin is installed
Versions
- OS: Debian 10 KDE
- GTK Version: 3.24.27
- PyGObject Version: 3.38.0
- GLib Version : 2.66.8
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.1
Traceback
Traceback (most recent call last):
File "/app/lib/python3.8/site-packages/gajim/application.py", line 234, in _startup
self.interface.run(self)
File "/app/lib/python3.8/site-packages/gajim/gui_interface.py", line 1968, in run
app.plugin_manager.init_plugins()
File "/app/lib/python3.8/site-packages/gajim/plugins/pluginmanager.py", line 275, in init_plugins
self.activate_plugin(plugin)
File "/app/lib/python3.8/site-packages/gajim/plugins/pluginmanager.py", line 550, in activate_plugin
self._register_modules_with_handlers(plugin)
File "/app/lib/python3.8/site-packages/gajim/plugins/pluginmanager.py", line 521, in _register_modules_with_handlers
instance, name = module.get_instance(con)
File "/app/plugins/pgp/modules/pgp_legacy.py", line 301, in get_instance
return PGPLegacy(*args, **kwargs), 'PGPLegacy'
File "/app/plugins/pgp/modules/pgp_legacy.py", line 78, in __init__
self._store = KeyStore(self._account, self.own_jid, self._log,
File "/app/plugins/pgp/backend/store.py", line 56, in __init__
self._migrate_v2_store()
File "/app/plugins/pgp/backend/store.py", line 116, in _migrate_v2_store
key_data['key_id'] = self._resolve_short_id(key_data['key_id'])
TypeError: 'NoneType' object is not subscriptable
Steps to reproduce the problem
flatpak install flathub org.gajim.Gajim
flatpak install org.gajim.Gajim.Plugin.pgp