[Reportbug-maint] Bug#852129: reportbug: Dependency lookup aborts reportbug if LANG is unset

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Sat Jan 21 19:45:04 UTC 2017


Package: reportbug
Version: 7.1.3
Severity: important

Dear Maintainer,

subject has it all, so just a (trimmed) log:

| $ LANG= reportbug reportbug
| Warning: no reportbug configuration found.  Proceeding in novice mode.
| Detected character set: us-ascii
| (...)
| 219 bug reports found:
| (...)
| (3-24/219) Is the bug you found listed above [y|N|b|m|r|q|s|f|e|?]? s
| Maintainer for reportbug is 'Reportbug Maintainers <reportbug-maint at lists.alioth.debian.org>'.
| Looking up dependencies of reportbug...
| Traceback (most recent call last):
|   File "/usr/bin/reportbug", line 2234, in <module>
|     main()
|   File "/usr/bin/reportbug", line 1107, in main
|     return iface.user_interface()
|   File "/usr/bin/reportbug", line 1776, in user_interface
|     utils.get_dependency_info(package, recommends, "recommends") +
|   File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 657, in get_dependency_info
|     for info in get_package_info(dependencies):
|   File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 592, in get_package_info
|     for p in packinfo:
|   File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 469, in __next__
|     line = self.fp.readline()
|   File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
|     return codecs.ascii_decode(input, self.errors)[0]
| UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 6602: ordinal not in range(128)

This happens when reporting bugs aginst other packages as well.

It would bother me little if reportbug refuses to start in such a
situation. But aborting during operation is mildly annoying.

    Christoph

-- Package-specific info:
** Environment settings:
DEBEMAIL="debian.axhn at manchmal.in-ulm.de"
DEBFULLNAME="Christoph Biedl"

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.4 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages reportbug depends on:
ii  apt                1.4~beta4
ii  python3-reportbug  7.1.3
pn  python3:any        <none>

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                               <none>
pn  debconf-utils                            <none>
pn  debsums                                  <none>
pn  dlocate                                  <none>
pn  emacs23-bin-common | emacs24-bin-common  <none>
ii  file                                     1:5.29-2
pn  gir1.2-gtk-3.0                           <none>
pn  gir1.2-vte-2.91                          <none>
ii  gnupg                                    2.1.17-6
pn  postfix | exim4 | mail-transport-agent   <none>
pn  python3-gi                               <none>
pn  python3-gtkspellcheck                    <none>
pn  python3-urwid                            <none>
pn  xdg-utils                                <none>

Versions of packages python3-reportbug depends on:
ii  apt                1.4~beta4
ii  file               1:5.29-2
ii  python3-debian     0.1.29
ii  python3-debianbts  2.6.1
ii  python3-requests   2.12.4-1
pn  python3:any        <none>

python3-reportbug suggests no packages.

-- no debconf information

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20170121/45728cd8/attachment.sig>


More information about the Reportbug-maint mailing list