NameError: global name 'show_notif' is not defined
Bug description
Gajim starts but produces an error again and again. Contact list is either empty or shows offline contacts that should not be listed.
Traceback (most recent call last):
File "/home/klausi/gajim/src/common/xmpp/idlequeue.py", line 528, in _process_events
return IdleQueue._process_events(self, fd, flags)
File "/home/klausi/gajim/src/common/xmpp/idlequeue.py", line 393, in _process_events
obj.pollin()
File "/home/klausi/gajim/src/common/xmpp/transports_nb.py", line 414, in pollin
self._do_receive()
File "/home/klausi/gajim/src/common/xmpp/transports_nb.py", line 600, in _do_receive
self._on_receive(received)
File "/home/klausi/gajim/src/common/xmpp/transports_nb.py", line 614, in _on_receive
self.on_receive(data)
File "/home/klausi/gajim/src/common/xmpp/dispatcher_nb.py", line 452, in dispatch
handler['func'](session, stanza)
File "/home/klausi/gajim/src/common/connection_handlers.py", line 1746, in _presenceCB
conn=self, iq_obj=prs))
File "/home/klausi/gajim/src/common/nec.py", line 62, in push_incoming_event
self._generate_events_based_on_incoming_event(event_object)
File "/home/klausi/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 "/home/klausi/gajim/src/common/ged.py", line 70, in raise_event
if handler(*args, **kwargs):
File "/home/klausi/gajim/src/gui_interface.py", line 343, in handle_event_presence
if show_notif:
NameError: global name 'show_notif' is not defined
Steps to reproduce
Start Gajim.
Software versions
OS version: Ubuntu 10.04