You are not logged in.
Pages: 1
I first noticed this when I tried a trial run of pypanel; it crashed outright and was pleasant enough to inform me about my locale issues:
[meta@brokephilos ~]$ pypanel &
[1] 2878
[meta@brokephilos ~]$ Traceback (most recent call last):
File "/usr/bin/pypanel", line 948, in ?
locale.setlocale(locale.LC_ALL, "")
File "/usr/lib/python2.4/locale.py", line 381, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
[1]+ Exit 1 pypanel
So I checked out locale by running locale, and here's the output of that:
[meta@brokephilos ~]$ 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.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE=C
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
[meta@brokephilos ~]$
Any suggestions? I'm new to Arch, but as far as I can tell my /etc/rc.conf
and /etc/locale.gen files appear to be perfectly usable. Thanks much.
Offline
Hello first of all, and welcome to Arch!
I installed PyPanel python-xlib and imlib now and gave it a shot if the packages are working at all - they do.
Check the following (if possible)
LOCALE in /etc/rc.conf set to en_US.utf8
LOCALE="en_US.utf8"
Does
stat /usr/share/i18n/locales/en_US
exists in your filesystem?
If it does, you might have something else selected for your locale which isn't available.
To verify your setting type
locale -a
You might want to |grep en_US.utf8, or the value selected in you LOCALE="" in the /etc/rc.conf (the step before)
You also can use
printenv | egrep '(LC_*|LANG)'
Verify the locale you actually selected is available in the list.
If your locale-archive is broken you may want to run
localedef -i en_US -c -f UTF-8 en_US.UTF-8
Maybe you also just forgot to run locale-gen after editing /etc/locale.gen
locale-gen
I'm currenlty using de_AT.utf8, but i don't think the locale file itself is damaged, or that it's missing in your filesystem. Rather a configuration error.
// STi
Ability is nothing without opportunity.
Offline
Any suggestions? I'm new to Arch, but as far as I can tell my /etc/rc.conf
and /etc/locale.gen files appear to be perfectly usable. Thanks much.
Did you run locale-gen after changing /etc/locale.gen?
to live is to die
Offline
@ STiAT
Thank you, worked like a charm..!!
Offline
I just forgot to run locale-gen after I edited /etc/locale.gen. Silly me. :oops:
Offline
Pages: 1