Page 1 of 1

"Language en does not exist" error uppon login

Posted: Sun Jan 06, 2013 7:19 am
by edkirin
Hi.

I was using Linux Mint 12 and yesterday I finally decided to install 14 64bit / MATE on my desktop. I did clean install with format (/home is on separate partition and it's intact).

After login, before desktop is shown, error dialog pops with message "Language en does not exist: using system default". After I confirm it, desktop is shown. Some strange errors appears later too:

Code: Select all

eden@sunce:~> gjhksdfjhkjdsh
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:

command-not-found version: 0.3
Python version: 3.2.3 final 0
Distributor ID:	LinuxMint
Description:	Linux Mint 14 Nadia
Release:	14
Codename:	nadia
Exception information:

unsupported locale setting
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 24, in crash_guard
    callback()
  File "/usr/lib/command-not-found", line 69, in main
    enable_i18n()
  File "/usr/lib/command-not-found", line 40, in enable_i18n
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.2/locale.py", line 541, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
When I try to run my favorite game:

Code: Select all

eden@sunce:~> bin/regnum/rolauncher 

(process:5624): Gdk-WARNING **: locale not supported by C library

(process:5624): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Segmentation fault
I tried to do this method http://forums.linuxmint.com/viewtopic.p ... lit=locale but the result is the same.

My /etc/default/locale:

Code: Select all

eden@sunce:~> cat /etc/default/locale
LANG="en_US.UTF-8"
Thank you in advance.

Re: "Language en does not exist" error uppon login

Posted: Sun Jan 06, 2013 7:27 am
by edkirin
After adding second line to /etc/default/locale things became somewhat better. I am able to run some programs which I wasn't able before, but the login error still persists.

Code: Select all

eden@sunce:~> cat /etc/default/locale 
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"

Re: "Language en does not exist" error uppon login

Posted: Sun Jan 06, 2013 7:32 am
by edkirin
Well, after setting the default language to English US in login window, error message disappears.

Strange.