Ticket #2469 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

TB on startup with offline message

Reported by: dkirov Owned by: asterix
Priority: normal Milestone: 0.11
Component: notifications Version: hg
Severity: normal Keywords:
Cc: Blocked By:
OS: Blocking:

Description

  1. started gajim
  2. I had 1 message from Nikos sent offline
  3. clicked on notification for the message and got this:

Traceback (most recent call last):
  File "/home/kirov/Projects/gajim/trunk/src/common/xmpp/idlequeue.py", line 133, in process_events
    obj.pollin()
  File "/home/kirov/Projects/gajim/trunk/src/common/xmpp/transports_nb.py", line 144, in pollin
    self._do_receive()
  File "/home/kirov/Projects/gajim/trunk/src/common/xmpp/transports_nb.py", line 242, in _do_receive
    self.on_receive(received)
  File "/home/kirov/Projects/gajim/trunk/src/common/xmpp/dispatcher_nb.py", line 353, in dispatch
    handler['func'](session,stanza)
  File "/home/kirov/Projects/gajim/trunk/src/common/connection_handlers.py", line 1416, in _messageCB
    self.dispatch('MSG', (frm, msgtxt, tim, encrypted, mtype, subject,
  File "/home/kirov/Projects/gajim/trunk/src/common/connection.py", line 99, in dispatch
    self.put_event((event, data))
  File "/home/kirov/Projects/gajim/trunk/src/common/connection.py", line 95, in put_event
    gajim.handlers[ev[0]](self.name, ev[1])
  File "gajim.py", line 612, in handle_event_msg
    msg], advanced_notif_num)
  File "/home/kirov/Projects/gajim/trunk/src/notify.py", line 156, in notify
    advanced_notif_num, is_first_message):
  File "/home/kirov/Projects/gajim/trunk/src/common/helpers.py", line 764, in allow_showing_notification
    if type and gajim.config.get(type) and first:
NameError: global name 'first' is not defined

Attachments

Change History

Changed 3 years ago by asterix

there is no such line in latest svn

Changed 3 years ago by dkirov

  • status changed from new to closed

indeed

Add/Change #2469 (TB on startup with offline message)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
Next status will be 'needinfo'
 
Note: See TracTickets for help on using tickets.