[Reportbug-maint] Bug#606171: reportbug crashing on non-ascii characters

Manuel Pégourié-Gonnard mpg at elzevir.fr
Tue Dec 7 01:51:50 UTC 2010

Package: reportbug
Version: 4.12.6


I was trying to report a bug against munin-node, when:

> mpg at thue:~% reportbug -q --template -T none -s none -S normal -b --list-cc none -q munin-node
> *** Welcome to reportbug.  Use ? for help at prompts. ***
> Detected character set: UTF-8
> Please change your locale if this is incorrect.
> Using '"Manuel Pegourie-Gonnard" <mpg at elzevir.fr>' as your from address.
> Getting status for munin-node...
> Verifying package integrity...
> Will send report to Debian (per lsb_release).
> Maintainer for munin-node is 'Munin Debian Maintainers
> <munin-deb-maint at linpro.no>'.
> Looking up dependencies of munin-node...
> Getting changed configuration files...
> Traceback (most recent call last):
>   File "/usr/bin/reportbug", line 2098, in <module>
>     main()
>   File "/usr/bin/reportbug", line 1045, in main
>     return iface.user_interface()
>   File "/usr/bin/reportbug", line 1733, in user_interface
>     conftext = conftext + u'%s %s\n' % (f, confinfo[f])
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 32:
> ordinal
> not in range(128)

I'm using testing (squeeze), kernel 2.6.32-5-686, python 2.6.6-3+squeeze1 and
python-reportbug 4.12.6. My default locale is fr_FR.utf8.

I first thought the problem was due to non-ascii character in my user name, so I
tried to remove the accented characters from my name in ~/.reportbugrc, but to
no avail.

Thanks in advance,

More information about the Reportbug-maint mailing list