You are not logged in.

#1 2008-05-09 23:04:15

snafle
Member
Registered: 2008-04-08
Posts: 41

[Solved] locale.Error in ccsm

I had this problem, and couldn't find anything extremely obvious on the forum so thought I'd post my solution.
CCSM was erroring, complaining about unsuported locale setting. I had already run locale-gen and generated my locales.
The problem was that LC_ALL was not set (that will learn me to analyse the error messages as well). I set it to my language, en_GB with the command

export LC_ALL="en_GB"

and CCSM worked. However, it died with the same error when I ran it in a different terminal. Ran "locale" in both terminals, and lo and behold the settings where different.

So that meant I must have got something wrong in my rc.conf- and I had. I'd written "en_GB.tar.gz" instead of "en_GB". A simple (and obvious) mistake, but one that got pretty annoying for a short time. So if you're having this problem, and locale-gen doesn't help, check your rc.conf for typos.

I hope someone else finds this useful.

Offline

Board footer

Powered by FluxBB