[GRASS-user] wxpython error in mac OS (Cannot set locale to 'es_AR')

Markus Neteler neteler at osgeo.org
Wed Apr 11 12:14:50 EDT 2012


2012/4/11 Lluís Vicens <lluis at sigte.udg.es>:
> 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

Please note that es_AR is not (yet) supported, "only" es_ES.UTF-8.
For a list, see:

http://grass.osgeo.org/devel/i18n.php#statistics

Markus


More information about the grass-user mailing list