gajim to catch connection timeouts and not traceback after that in connection related stuff
DEBUG: socket sent <iq from="nkour@jabber.lagaule.org/Gajim" type="get" id="5"><vCard xmlns="vcard-temp" /></iq> Invalid debugflag given always Invalid debugflag given nodebuilder DEBUG: DEBUG: Debug created for /home/nk/gajim/src/common/xmpp/client.py DEBUG: flags defined: always nodebuilder DEBUG: socket start Plugging <common.xmpp.transports.TCPsocket instance at 0xb464d1ec> into <common.xmpp.client.Client instance at 0xb464d08c> Traceback (most recent call last): File "/home/nk/gajim/src/roster_window.py", line 830, in on_status_combobox_changed self.send_status(acct, status, message) File "/home/nk/gajim/src/roster_window.py", line 783, in send_status gajim.connections[account].change_status(status, txt) File "/home/nk/gajim/src/common/connection.py", line 605, in change_status self.connection = self.connect() File "/home/nk/gajim/src/common/connection.py", line 529, in connect con.RegisterHandler('message', self._messageCB) AttributeError: Client instance has no attribute 'RegisterHandler' DEBUG: socket sent <iq to="jabber.lagaule.org" type="get" id="6" from="nkour@jabber.lagaule.org/Gajim"><query xmlns="jabber:iq:last" /></iq> Traceback (most recent call last): File "./gajim.py", line 632, in process_connections gajim.connections[account].process(0.01) File "/home/nk/gajim/src/common/connection.py", line 923, in process self.connection.Process(timeout) File "/home/nk/gajim/src/common/xmpp/dispatcher.py", line 107, in Process self.disconnected() AttributeError: Dispatcher instance has no attribute 'disconnected'
it tracebacks cause I decided to say: "go offline" but it never connected so it fails
it's because we don't catch the Timeout Psi says:
[X] There was an error communicating with the jabber server Details: Connection Error: Unable to connect to server
This message is good but to be better (Gajim) should say with 'jabber.org' jabber server [it should mention which account timetoued]
I make this for 0.7 cause it's important that we don't fail on timeout [the most common thing in jabber.org :P :P]