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

11/08/2019 17:40:34 (I) nbxmpp.client            | raising event from transport: :::::DATA RECEIVED::::
_____________
<iq to='MYJID@MYSERVER/gajim.MYRESOURCE' from='prosody@conference.prosody.im/nonlinear' type='error' id='0e38d7c2-968b-4202-8747-a0c86613eb2b'><query xmlns='http://jabber.org/protocol/disco#info' node='http://coccinella.sourceforge.net/protocol/caps#BcGNW35SAoxeSyNa9AjY38WiXHU='><error code='404' type='cancel'><item-not-found xmlns='urn:ietf:xml:params:ns:xmpp-stanzas'/></error><x xmlns='jabber:x:data' type='result'><field var='FORM_TYPE' type='hidden'><value>http://coccinella.sourceforge.net/protocol/servers</value></field><field var='putget_port'><value>8235</value></field><field var='http_port'><value>8077</value></field><field var='ip'><value>10.0.1.111</value></field></x></query></iq>
_____________

11/08/2019 17:40:34 (D) nbxmpp.smacks            | IN, iq

Versions

  • OS: Debian GNU/Linux stretch/sid
  • GTK Version: 3.24.12
  • PyGObject Version: 3.34.0
  • GLib Version : 2.60.6
  • python-nbxmpp Version: 0.9.92
  • Gajim Version: 1.1.92+3898f165aa61

Traceback

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 664, in <lambda>
    func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
  File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/idlequeue.py", line 559, in _process_events
    return IdleQueue._process_events(self, fd, flags)
  File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/idlequeue.py", line 410, in _process_events
    obj.pollin()
  File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/transports.py", line 443, in pollin
    self._do_receive()
  File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/transports.py", line 664, in _do_receive
    self._on_receive(received)
  File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/transports.py", line 678, in _on_receive
    self.on_receive(data)
  File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/dispatcher.py", line 692, in _WaitForData
    resp(self._owner, _iq, **args)
  File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/util.py", line 105, in func_wrapper
    result = func(self, stanza, **kwargs)
  File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/modules/discovery.py", line 52, in _disco_info_received
    return raise_error(log.info, stanza)
  File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/util.py", line 155, in raise_error
    error = error_factory(stanza, condition, text)
  File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/util.py", line 146, in error_factory
    return error_classes.get(app_namespace, CommonError)(stanza)
  File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/structs.py", line 394, in __init__
    self.condition_data = self._error_node.getTagData(self.condition)
AttributeError: 'NoneType' object has no attribute 'getTagData'
Edited by Daniel Brötzmann