AttributeError: 'NoneType' object has no attribute 'getTagData'
Working with an obviously broken (in development) server the following XMPP exchange raises an exception:
Out (request for resource binding): <iq type="set" id="1184"> <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"> <resource>Gajim</resource> </bind> </iq>
In: (incorrectly responds with a register request) <iq id="1184" type="result"> <query xmlns="jabber:iq:register" /> </iq>
Traceback (most recent call last): File "gajim.py", line 449, in _process_events return self.process_events(fd, flags) File "/usr/local/share/gajim/src/common/xmpp/idlequeue.py", line 132, in process_events obj.pollin() File "/usr/local/share/gajim/src/common/xmpp/transports_nb.py", line 352, in pollin self._do_receive() File "/usr/local/share/gajim/src/common/xmpp/transports_nb.py", line 502, in _do_receive self.on_receive(received) File "/usr/local/share/gajim/src/common/xmpp/dispatcher_nb.py", line 385, in WaitForData resp(self._expected[self._witid]) File "/usr/local/share/gajim/src/common/xmpp/auth_nb.py", line 396, in _on_bound self.bound.append(resp.getTag('bind').getTagData('jid')) AttributeError: 'NoneType' object has no attribute 'getTagData'