Package: gajim
Version: 0.14.3-1
Severity: important
Tags: upstream

Since version 0.14.3-1 has been installed, gajim fails to process
offline messages when roster is closed.

Steps to reproduce:

1) Ask a contact with an associated gpg key to send you a message
whenever you become offline
2) Make sure the roster window is closed
3) Quit gajim
4) Start gajim

Then you should have an error and the backtrace is:

Traceback (most recent call last):
  File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 533, in 
_process_events
    return IdleQueue._process_events(self, fd, flags)
  File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 394, 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
    handler['func'](session, stanza)
  File "/usr/share/gajim/src/common/connection_handlers.py", line 1619, in 
_messageCB
    jid, invite, tim)
  File "/usr/share/gajim/src/common/connection_handlers.py", line 1632, in 
_on_message_decrypted
    session.received(frm, msgtxt, tim, encrypted, msg)
  File "/usr/share/gajim/src/session.py", line 190, in received
    self.control.handle_incoming_chatstate()
  File "/usr/share/gajim/src/chat_control.py", line 2556, in 
handle_incoming_chatstate
    self.parent_win.redraw_tab(self, self.contact.chatstate)
  File "/usr/share/gajim/src/message_window.py", line 592, in redraw_tab
    hbox = self.notebook.get_tab_label(ctrl.widget).get_children()[0]
AttributeError: 'NoneType' object has no attribute 'get_children'

I believe this bug is triggered by the change brought by commit
13028:6663ff0619db in mercurial upstream repository since this commit
made PENDING_READ events being processed before IS_CLOSED events.

Let me know if you need more informations.

Best regards.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable-updates'), (500, 'testing'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gajim depends on:
ii  dnsutils               1:9.7.3.dfsg-1+b1 Clients provided with BIND
ii  python                 2.6.6-14          interactive high-level object-orie
ii  python-gtk2            2.24.0-2          Python bindings for the GTK+ widge

Versions of packages gajim recommends:
ii  dbus                          1.4.12-2   simple interprocess messaging syst
ii  notification-daemon           0.5.0-3    daemon to displays passive pop-up 
ii  plasma-widgets-workspace [not 4:4.6.4-1  plasma widgets and containments fo
ii  python-crypto                 2.3-2      cryptographic algorithms and proto
ii  python-dbus                   0.84.0-1   simple interprocess messaging syst
ii  python-gnupginterface         0.3.2-9.1  Python interface to GnuPG (GPG)
ii  python-openssl                0.12-1     Python wrapper around the OpenSSL 

Versions of packages gajim suggests:
pn  aspell-en                     <none>     (no description available)
ii  avahi-daemon                  0.6.30-3   Avahi mDNS/DNS-SD daemon
ii  dvipng                        1.13-1     convert DVI files to PNG graphics
pn  gnome-keyring                 <none>     (no description available)
ii  gstreamer0.10-plugins-ugly    0.10.18-1  GStreamer plugins from the "ugly" 
ii  libgtkspell0                  2.0.16-1   a spell-checking addon for GTK's T
pn  nautilus-sendto               <none>     (no description available)
ii  network-manager               0.8.4.0-2  network management framework (daem
ii  python-avahi                  0.6.30-3   Python utility package for Avahi
pn  python-farsight               <none>     (no description available)
pn  python-gconf                  <none>     (no description available)
pn  python-gnome2                 <none>     (no description available)
pn  python-gnomekeyring           <none>     (no description available)
pn  python-kerberos               <none>     (no description available)
pn  python-sexy                   <none>     (no description available)
ii  texlive-latex-base            2009-11    TeX Live: Basic LaTeX packages

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to