[Reportbug-maint] Bug#666116: reportbug: Exception when using french characters in name (like "=?UTF-8?Q?=C3=A9?=")

Jérémie BURTIN jeremie at jeremieburtin.fr
Wed Mar 28 20:01:29 UTC 2012

Package: reportbug
Version: 6.3.1
Severity: important

When asked for the real name during the first launch of reportbug, if I enter
"Jérémie", I get the following python Traceback :

Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2199, in <module>
  File "/usr/bin/reportbug", line 1077, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1193, in user_interface
  File "/usr/bin/reportbug", line 573, in offer_configuration
    realname = realname.decode(charset, 'replace')
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128)

The terminal is configured with en_GB.UTF-8. (Same configuration on an other
computer does not raise this error). 

When editing the .reportbugrc file, it seems ok.

-- Package-specific info:
** Environment settings:

** /home/jeremie/.reportbugrc:
reportbug_version "6.3.1"
mode novice
ui text
realname "Jérémie BURTIN"
email "jeremie at jeremieburtin.fr"

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt     
ii  python            2.7.2-10
ii  python-reportbug  6.3.1

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utils                            <none>
pn  debsums                                  <none>
pn  dlocate                                  <none>
pn  emacs22-bin-common | emacs23-bin-common  <none>
pn  file                                     5.10-1
pn  gnupg                                    1.4.12-4
pn  postfix [mail-transport-agent]           2.8.7-1
pn  python-gtk2                              <none>
pn  python-gtkspell                          <none>
pn  python-urwid                             <none>
pn  python-vte                               <none>
pn  xdg-utils                                <none>

Versions of packages python-reportbug depends on:
ii  apt     
ii  python            2.7.2-10
ii  python-debian     0.1.21
ii  python-debianbts  1.10
ii  python-support    1.0.14

python-reportbug suggests no packages.

-- no debconf information

More information about the Reportbug-maint mailing list