Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • P python-nbxmpp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • gajimgajim
  • python-nbxmpp
  • Issues
  • #86
Closed
Open
Issue created Oct 10, 2019 by wess nichols@nyamowf

AttributeError in _process_pubsub_location: 'NoneType' object has no attribute 'getTag'

Versions

  • OS: Ubuntu 19.04
  • GTK Version: 3.24.8
  • PyGObject Version: 3.32.0
  • GLib Version : 2.60.0
  • python-nbxmpp Version: 0.9.92
  • Gajim Version: 1.1.92+gajim@b60b725a

Traceback

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nbxmpp/dispatcher.py", line 631, in dispatch
    handler['func'](session, stanza, properties)
  File "/usr/lib/python3/dist-packages/nbxmpp/modules/location.py", line 49, in _process_pubsub_location
    location_node = item.getTag('geoloc', namespace=NS_LOCATION)
AttributeError: 'NoneType' object has no attribute 'getTag'

Steps to reproduce the problem

...

Edited Oct 10, 2019 by Daniel Brötzmann
Assignee
Assign to
Time tracking