[Bug 1730639] [NEW] ubuntu-bug does not recognize lzh_TW locale
Po-Hsu Lin
po-hsu.lin at canonical.com
Tue Nov 7 10:39:04 UTC 2017
Public bug reported:
While trying to upload the .crash file for bug 1730554, using command:
$ ubuntu-bug /var/crash/_usr_bin_gnome-shell.1000.crash
The tool crashes with unknown locale error:
ERROR: hook /usr/share/apport/general-hooks/generic.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 198, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/general-hooks/generic.py", line 48, in add_info
if gtk_like and apport.hookutils.in_session_of_problem(report):
File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 882, in in_session_of_problem
orig_ctime = locale.getlocale(locale.LC_TIME)
File "/usr/lib/python3.5/locale.py", line 577, in getlocale
return _parse_localename(localename)
File "/usr/lib/python3.5/locale.py", line 486, in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: lzh_TW
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: apport 2.20.4-0ubuntu4.5
ProcVersionSignature: Ubuntu 4.10.0-38.42-generic 4.10.17
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/gnome-shell (command line "/usr/bin/gnome-shell")
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/_usr_bin_gnome-shell.1000.crash
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CrashReports:
600:111:119:0:2017-11-07 18:35:26.974509633 +0800:2017-11-07 18:33:17.310366228 +0800:/var/crash/_usr_bin_gnome-shell.1000.uploaded
640:1000:119:42648617:2017-11-07 18:35:08.738488435 +0800:2017-11-07 18:35:13.822493362 +0800:/var/crash/_usr_bin_gnome-shell.1000.crash
640:1000:119:58131:2017-11-07 18:36:03.870557135 +0800:2017-11-07 18:36:03.870557135 +0800:/var/crash/_usr_share_apport_apport-gtk.1000.crash
644:1000:119:0:2017-11-07 18:35:24.294506287 +0800:2017-11-07 18:35:24.294506287 +0800:/var/crash/_usr_bin_gnome-shell.1000.upload
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)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: apport (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug zesty
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1730639
Title:
ubuntu-bug does not recognize lzh_TW locale
Status in apport package in Ubuntu:
New
Bug description:
While trying to upload the .crash file for bug 1730554, using command:
$ ubuntu-bug /var/crash/_usr_bin_gnome-shell.1000.crash
The tool crashes with unknown locale error:
ERROR: hook /usr/share/apport/general-hooks/generic.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 198, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/general-hooks/generic.py", line 48, in add_info
if gtk_like and apport.hookutils.in_session_of_problem(report):
File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 882, in in_session_of_problem
orig_ctime = locale.getlocale(locale.LC_TIME)
File "/usr/lib/python3.5/locale.py", line 577, in getlocale
return _parse_localename(localename)
File "/usr/lib/python3.5/locale.py", line 486, in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: lzh_TW
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: apport 2.20.4-0ubuntu4.5
ProcVersionSignature: Ubuntu 4.10.0-38.42-generic 4.10.17
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/gnome-shell (command line "/usr/bin/gnome-shell")
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/_usr_bin_gnome-shell.1000.crash
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CrashReports:
600:111:119:0:2017-11-07 18:35:26.974509633 +0800:2017-11-07 18:33:17.310366228 +0800:/var/crash/_usr_bin_gnome-shell.1000.uploaded
640:1000:119:42648617:2017-11-07 18:35:08.738488435 +0800:2017-11-07 18:35:13.822493362 +0800:/var/crash/_usr_bin_gnome-shell.1000.crash
640:1000:119:58131:2017-11-07 18:36:03.870557135 +0800:2017-11-07 18:36:03.870557135 +0800:/var/crash/_usr_share_apport_apport-gtk.1000.crash
644:1000:119:0:2017-11-07 18:35:24.294506287 +0800:2017-11-07 18:35:24.294506287 +0800:/var/crash/_usr_bin_gnome-shell.1000.upload
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)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1730639/+subscriptions
More information about the foundations-bugs
mailing list