Package: reportbug-ng
Version: 0.2007.06.27
Severity: normal

--- Please enter the report below this line. ---
Hello,

reportbug-ng report following error in console:

Unhandled exception in thread started by <bound method 
MyMainWindow.loadBugreport of <ui.MyMainWindow.MyMainWindow object at 
0xb647cbec>>
Traceback (most recent call last):
  File "/usr/share/reportbug-ng/ui/MyMainWindow.py", line 267, in 
loadBugreport
    bug.fulltext = DebianBTS.getFullText(bugnr)
  File "/usr/share/reportbug-ng/lib/DebianBTS.py", line 130, in getFullText
    parser.feed(unicode(report.read(), "utf-8"))
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 37815-37817: 
invalid data


I think you can use unicode(report.read(), 'utf-8', 'replace') instead of the 
above one.

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.18-4-686

Debian Release: lenny/sid
   99 experimental    debian.ustc.edu.cn 
  500 unstable        debian.ustc.edu.cn 
  500 stable          www.getautomatix.com 
  500 feisty          debs.peadrop.com 

--- Package information. ---
Depends             (Version) | Installed
=============================-+-===========
python                        | 2.4.4-6
python-central     (>= 0.5.8) | 0.5.14
python-qt3                    | 3.16-1.2
python-soappy                 | 0.11.3-1.8


-- 
LI Daobing

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to