I run an Ubuntu 9.04 32bit system. since version 8.10, i have not been able to edit my gnome menus. whenever i right click on the gnome panel and click on "Edit Menus", nothing comes up. running alacarte on the command line, i get this message
Traceback (most recent call last):
File "/usr/bin/alacarte", line 36, in <module>
main()
File "/usr/bin/alacarte", line 32, in main
app = MainWindow(datadir, version, sys.argv)
File "/usr/lib/python2.6/dist-packages/Alacarte/MainWindow.py", line 50, in __init__
self.editor = MenuEditor()
File "/usr/lib/python2.6/dist-packages/Alacarte/MenuEditor.py", line 35, in __init__
self.locale = locale.getdefaultlocale()[0]
File "/usr/lib/python2.6/locale.py", line 478, in getdefaultlocale
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: en_NG
The problem is here: unknown locale: en_NG
I checked with Google. and apparently this is a long standing issue effecting many packages. The documented workaround is to change from English (Nigeria) to English (United States) for the system language.