[Reportbug-maint] Bug#638429: reportbug: Reportbug crashes on "decoding Unicode is not supported" when doing a follow-up

Vincent Bernat bernat at debian.org
Fri Aug 19 09:13:28 UTC 2011

Package: reportbug
Version: 6.1
Severity: normal


Here is a simple reportbug session:

$ reportbug -N 637067
*** Welcome to reportbug.  Use ? for help at prompts. ***
Note: bug reports are publicly archived (including the email address of the submitter).
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'Vincent Bernat <bernat at debian.org>' as your from address.
Retrieving report #637067 from Debian bug tracking system...
What do you want to do now? [N|x|o|r|b|e|q|?]? x
Getting status for notification-daemon...
Checking for newer versions at packages.debian.org, incoming.debian.org and http://ftp-master.debian.org/new.html
Will send report to Debian (per lsb_release).
Maintainer for notification-daemon is 'Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>'.
Looking up dependencies of notification-daemon...

Please provide a subject for your response.
[Re: crashes on receiving notification]> 
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2167, in <module>
  File "/usr/bin/reportbug", line 1071, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1827, in user_interface
    'Please provide a subject for your response.', default="Re: %s" % reporttitle, force_prompt=True)
  File "/usr/lib/pymodules/python2.6/reportbug/ui/text_ui.py", line 258, in get_string
    response = unicode(response, charset, 'replace')
TypeError: decoding Unicode is not supported

$ echo $LANG
$ locale charmap


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

** /home/bernat/.reportbugrc:
reportbug_version "3.39"
mode advanced
ui text
email "bernat at debian.org"

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

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

Versions of packages reportbug depends on:
ii  apt                    Advanced front-end for dpkg
ii  python                        2.6.7-3    interactive high-level object-orie
ii  python-reportbug              6.1        Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  debconf-utils                1.5.41      debconf utilities
pn  debsums                      <none>      (no description available)
pn  dlocate                      <none>      (no description available)
ii  emacs23-bin-common           23.3+1-1    The GNU Emacs editor's shared, arc
ii  file                         5.04-5+b1   Determines file type using "magic"
ii  gnupg                        1.4.11-3    GNU privacy guard - a free PGP rep
ii  postfix [mail-transport-agen 2.8.3-1     High-performance mail transport ag
ii  python-gtk2                  2.24.0-2    Python bindings for the GTK+ widge
pn  python-gtkspell              <none>      (no description available)
pn  python-urwid                 <none>      (no description available)
ii  python-vte                   1:0.28.1-2  Python bindings for the VTE widget
ii  xdg-utils                    1.1.0~rc1-2 desktop integration utilities from

-- no debconf information

More information about the Reportbug-maint mailing list