Package: gajim
Version: 0.14.2-1~bpo60+1
Severity: normal

When trying to display the history of a conference room I get part of
the text, then it stops when encountering the exception:

Traceback (most recent call last):
  File "/usr/share/gajim/src/history_window.py", line 331, in 
on_calendar_day_selected
      self._add_lines_for_date(year, month, day)
  File "/usr/share/gajim/src/history_window.py", line 390, in 
_add_lines_for_date
      line[5])
  File "/usr/share/gajim/src/history_window.py", line 486, in _add_new_line
      self.history_textview.print_real_text(message, name=contact_name)
  File "/usr/share/gajim/src/conversation_textview.py", line 1382, in 
print_real_text
      self.detect_and_print_special_text(text, text_tags, graphics=graphics)
  File "/usr/share/gajim/src/conversation_textview.py", line 1025, in 
detect_and_print_special_text
      self.print_special_text(special_text, other_tags, graphics=graphics)
  File "/usr/share/gajim/src/conversation_textview.py", line 1081, in 
print_special_text
      text_is_valid_uri and not is_xhtml_link:
UnboundLocalError: local variable 'is_xhtml_link' referenced before assignment

Reading the code shows that is_xhtml_link is defined only when _tags is not
empty, but I did not try to go further and fix this.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=, LC_CTYPE= (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gajim depends on:
ii  dnsutils         1:9.7.3.dfsg-1~squeeze2 Clients provided with BIND
ii  python           2.6.6-3+squeeze6        interactive high-level object-orie
ii  python-gtk2      2.17.0-4                Python bindings for the GTK+ widge

Versions of packages gajim recommends:
ii  dbus                   1.2.24-4+squeeze1 simple interprocess messaging syst
ii  notification-daemon    0.5.0-2           daemon to displays passive pop-up 
ii  python-crypto          2.1.0-2           cryptographic algorithms and proto
ii  python-dbus            0.83.1-1          simple interprocess messaging syst
ii  python-gnupginterface  0.3.2-9.1         Python interface to GnuPG (GPG)
ii  python-openssl         0.10-1            Python wrapper around the OpenSSL 

Versions of packages gajim suggests:
pn  aspell-en              <none>            (no description available)
ii  avahi-daemon           0.6.27-2+squeeze1 Avahi mDNS/DNS-SD daemon
ii  dvipng                 1.13-1            convert DVI files to PNG graphics
ii  gnome-keyring          2.30.3-5          GNOME keyring services (daemon and
ii  gstreamer0.10-plugins- 0.10.15-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.1-6+squeeze1  network management framework daemo
pn  python-avahi           <none>            (no description available)
ii  python-farsight        0.0.20-2          Audio/Video communications framewo
ii  python-gconf           2.28.1-1          Python bindings for the GConf conf
ii  python-gnome2          2.28.1-1          Python bindings for the GNOME desk
pn  python-gnomekeyring    <none>            (no description available)
ii  python-kerberos        1.1+svn4895-1+b1  A GSSAPI interface module for Pyth
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 debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to