InvalidFormat: Invalid character in resource.
Bug description
Over time, I occasionally see the following error in Gajim:
Traceback (most recent call last): File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 533, in _process_events return IdleQueue._process_events(self, fd, flags) File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 394, in _process_events obj.pollin() File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 414, in pollin self._do_receive() File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 600, in _do_receive self._on_receive(received) File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 614, in _on_receive self.on_receive(data) File "/usr/share/gajim/src/common/xmpp/dispatcher_nb.py", line 452, in dispatch handler'func' File "/usr/share/gajim/src/common/connection_handlers.py", line 256, in _DiscoverInfoGetCB if self.commandInfoQuery(con, iq_obj): File "/usr/share/gajim/src/common/commands.py", line 374, in commandInfoQuery jid = helpers.get_full_jid_from_iq(iq_obj) File "/usr/share/gajim/src/common/helpers.py", line 867, in get_full_jid_from_iq return parse_jid(str(iq_obj.getFrom())) File "/usr/share/gajim/src/common/helpers.py", line 103, in parse_jid return prep(*decompose_jid(jidstring)) File "/usr/share/gajim/src/common/helpers.py", line 169, in prep raise InvalidFormat, _('Invalid character in resource.') InvalidFormat: Invalid character in resource.
I have a log file, but as it sometimes takes a while for it to show up, the log file is quite substantial. I don't see the actual traceback anywhere in the log, so I can't narrow down when the events actually occur. Any suggestions on how to determine relevant events in the log file would be accepted.
Steps to reproduce
I rarely see it happen. Mostly I find several instances of the error when I return to my computer, and with no timestamp on the error, I don't know when.
Software versions
OS version: Ubuntu 10.04
GTK version: 2.20.1
PyGTK version: 2.17.0