'InvalidFormat: Resource must be between 1 and 1023 chars'
Versions
- OS: Ubuntu 16.04.3
- Gajim version: 0.16.5-0.1
- GTK version: 3.18.9-1ubuntu3 or 2.24.30-1ubuntu (not sure which one is used)
- Python-nbxmpp version: 0.5.3-1
Steps to reproduce the problem
I don't know what caused the bug. I went away, I came back, and there was this dialog box that said 'A programming error has been detected' an that it should be reported to the developers.
Expected behavior
Actual behavior
I use gajim with Hipchat, and got a pop-up 'A programming error has been detected'. This was in the details pane:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nbxmpp/dispatcher_nb.py", line 497, in dispatch
handler['func'](session, stanza)
File "/usr/share/gajim/src/common/connection_handlers.py", line 563, in _IqCB
self._getRoster()
File "/usr/share/gajim/src/common/connection_handlers.py", line 2050, in _getRoster
self.discover_ft_proxies()
File "/usr/share/gajim/src/common/connection_handlers.py", line 2056, in discover_ft_proxies
'/' + self.server_resource)
File "/usr/share/gajim/src/common/helpers.py", line 114, in parse_jid
return prep(*decompose_jid(jidstring))
File "/usr/share/gajim/src/common/helpers.py", line 192, in prep
raise InvalidFormat, _('Resource must be between 1 and 1023 chars')
InvalidFormat: Resource must be between 1 and 1023 chars
After the pop-up appeared, I had to re-accept all chat invitations. But everything still seems to work fine.