desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #19771
[Bug 630248] Re: software-center crashed with ValueError in _parse_localename()
** Tags added: testcase
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/630248
Title:
software-center crashed with ValueError in _parse_localename()
Status in “software-center” package in Ubuntu:
Fix Released
Status in “software-center” source package in Maverick:
Fix Released
Bug description:
Binary package hint: software-center
TEST CASE:
1. use maverick
2. set locale to something that the system does not know
3. verify that it crashes
4. install the version from maverick-proposed
5. verify that it works now
i am unable to open ubuntu software center (2.1.14.1) in maverick
when malayalam language is selected. iam getting the following error
in the terminal
Traceback (most recent call last):
File "/usr/bin/software-center", line 86, in <module>
app = SoftwareCenterApp(datadir, xapian_base_path, options, args)
File "/usr/share/software-center/softwarecenter/app.py", line 141, in __init__
self.history = get_apt_history()
File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 167, in get_apt_history
apt_history = AptHistory()
File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 76, in __init__
self.rescan()
File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 88, in rescan
self._scan(self.history_file)
File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 105, in _scan
trans = Transaction(stanza)
File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 53, in __init__
"%Y-%m-%d %H:%M:%S")
File "/usr/lib/python2.6/_strptime.py", line 270, in <module>
_TimeRE_cache = TimeRE()
File "/usr/lib/python2.6/_strptime.py", line 188, in __init__
self.locale_time = LocaleTime()
File "/usr/lib/python2.6/_strptime.py", line 70, in __init__
self.lang = _getlang()
File "/usr/lib/python2.6/_strptime.py", line 29, in _getlang
return locale.getlocale(locale.LC_TIME)
File "/usr/lib/python2.6/locale.py", line 497, in getlocale
return _parse_localename(localename)
File "/usr/lib/python2.6/locale.py", line 410, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: ml_IN
ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: software-center 2.1.14.1
ProcVersionSignature: Ubuntu 2.6.35-19.28-generic 2.6.35.3
Uname: Linux 2.6.35-19-generic x86_64
Architecture: amd64
Date: Sat Sep 4 14:45:21 2010
ExecutablePath: /usr/share/software-center/software-center
InterpreterPath: /usr/bin/python2.6
LiveMediaBuild: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
LANG=ml_IN
SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Title: software-center crashed with ValueError in _parse_localename()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/630248/+subscriptions