Package: python-debianbts
Version: 1.4
Severity: normal

Hello,
debianbts module should be more resitent to situations like:

In [1]: import debianbts as bts

In [2]: bl = bts.get_bug_log(582010)
---------------------------------------------------------------------------
UnicodeDecodeError                        Traceback (most recent call last)

/home/morph/deb/python-modules/numpy/<ipython console> in <module>()

/usr/lib/pymodules/python2.6/debianbts.pyc in get_bug_log(nr)
    160     for b in buglog:
    161         b["header"] = unicode(b["header"])
--> 162         b["body"] = unicode(b["body"])
    163         b["msg_num"] = int(b["msg_num"])
    164         b["attachments"] = b["attachments"]._aslist()

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 289: 
ordinal not in range(128)

Regards,
Sandro

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-debianbts depends on:
ii  python                        2.6.5-5    An interactive high-level object-o
ii  python-soappy                 0.12.0-4   SOAP Support for Python
ii  python-support                1.0.8      automated rebuilding support for P

python-debianbts recommends no packages.

python-debianbts suggests no packages.

-- no debconf information



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

Reply via email to