Package: reportbug Version: 7.10.3+deb11u1 Severity: normal Tags: l10n Dear Maintainer,
reportbug (console-version) raises an exception when called with the locale de_DE@euro : ---------8<------------------------------------------------------------ :~$ LANG=de_DE@euro reportbug UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 3: invalid continuation byte The above exception was the direct cause of the following exception: SystemError: <class 'UnicodeDecodeError'> returned a result with an error set The above exception was the direct cause of the following exception: SystemError: <class 'UnicodeDecodeError'> returned a result with an error set The above exception was the direct cause of the following exception: SystemError: <class 'UnicodeDecodeError'> returned a result with an error set The above exception was the direct cause of the following exception: SystemError: <class 'UnicodeDecodeError'> returned a result with an error set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/reportbug", line 44, in <module> from reportbug import utils File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 109, in <module> _apt_cache = apt.Cache() File "/usr/lib/python3/dist-packages/apt/cache.py", line 152, in __init__ self.open(progress) File "/usr/lib/python3/dist-packages/apt/cache.py", line 214, in open self._cache = apt_pkg.Cache(progress) SystemError: <class 'apt_pkg.Cache'> returned a result with an error set ---------8<------------------------------------------------------------ With the C-Locate, it works: ---------8<------------------------------------------------------------ :~$ LANG= reportbug Please enter the name of the package in which you have found a problem, or type 'other' to report a more general problem. If you don't know what package the bug is in, please contact debian-u...@lists.debian.org for assistance. > reportbug: exiting due to user interrupt. ---------8<------------------------------------------------------------ If the Program is intended not to work without an UTF-8-Locate, it should at least bail out with an error-message and not raise an exception. Greetings ... AMB ========================================== -- Package-specific info: ** Environment settings: INTERFACE="text" ** /home//.reportbugrc: reportbug_version "7.10.3+deb11u1" mode standard ui text realname "Adolf Markus Berthold" email "d...@berdisys.net" -- System Information: Debian Release: 11.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-9-amd64 (SMP w/4 CPU threads) Locale: LANG=, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages reportbug depends on: ii apt 2.2.4 ii python3 3.9.2-3 ii python3-reportbug 7.10.3+deb11u1 ii sensible-utils 0.0.14 reportbug recommends no packages. Versions of packages reportbug suggests: pn claws-mail <none> pn debconf-utils <none> pn debsums <none> pn dlocate <none> ii dma [mail-transport-agent] 0.13-1 pn emacs-bin-common <none> ii file 1:5.39-3 ii gnupg 2.2.27-2 pn python3-urwid <none> pn reportbug-gtk <none> ii xdg-utils 1.1.3-4.1 Versions of packages python3-reportbug depends on: ii apt 2.2.4 ii file 1:5.39-3 ii python3 3.9.2-3 ii python3-apt 2.2.1 ii python3-debian 0.1.39 ii python3-debianbts 3.1.0 ii python3-requests 2.25.1+dfsg-2 ii sensible-utils 0.0.14 python3-reportbug suggests no packages. -- no debconf information