sleduc / weechat-xmpp

A fork of the jabber plugin for weechat
21 stars 14 forks source link

Stacktrace during disconnect / reconnect #13

Open FedericoCeratto opened 6 years ago

FedericoCeratto commented 6 years ago

The following traceback was generated:

python: stdout/stderr: Traceback (most recent call last):
python: stdout/stderr:   File "/usr/share/weechat/python/jabber.py", line 1952, in jabber_fd_cb
python: stdout/stderr:     server.recv()
python: stdout/stderr:   File "/usr/share/weechat/python/jabber.py", line 686, in recv
python: stdout/stderr:     self.client.Process(1)
python: stdout/stderr:   File "/usr/lib/python2.7/dist-packages/xmpp/dispatcher.py", line 303, in dispatch
python: stdout/stderr:     handler['func'](session,stanza)
python: stdout/stderr:   File "/usr/share/weechat/python/jabber.py", line 679, in message_handler
python: stdout/stderr:     recv_object.recv_muc_message(buddy, resource.encode("utf-8"), body.encode("utf-8"))
python: stdout/stderr: UnboundLocalError: local variable 'resource' referenced before assignment
python: error in function "jabber_fd_cb"