You are not logged in.
Pages: 1
I have been looking around for a solution to this, but nothing works for me.
I get the following error when trying to run pypanel:
user@arch> pypanel ~
Traceback (most recent call last):
File "/usr/bin/pypanel", line 948, in <module>
locale.setlocale(locale.LC_ALL, "")
File "/usr/lib/python2.7/locale.py", line 547, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
Here is the output of "locale"
[1] user@arch> locale ~
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en-US.UTF-8
LC_CTYPE=C
LC_NUMERIC=en-US.UTF-8
LC_TIME=en-US.UTF-8
LC_COLLATE=C
LC_MONETARY=en-US.UTF-8
LC_MESSAGES=C
LC_PAPER=en-US.UTF-8
LC_NAME=en-US.UTF-8
LC_ADDRESS=en-US.UTF-8
LC_TELEPHONE=en-US.UTF-8
LC_MEASUREMENT=en-US.UTF-8
LC_IDENTIFICATION=en-US.UTF-8
LC_ALL=
I have uncommented "en_US.UTF-8" in /etc/locale.gen and ran locale-gen. This is what it gave me (looks normal to me):
[1] user@arch> sudo locale-gen ~
Generating locales...
en_US.UTF-8
Generation complete.
Can anyone help?
Last edited by Wasmasjien (2014-01-03 10:25:09)
Offline
Somewhere you are setting the locale to something else than en_US.utf8, find it and fix it.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Somewhere you are setting the locale to something else than en_US.utf8, find it and fix it.
I followed the exact instructions for setting up locales like on the wiki. My /etc/locale.conf now only contains
LANG="en-US.UTF-8"
and my output of "locale" is now
user@arch> locale ~
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en-US.UTF-8
LC_CTYPE="en-US.UTF-8"
LC_NUMERIC="en-US.UTF-8"
LC_TIME="en-US.UTF-8"
LC_COLLATE="en-US.UTF-8"
LC_MONETARY="en-US.UTF-8"
LC_MESSAGES="en-US.UTF-8"
LC_PAPER="en-US.UTF-8"
LC_NAME="en-US.UTF-8"
LC_ADDRESS="en-US.UTF-8"
LC_TELEPHONE="en-US.UTF-8"
LC_MEASUREMENT="en-US.UTF-8"
LC_IDENTIFICATION="en-US.UTF-8"
LC_ALL=
Still the same error.
Last edited by Wasmasjien (2014-01-02 23:28:17)
Offline
Check .bashrc, settings in your de if you run one etc
Edit:
Uhm, en-US.UTF-8 is not valid, en_US.UTF-8 is. (or en_US.utf8 which is more correct)
Sorry I should have spotted it in the original post. (I blame the crappy phone screen!)
Last edited by Mr.Elendig (2014-01-03 00:21:18)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Check .bashrc, settings in your de if you run one etc
Edit:
Uhm, en-US.UTF-8 is not valid, en_US.UTF-8 is. (or en_US.utf8 which is more correct)
Sorry I should have spotted it in the original post. (I blame the crappy phone screen!)
I changed it to en_US.UTF-8 and everything works now (after a reboot). All this trouble for a typo...
Thanks a lot for your help!
Offline
Pages: 1