fixed 631923 0.14.3-1

On 06/28/2011 11:46 AM, Nicolas Chauvat wrote:
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.

It's already fixed in 0.14.3, so wait some days that it comes to testing.

--
Yann



--
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