[Reportbug-maint] Bug#612712: Non-ASCII chars still crash reportbug 6.4.4 in Wheezy
Matthias Buecher / Germany
maddes at maddes.net
Sat Jun 22 17:31:37 UTC 2013
Package: reportbug
Version: 6.4.4
Severity: important
Dear Maintainer,
German umlauts, french accents and more cause this when configuring
reportbug the first time.
To reproduce move your ~/.reportbugrc aside, e.g. `mv .reportbugrc
.reportbugrc_old`
#1 German umlauts
root at debian7:~# reportbug
Welcome to reportbug! Since it looks like this is the first time you
have used reportbug, we are configuring its
behavior. These settings will be saved to the file "/root/.reportbugrc",
which you will be free to edit further.
Please choose the default operating mode for reportbug.
1 novice Offer simple prompts, bypassing technical questions.
2 standard Offer more extensive prompts, including asking about things
that a moderately sophisticated user would
be expected to know about Debian.
3 advanced Like standard, but assumes you know a bit more about Debian,
including "incoming".
4 expert Bypass most handholding measures and preliminary triage
routines. This mode should not be used by
people unfamiliar with Debian's policies and operating
procedures.
Select mode: [novice] 2
Will reportbug often have direct Internet access? (You should answer yes
to this question unless you know what you
are doing and plan to check whether duplicate reports have been filed
via some other channel.) [Y|n|q|?]? n
What real name should be used for sending bug reports?
[root]> Matthias Bücher
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2206, in <module>
main()
File "/usr/bin/reportbug", line 1080, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1196, in user_interface
offer_configuration(self.options)
File "/usr/bin/reportbug", line 576, 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'\xfc' in
position 10: ordinal not in range(128)
#
root at debian7:~# reportbug
Welcome to reportbug! Since it looks like this is the first time you
have used reportbug, we are configuring its
behavior. These settings will be saved to the file "/root/.reportbugrc",
which you will be free to edit further.
Please choose the default operating mode for reportbug.
1 novice Offer simple prompts, bypassing technical questions.
2 standard Offer more extensive prompts, including asking about things
that a moderately sophisticated user would
be expected to know about Debian.
3 advanced Like standard, but assumes you know a bit more about Debian,
including "incoming".
4 expert Bypass most handholding measures and preliminary triage
routines. This mode should not be used by
people unfamiliar with Debian's policies and operating
procedures.
Select mode: [novice] 2
Will reportbug often have direct Internet access? (You should answer yes
to this question unless you know what you
are doing and plan to check whether duplicate reports have been filed
via some other channel.) [Y|n|q|?]? n
What real name should be used for sending bug reports?
[root]> Rène
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2206, in <module>
main()
File "/usr/bin/reportbug", line 1080, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1196, in user_interface
offer_configuration(self.options)
File "/usr/bin/reportbug", line 576, 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'\xe8' in
position 1: ordinal not in range(128)
-- Package-specific info:
** Environment settings:
EDITOR="nano"
INTERFACE="text"
** /root/.reportbugrc:
reportbug_version "6.4.4"
mode standard
ui text
realname "Matthias Buecher"
email "mail at maddes.net"
no-check-uid
no-cc
header "X-Debbugs-CC: mail at maddes.net"
smtphost reportbug.debian.org
-- System Information:
Debian Release: 7.0
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages reportbug depends on:
ii apt 0.9.7.8
ii python 2.7.3-4
ii python-reportbug 6.4.4
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
pn debconf-utils <none>
pn debsums <none>
pn dlocate <none>
pn emacs22-bin-common | emacs23-bin-common <none>
ii exim4 4.80-7
ii exim4-daemon-light [mail-transport-agent] 4.80-7
ii file 5.11-2
ii gnupg 1.4.12-7
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 0.9.7.8
ii python 2.7.3-4
ii python-debian 0.1.21
ii python-debianbts 1.11
ii python-support 1.0.15
python-reportbug suggests no packages.
-- no debconf information
More information about the Reportbug-maint
mailing list