Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
G
gajim-plugins
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 58
    • Issues 58
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 8
    • Merge Requests 8
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gajim
  • gajim-plugins
  • Issues
  • #394

Closed
Open
Opened Feb 23, 2019 by nico@mightyBroccoli

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gajim/gajim-plugins#394