ubuntu-bug does not recognize lzh_TW locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
While trying to upload the .crash file for bug 1730554, using command:
$ ubuntu-bug /var/crash/
The tool crashes with unknown locale error:
ERROR: hook /usr/share/
Traceback (most recent call last):
File "/usr/lib/
symb[
File "/usr/share/
if gtk_like and apport.
File "/usr/lib/
orig_ctime = locale.
File "/usr/lib/
return _parse_
File "/usr/lib/
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: lzh_TW
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: apport 2.20.4-0ubuntu4.5
ProcVersionSign
Uname: Linux 4.10.0-38-generic x86_64
ApportLog:
ERROR: apport (pid 28299) Tue Nov 7 11:12:04 2017: called for pid 2068, signal 11, core limit 0
ERROR: apport (pid 28299) Tue Nov 7 11:12:04 2017: executable: /usr/bin/
ERROR: apport (pid 28299) Tue Nov 7 11:12:05 2017: debug: session gdbus call: (true,)
ERROR: apport (pid 28299) Tue Nov 7 11:13:15 2017: wrote report /var/crash/
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CrashReports:
600:111:
640:1000:
640:1000:
644:1000:
CurrentDesktop: GNOME
Date: Tue Nov 7 18:36:00 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-07-12 (117 days ago)
InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitec
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
As a workaround please try:
env LANG=C ubuntu-bug /var/crash/ _usr_bin_ gnome-shell. 1000.crash