[Reportbug-maint] Bug#612712: reportbug can't handle unicode character

Csaba GAAL 2csgaal at gmail.com
Sat Feb 4 21:43:18 UTC 2012


Package: reportbug
Version: 6.3.1
Followup-For: Bug #612712

Dear Sirs,

first of all thank You for this effective and yet still
easy to use tool which will help me report a bug in
linux-image-3.1.0-1-amd. One which adversely affect the
performance of (LSI) 3ware RAID adapter using the 3w-9xxx module.

At the first run of reportbug it has prompted: "What real name
should be used for sending bug reports?", supplying name with non
ASCI character resulted:

Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2199, in <module>
    main()
  File "/usr/bin/reportbug", line 1077, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1193, in user_interface
    offer_configuration(self.options)
  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'\xc1' in position 8: ordinal not in range(128)

As one can see supplying the name with only ASCII character enabled the
reporting of this bug (and the waiting of a half an hour or so which is
required booting the system using the kernel in the linux-image-3.1.0-1-amd64
package will make possible the reporting of the bug for which this very
package installed).


I thank You in anticipation for your efforts enhancing this otherwise
magnificent tool.


Yours truly,

Csaba GAAL




-- Package-specific info:
** Environment settings:
INTERFACE="text"

** /home/bejelentofelhasznalo/.reportbugrc:
reportbug_version "6.3.1"
mode standard
ui text
realname "Csaba GAAL"
email "2csgaal at gmail.com"
no-cc
header "X-Debbugs-CC: 2csgaal at gmail.com"
smtphost reportbug.debian.org

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

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=hu_HU.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt               0.8.15.9
ii  python            2.7.2-9
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  exim4                                      4.77-1
pn  exim4-daemon-light [mail-transport-agent]  4.77-1+b1
pn  file                                       5.09-2
pn  gnupg                                      1.4.11-3
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.8.15.9
ii  python            2.7.2-9
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