Omemo Type Error
Backporting my Gajim installation to the stable release, ended up in this error and not being able to use Omemo in MUC. And no valid session which renders Omemo useless without the ability to heal broken sessions or replace them by a new session.
23.02.2019 16:46:39 (E) gajim.c.ged Error while running an event handler: <bound method OMEMOConnection.signed_in of <omemo.omemo_connection.OMEMOConnection object at 0x7f67745764e0>>
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/gajim/common/ged.py", line 101, in raise_event
if handler(*args, **kwargs):
File "/home/nico/.local/share/gajim/plugins/omemo/omemo_connection.py", line 110, in signed_in
self.publish_bundle()
File "/home/nico/.local/share/gajim/plugins/omemo/omemo_connection.py", line 818, in publish_bundle
bundle = make_bundle(self.omemo.bundle)
File "/home/nico/.local/share/gajim/plugins/omemo/omemo/state.py", line 155, in bundle
self.checkPreKeyAmount()
File "/home/nico/.local/share/gajim/plugins/omemo/omemo/state.py", line 467, in checkPreKeyAmount
self.store.preKeyStore.generateNewPreKeys(newKeys)
File "/home/nico/.local/share/gajim/plugins/omemo/omemo/liteprekeystore.py", line 83, in generateNewPreKeys
startId = self.getCurrentPreKeyId() + 1
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
23.02.2019 16:46:47 (W) gajim.plugin_system.omemo No valid sessionsBad Mac!
Gajim Version: 1.1.2 GTK+ Version: 3.24.5 PyGObject-Version: 3.30.4 python-nbxmpp Version: 0.6.10 Omemo Plugin Version: 2.6.26