ValueError: unknown locale: en_NG
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python2.6 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: software-center
Hi
When I try to run Ubuntu Software Center from the application menu, I get the timer for a while and then nothing.
Ubuntu 9.10
software-center:
Installed: 1.0.2
Candidate: 1.0.2
Version table:
*** 1.0.2 0
500 http://
100 /var/lib/
kennacurl@
Is there a work around for me in the meantime? Can I change my locale? - if so how?
From the command line I get:
kennacurl@
Traceback (most recent call last):
File "/usr/bin/
app = SoftwareCenterA
File "/usr/share/
self.icons, datadir)
File "/usr/share/
SoftwarePan
File "/usr/share/
self.datadir)
File "/usr/share/
self.
File "/usr/lib/
self._locale = "%s.%s" % locale.
File "/usr/lib/
return _parse_
File "/usr/lib/
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: en_NG
kennacurl@
This Bug is a shame. This issue was first reported on hardy heron when it caused many problems for people who select Nigeria as their location, Things like printer- config- settings, alacarte, and even problems with 3rd party applications like Elisa etc. The main cause of this error is due to the locale set during Ubuntu
installation (Nigeria, en_NG). A fix to this problem is adding
'en_ng': 'en_GB.ISO8859-1',
'en_ng.iso88591': 'en_GB.ISO8859-1',
to usr/lib/ python2. 6/locale. py
Please someone fix this problem already. Has it stands as long as this problem persist. No body in Nigeria would be able to use software center ( or any other tool affected by this issue)