system-config-printer crashes on an unrecognised locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
system-config-printer (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
During installation of Hardy, I selected my location as Lagos/Nigeria. It appears that this resulted in my system locale being set to en_NG. There's nothing wrong with this, but I noticed that many system tools fail to launch unless I change my locale to a more recognised one (example en_UK).
system-
Traceback (most recent call last):
File "/usr/share/
main(
File "/usr/share/
mainwindow = GUI(start_printer, change_ppd)
File "/usr/share/
self.language = locale.
File "/usr/lib/
return _parse_
File "/usr/lib/
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: en_NG
Related branches
Changed in ubiquity (Ubuntu): | |
status: | New → Incomplete |
This is a very trivial patch to fix the problem in system- config- printer. It just prints an error message and then continues as usual.
But maybe this should be fixed at a system level as well?