Gajim 1.3 requires nbxmpp>=2.0.4, but is not compatible with nbxmpp >=3.0.0
Versions
- OS: Debian GNU/Linux 11 (bullseye)
- GTK Version: 3.24.24
- PyGObject Version: 3.38.0
- GLib Version : 2.66.2
- python-nbxmpp Version: 3.0.1
- Gajim Version: 1.3.3
Traceback
Traceback (most recent call last):
File "/home/user/.local/share/virtualenv/lib/python3.9/site-packages/gajim/application.py", line 234, in _startup
self.interface.run(self)
File "/home/user/.local/share/virtualenv/lib/python3.9/site-packages/gajim/gui_interface.py", line 1968, in run
app.plugin_manager.init_plugins()
File "/home/user/.local/share/virtualenv/lib/python3.9/site-packages/gajim/plugins/pluginmanager.py", line 275, in init_plugins
self.activate_plugin(plugin)
File "/home/user/.local/share/virtualenv/lib/python3.9/site-packages/gajim/plugins/pluginmanager.py", line 550, in activate_plugin
self._register_modules_with_handlers(plugin)
File "/home/user/.local/share/virtualenv/lib/python3.9/site-packages/gajim/plugins/pluginmanager.py", line 521, in _register_modules_with_handlers
instance, name = module.get_instance(con)
File "/home/user/.local/share/gajim/plugins/omemo/modules/omemo.py", line 516, in get_instance
return OMEMO(*args, **kwargs), 'OMEMO'
File "/home/user/.local/share/gajim/plugins/omemo/modules/omemo.py", line 107, in __init__
self._own_jid = self._con.get_own_jid().getStripped()
AttributeError: 'JID' object has no attribute 'getStripped'
Steps to reproduce the problem
- Install gajim-1.3.3.tar.gz
- Start gajim
Other notes
I tried to modify the code to avoid this error, but this only leads to more errors like AttributeError: 'JID' object has no attribute 'bareMatch'
and AttributeError: 'MessageProperties' object has no attribute 'stanza_id'
.
Downgrading to nbxmpp==2.0.6
fixes the problem, but gajim specifies nbxmpp>=2.0.4
.
Edited by Daniel Brötzmann