[Reportbug-maint] Bug#769013: Reportbug, UnicodeDecodeError: 'ascii' codec can't decode byte

Yves Caniou yves.caniou at ens-lyon.fr
Mon Nov 10 18:30:42 UTC 2014

Package: reportbug
Version: 6.4.4+deb7u1

Description: while trying to send a bugreport concerning ssmtp, I passed the stages where I was invited to check if the error was already reported, then reportbug ended with the following error

Looking up dependencies of ssmtp...
Getting changed configuration files...
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2206, in <module>
  File "/usr/bin/reportbug", line 1080, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1819, 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)

Architecture is 3.4.103-g9a1cd03 #1 SMP PREEMPT Sun Nov 2 18:38:54 CET 2014 armv7l GNU/Linux
$ dpkg -s libc6 | grep ^Version
Version: 2.19-12

Note that I could use reportbug not interactively:
$ reportbug -q --template -T none -s none -S normal -b --list-cc none -q reportbug
*** 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 'Yves Caniou <yves.caniou at ens-lyon.fr>' as your from address.
Getting status for reportbug...
Will send report to Debian (per lsb_release).
Maintainer for reportbug is 'Reportbug Maintainers <reportbug-maint at lists.alioth.debian.org>'.
Looking up dependencies of reportbug...
Getting status for related package python-reportbug...
Looking up 'depends' of related package python-reportbug...
Looking up 'suggests' of related package python-reportbug...
Getting changed configuration files...

Rewriting subject to 'reportbug: none'
Gathering additional data, this may take a while...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Yves Caniou <yves.caniou at ens-lyon.fr>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: reportbug: none
X-Debbugs-Cc: none

Package: reportbug
Version: 6.4.4+deb7u1
Severity: normal

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these lines ***

-- Package-specific info:
** /home/ycaniou/.reportbugrc:
reportbug_version "6.4.4"
mode standard
ui text
email "yves.caniou at ens-lyon.fr"
smtphost "smtp.ens-lyon.fr"
smtpuser "ycaniou"

-- System Information:
Debian Release: 7.7
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 3.4.103-g9a1cd03 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt     
ii  python            2.7.3-4+deb7u1
ii  python-reportbug  6.4.4+deb7u1

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  file                                     5.11-2+deb7u5
ii  gnupg                                    1.4.12-7+deb7u6
pn  python-gtk2                              <none>
pn  python-gtkspell                          <none>
pn  python-urwid                             <none>
pn  python-vte                               <none>
ii  ssmtp [mail-transport-agent]             2.64-8
pn  xdg-utils                                <none>

Versions of packages python-reportbug depends on:
ii  apt     
ii  python            2.7.3-4+deb7u1
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

If you want to provide additional information, please wait to receive the bug tracking number via email; you may then send any extra information
to n at bugs.debian.org (e.g. 999999 at bugs.debian.org), where n is the bug number. Normally you will receive an acknowledgement via email including
the bug report number within an hour; if you haven't received a confirmation, then the bug reporting process failed at some point (reportbug or
MTA failure, BTS maintenance, etc.).

More information about the Reportbug-maint mailing list