Bug#946326: python3-reportbug: reportbug runs bugscript in "C" locale
Package: python3-reportbug
Version: 7.5.3
Severity: normal
reportbug seems to run bugscript in "C" locale. In /usr/lib/python3/dist-
packages/reportbug/utils.py:
rc = runner('LC_ALL=C %s %s %s' % (handler, pipes.quote(bugscript),
pipes.quote(filename)))
It prevents the ibus bugscript from getting "locale" command result. For
example: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946201#5
I understand that running locale dependent bugscript can be often buggy and
confusing, but some bugscripts want the locale dependent behavior. I think
settings locale settings should be up to the individual bugscript authors.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.3.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ko_KR.UTF-8, LC_CTYPE=ko_KR.UTF-8 (charmap=UTF-8), LANGUAGE=ko_KR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-reportbug depends on:
ii apt 1.8.4
ii file 1:5.37-6
ii python3 3.7.5-3
ii python3-apt 1.8.4+b1
ii python3-debian 0.1.36
ii python3-debianbts 3.0.2
ii python3-requests 2.22.0-2
ii sensible-utils 0.0.12+nmu1
python3-reportbug recommends no packages.
Versions of packages python3-reportbug suggests:
ii reportbug 7.5.3
-- no debconf information
Reply to: