"Language en does not exist" error uppon login

Questions about applications and software
Forum rules
Before you post please read this

"Language en does not exist" error uppon login

Postby edkirin on Sun Jan 06, 2013 7:19 am

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 viewtopic.php?f=42&t=111527&hilit=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.
edkirin
Level 1
Level 1
 
Posts: 12
Joined: Tue Dec 28, 2010 3:48 pm

Linux Mint is funded by ads and donations.
 

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

Postby edkirin on Sun Jan 06, 2013 7:27 am

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"
edkirin
Level 1
Level 1
 
Posts: 12
Joined: Tue Dec 28, 2010 3:48 pm

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

Postby edkirin on Sun Jan 06, 2013 7:32 am

Well, after setting the default language to English US in login window, error message disappears.

Strange.
edkirin
Level 1
Level 1
 
Posts: 12
Joined: Tue Dec 28, 2010 3:48 pm


Return to Software & Applications

Who is online

Users browsing this forum: Google Adsense [Bot], llogg and 20 guests