Opened 7 years ago

Closed 7 years ago

#4532 closed defect (fixed)

Traceback when connexion problem

Reported by: louizatakk Owned by:
Priority: normal Milestone: 0.12
Component: None Version: hg
Severity: normal Keywords:
Cc: Blocked By:
Blocking: OS: All

Description

Traceback (most recent call last):
  File "gajim.py", line 449, in _process_events
    return self.process_events(fd, flags)
  File "/usr/local/share/gajim/src/common/xmpp/idlequeue.py", line 132, in process_events
    obj.pollin()
  File "/usr/local/share/gajim/src/common/xmpp/transports_nb.py", line 350, in pollin
    self._do_receive()
  File "/usr/local/share/gajim/src/common/xmpp/transports_nb.py", line 500, in _do_receive
    self.on_receive(received)
  File "/usr/local/share/gajim/src/common/xmpp/dispatcher_nb.py", line 359, in dispatch
    handler['func'](session,stanza)
  File "/usr/local/share/gajim/src/common/connection_handlers.py", line 847, in _DiscoverInfoCB
    track, self.name)
  File "/usr/local/share/gajim/src/roster_window.py", line 1766, in music_track_changed
    pep.user_send_tune(account, artist, title, source)
  File "/usr/local/share/gajim/src/common/pep.py", line 523, in user_send_tune
    gajim.connections[account].send_pb_publish('', xmpp.NS_TUNE, item, '0')
  File "/usr/local/share/gajim/src/common/pubsub.py", line 68, in send_pb_publish
    self.connection.send(query)
AttributeError: 'NoneType' object has no attribute 'send'

I don't really know, it was after some connection/disconnection due to my network.

Change History (1)

comment:1 Changed 7 years ago by asterix

  • Resolution set to fixed
  • Status changed from new to closed

(In [21318d74175ab494deb01f66bc60d739e63de028]) prevent traceback when Connection fails. Fixes #4532

Note: See TracTickets for help on using tickets.