Al 11/04/12 15:48, En/na William Kyngesburye ha escrit:
I've been seing this a lot - the problem is that Python itself expects a locale
to be in the form:
language.encoding
For some reason on some Mac systems, LC_CTYPE is getting set to just the
language. Python checks LC_CTYPE before LANG (there is a Terminal that
automatically sets LANG). So in your ~/.bash_profile you need to add:
export LC_CTYPE=es_AR.UTF-8
So many thanks William!
Best regards,
Lluís
On Apr 11, 2012, at 4:37 AM, Lluís Vicens wrote:
Al 11/04/12 11:22, En/na Markus Neteler ha escrit:
2012/4/11 Lluís Vicens<[email protected]>:
Hi,
I have a student that wants to run GRASS 6.4.2 on a mac OS and he is
experimenting the following error: when he tries to start grass creating a
new locations/mapset, it appears an error message:
pythonw2 error
Cannot set locale to 'es_AR'
I'm a linux user so i'm not familiar with some (probably) 'typical' problems
on mac. Any hint/help will be welcome.
Thanks in advance!
Besides the fix done by Martin, if you could live with es_ES locale,
then use:
export LANG=es_ES
export LANGUAGE=es_ES
export LC_MESSAGES=es_ES
Best
Markus
A lot of thanks Markus and Martin for your help! I will let him know this
options for fixing this error.
Best regards,
Lluís
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user
-----
William Kyngesburye<kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
All generalizations are dangerous, even this one.
--
Lluís Vicens
SIGTE - Universitat de Girona
Pl. Ferrater Mora, 1
17071 Girona
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user