Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gajim
gajim
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 196
    • Issues 196
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 21
    • Merge Requests 21
  • 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
  • gajimgajim
  • Issues
  • #9694

Closed
Open
Opened May 03, 2019 by Andrey Gursky@agContributor

AttributeError: 'NoneType' object has no attribute 'room_jid'

Versions

  • OS: Debian GNU/Linux stretch/sid
  • GTK+ Version: 3.24.7
  • PyGObject Version: 3.30.4
  • GLib Version : 2.58.3
  • python-nbxmpp Version: 0.9.91
  • Gajim Version: 1.1.92+b59d5434

Log

05/03/2019 19:43:38 (I) nbxmpp.client            | raising event from transport: :::::DATA RECEIVED::::
_____________
<presence to='MYJID@MYSERVER/gajim.MYRESOURCE' from='chatsecure@conference.magicbroccoli.de/Peter' type='unavailable'><x xmlns='http://jabber.org/protocol/muc#user'>
<item nick='peter' role='participant' affiliation='none'/><status code='303'/></x></presence>
_____________

05/03/2019 19:43:38 (D) nbxmpp.smacks            | IN, presence

Traceback (most recent call last):
  File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/dispatcher.py", line 625, in dispatch
    handler['func'](session, stanza, properties)
  File "/home/andrey/progs/gajim.git/gajim/common/modules/muc.py", line 183, in _on_muc_user_presence
    app.contacts.remove_gc_contact(self._account, contact)
  File "/home/andrey/progs/gajim.git/gajim/common/contacts.py", line 484, in remove_gc_contact
    return self._accounts[account].gc_contacts.remove_gc_contact(gc_contact)
  File "/home/andrey/progs/gajim.git/gajim/common/contacts.py", line 694, in remove_gc_contact
    if gc_contact.room_jid not in self._rooms:
AttributeError: 'NoneType' object has no attribute 'room_jid'
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gajim/gajim#9694