TB on underscore character in transport
I get the following TB while I am connected (in bigger intervals but repeatedly):
Traceback (most recent call last): File "/home/stefan/gajim_trunk/src/common/xmpp/idlequeue.py", line 133, in process_events File "/home/stefan/gajim_trunk/src/common/xmpp/transports_nb.py", line 144, in pollin File "/home/stefan/gajim_trunk/src/common/xmpp/transports_nb.py", line 242, in _do_receive File "/home/stefan/gajim_trunk/src/common/xmpp/dispatcher_nb.py", line 352, in dispatch File "/home/stefan/gajim_trunk/src/common/connection_handlers.py", line 1150, in _ErrorCB File "/home/stefan/gajim/src/common/helpers.py", line 630, in get_full_jid_from_iq return parse_jid(str(iq_obj.getFrom())) File "/home/stefan/gajim/src/common/helpers.py", line 87, in parse_jid return prep(user, server, resource) File "/home/stefan/gajim/src/common/helpers.py", line 116, in prep raise InvalidFormat, _('Invalid character in hostname.') common.helpers.InvalidFormat: Invalid character in hostname.
prep is called with
user = None server = public_conferences.jabber.berlin.ccc.de resource= None
The corresponding xml:
<iq to="public_conferences.jabber.berlin.ccc.de" type="get" id="p80" from="foe@jabber.berlin.ccc.de/Noteboko"> <query xmlns="http://jabber.org/protocol/disco#info" /> </iq>
...
<iq to='foe@jabber.berlin.ccc.de/Noteboko' type='error' id='p80' from='public_conferences.jabber.berlin.ccc.de'> <query xmlns='http://jabber.org/protocol/disco#info'/> <error code='501'>Not Implemented</error> </iq>
To reproduce: connect to jabber.berlin.ccc.de and wait. Maybe you have to start discovery of services, then you get it immediately. It seems they opened an invalid conference transport, but gajim should ignore that.