Opened 6 years ago

Closed 6 years ago

#5986 closed defect (fixed)

Error

Reported by: anonymous Owned by:
Priority: normal Milestone: 0.15
Component: None Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: OS: Unix

Description

Bug description

Traceback (most recent call last):

File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 528, in _process_events

return IdleQueue?._process_events(self, fd, flags)

File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 393, in _process_events

obj.pollin()

File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 414, in pollin

self._do_receive()

File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 600, in _do_receive

self._on_receive(received)

File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 614, in _on_receive

self.on_receive(data)

File "/usr/share/gajim/src/common/xmpp/dispatcher_nb.py", line 452, in dispatch

handlerfunc?(session, stanza)

File "/usr/share/gajim/src/common/connection_handlers.py", line 1408, in _messageCB

conn=self, stanza=msg, account=self.name))

File "/usr/share/gajim/src/common/nec.py", line 62, in push_incoming_event

self._generate_events_based_on_incoming_event(event_object)

File "/usr/share/gajim/src/common/nec.py", line 81, in _generate_events_based_on_incoming_event

gajim.ged.raise_event(new_event_object.name, new_event_object)

File "/usr/share/gajim/src/common/ged.py", line 70, in raise_event

if handler(*args, kwargs):

File "/usr/share/gajim/src/common/connection_handlers.py", line 1457, in _nec_message_received

self._on_message_decrypted(None, obj)

File "/usr/share/gajim/src/common/connection_handlers.py", line 1461, in _on_message_decrypted

conn=self, msg_obj=obj))

File "/usr/share/gajim/src/common/nec.py", line 61, in push_incoming_event

gajim.ged.raise_event(event_object.name, event_object)

File "/usr/share/gajim/src/common/ged.py", line 70, in raise_event

if handler(*args, kwargs):

File "/usr/share/gajim/src/common/connection_handlers.py", line 1475, in _nec_decrypted_message_received

if isinstance(session, gajim.default_session_type):

NameError?: global name 'session' is not defined

Steps to reproduce

Software versions = Gajim 0.14.0.1-e43486ac242e

OS version:Debian Sid
GTK version: 2.20.1
PyGTK version: 2.20.1

Change History (2)

comment:1 Changed 6 years ago by anonymous

Sorry, PyGTK version is 2.17.0

comment:2 Changed 6 years ago by Yann Leboulanger <asterix@…>

  • Milestone changed from 0.14.1 to 0.15
  • Resolution set to fixed
  • Status changed from new to closed

(In [965f66718640]) fix handling error messages. Fixes #5982, #5986

Note: See TracTickets for help on using tickets.