IndexError when Bonjour message sending fails
When sending a message to a Bonjour-detected link-local client running on a computer with a weird firewall, I get the following message. The firewall would let Bonjour presence out, but not in, and would reject connections to port 5298.
Traceback (most recent call last):
File "gajim.py", line 2844, in process_connections
gajim.idlequeue.process()
File "gajim.py", line 437, in process
self.check_time_events()
File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 80, in check_time_events
self.queue[fd].read_timeout()
File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 408, in read_timeout
_('Connection to host could not be established: Timeout while sending data.'), None, None])
File "/usr/share/gajim/src/common/zeroconf/connection_zeroconf.py", line 139, in dispatch
gajim.handlers[event](self.name, data)
File "gajim.py", line 921, in handle_event_msgerror
array[5].roster_message(jid, msg, array[4], msg_type='error')
IndexError: list index out of range