<div>Hi,</div><div><br></div>I did the return in a new Terminal window and<br>env | grep LANG<div><br></div><div><div>env | grep LC_<br><div>LC_CTYPE=UTF-8</div><div><br></div><div><span class="Apple-style-span" style="font-family:arial,sans-serif"><span class="hps">So how</span> <span class="hps">I can</span> <span class="hps">make the change?</span></span></div>
<div><span class="Apple-style-span" style="font-family:arial,sans-serif"><span class="hps"><br></span></span></div><div><font class="Apple-style-span" face="arial, sans-serif">Many thanks again,</font></div><div><br></div>
<div>Jose Guerrero</div><div><br></div><div><br><div class="gmail_quote">El 14 de diciembre de 2011 12:44, William Kyngesburye <span dir="ltr"><<a href="mailto:woklist@kyngchaos.com">woklist@kyngchaos.com</a>></span> escribió:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Maybe your shell language isn't set right? What do these return in a new Terminal window:<br>
<br>
env | grep LANG<br>
env | grep LC_<br>
<br>
OS X automatically sets LANG, but there are others that are checked first: LC_ALL and LC_CTYPE. Python is expecting them to be in the form:<br>
<br>
language.encoding<br>
<br>
ie, the default US english is "en_US.UTF-8".<br>
<br>
If any of those are just the encoding (the "UTF-8" in your error), then maybe you added something to your ~/.bash_profile to set them?<br>
<div><div class="h5"><br>
On Dec 14, 2011, at 8:14 AM, José Carlos Guerrero Antúnez wrote:<br>
<br>
> Hello again,<br>
><br>
> When I make double-click to open GRASS in the first terminal window show the following message,<br>
><br>
> '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit<br>
> Last login: Wed Dec 14 08:45:59 on console<br>
> torre-b-024:~ joseca_IMac$ '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit<br>
> Rebuilding Addon HTML manual pages index...<br>
> Rebuilding Addon menu...<br>
> Python 2.6.1 found.<br>
><br>
> WELCOME TO GRASS Version 6.4.1 2011<br>
><br>
> 1) Have at your side all available GRASS tutorials<br>
><br>
> 2) When working on your location, the following materials<br>
> are extremely useful:<br>
> - A topo map of your area<br>
> - Current catalog of available computer maps<br>
><br>
> 3) Check the GRASS webpages for feedback mailinglists and more:<br>
> <a href="http://www.grass-gis.org" target="_blank">http://www.grass-gis.org</a><br>
> <a href="http://grass.osgeo.org" target="_blank">http://grass.osgeo.org</a><br>
><br>
> Hit RETURN to continue<br>
><br>
> When I make RETURN, the message is "GRASS needs a directory in which to store its data. Create one now if you have not already done so. A popular choice is "grassdata", located in your home directory."<br>
><br>
> I do OK, and Choose a folder and then occurs as I mentioned in the previous mail.<br>
><br>
> This problem as I have working with an Imac10,1, Intel Core Duo, 3,06 GHz, RAM Memory 4 Gb. These The strangest thing for me I can do the program on another machine (MacBook Pro, ODX 10.6.8)<br>
><br>
> I did the installation and updated according to the procedure from Kyngchaos webpage. I have no doubt that there is some component that is in conflict but which?<br>
><br>
> Now, what can I do?<br>
><br>
> Many thanks for your help<br>
><br>
><br>
><br>
> 2011/12/10 Ralf Schäfer <<a href="mailto:senator@ecotoxicology.de">senator@ecotoxicology.de</a>><br>
> Dear Jose,<br>
><br>
> when did your problem occur? After installation/updating or haphazardly?<br>
><br>
> I had a similar problem with the Python GUI but after I updated all frameworks it worked fine. In case you use the GRASS version from Kyngchaos can you update the GDAL complete framework, free type and cairo and report whether the error still occurs?<br>
><br>
> Regards<br>
> Ralf<br>
><br>
><br>
><br>
> Am 10.12.2011 um 05:20 schrieb <a href="mailto:grass-user-request@lists.osgeo.org">grass-user-request@lists.osgeo.org</a>:<br>
><br>
>> Message: 3<br>
>><br>
>> Date: Fri, 9 Dec 2011 17:04:12 -0200<br>
>> From: Jos? Carlos Guerrero Ant?nez <<a href="mailto:jcgantunez@gmail.com">jcgantunez@gmail.com</a>><br>
>> Subject: [GRASS-user] Problems with grass for OSX<br>
>> To: <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
>> Message-ID:<br>
>> <<a href="mailto:CAEO28jeO%2BPyOtLMWNn8bGnY3S6c-zAxWRwL2L97Y4iryJUMY0A@mail.gmail.com">CAEO28jeO+PyOtLMWNn8bGnY3S6c-zAxWRwL2L97Y4iryJUMY0A@mail.gmail.com</a>><br>
>> Content-Type: text/plain; charset="iso-8859-1"<br>
>><br>
>> Hi,<br>
>><br>
>> I can not boot properly grass and this is the message that appears in Terminal<br>
>> window.<br>
>><br>
>> OSX 10.6.8<br>
>><br>
>> Thanks in advance,<br>
>><br>
>><br>
>> torre-b-024:~ joseca_IMac$<br>
>> '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit<br>
>> Rebuilding Addon HTML manual pages index...<br>
>> Rebuilding Addon menu...<br>
>> Python 2.6.1 found.<br>
>><br>
>> WELCOME TO GRASS Version 6.4.1 2011<br>
>><br>
>> 1) Have at your side all available GRASS tutorials<br>
>><br>
>> 2) When working on your location, the following materials<br>
>> are extremely useful:<br>
>> - A topo map of your area<br>
>> - Current catalog of available computer maps<br>
>><br>
>> 3) Check the GRASS webpages for feedback mailinglists and more:<br>
>> <a href="http://www.grass-gis.org" target="_blank">http://www.grass-gis.org</a><br>
>> <a href="http://grass.osgeo.org" target="_blank">http://grass.osgeo.org</a><br>
>><br>
>> Hit RETURN to continue<br>
>><br>
>> Starting GRASS ...<br>
>> Traceback (most recent call last):<br>
>> File<br>
>> "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line<br>
>> 641, in OnSelectLocation<br>
>> self.listOfLocations[self.lblocations.GetSelection()]))<br>
>> File<br>
>> "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line<br>
>> 590, in UpdateMapsets<br>
>> self.listOfMapsets = utils.GetListOfMapsets(self.gisdbase, location)<br>
>> File<br>
>> "/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py",<br>
>> line 629, in GetListOfMapsets<br>
>> File<br>
>> "/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py",<br>
>> line 651, in EncodeString<br>
>> File<br>
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py",<br>
>> line 459, in getdefaultlocale<br>
>> return _parse_localename(localename)<br>
>> File<br>
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py",<br>
>> line 391, in _parse_localename<br>
>> raise ValueError, 'unknown locale: %s' % localename<br>
>> ValueError: unknown locale: UTF-8<br>
>> Traceback (most recent call last):<br>
>> File<br>
>> "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line<br>
>> 858, in <module><br>
>> GRASSStartUp = StartUp(0)<br>
>> File<br>
>> "/Users/Shared/unix/wxpython-snow/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py",<br>
>> line 7981, in __init__<br>
>> File<br>
>> "/Users/Shared/unix/wxpython-snow/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py",<br>
>> line 7555, in _BootstrapApp<br>
>> File<br>
>> "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line<br>
>> 843, in OnInit<br>
>> StartUp.OnBrowse(None)<br>
>> File<br>
>> "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line<br>
>> 703, in OnBrowse<br>
>> self.OnSetDatabase(event)<br>
>> File<br>
>> "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line<br>
>> 692, in OnSetDatabase<br>
>> self.OnSelectLocation(None)<br>
>> File<br>
>> "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line<br>
>> 641, in OnSelectLocation<br>
>> self.listOfLocations[self.lblocations.GetSelection()]))<br>
>> File<br>
>> "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line<br>
>> 590, in UpdateMapsets<br>
>> self.listOfMapsets = utils.GetListOfMapsets(self.gisdbase, location)<br>
>> File<br>
>> "/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py",<br>
>> line 629, in GetListOfMapsets<br>
>> File<br>
>> "/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py",<br>
>> line 651, in EncodeString<br>
>> File<br>
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py",<br>
>> line 459, in getdefaultlocale<br>
>> return _parse_localename(localename)<br>
>> File<br>
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py",<br>
>> line 391, in _parse_localename<br>
>> raise ValueError, 'unknown locale: %s' % localename<br>
>> ValueError: unknown locale: UTF-8<br>
>> Error in GUI startup. If necessary, please<br>
>> report this error to the GRASS developers.<br>
>> Switching to text mode now.<br>
>> Hit RETURN to continue...<br>
>><br>
>><br>
>><br>
>> --<br>
>> ################################################################<br>
>> Dr. José Carlos Guerrero<br>
>> Laboratorio de Desarrollo Sustentable y Gestión Ambiental del Territorio<br>
>> (LDSGAT)<br>
>> Instituto de Ecología y Ciencias Ambientales (IECA)<br>
>> Facultad de Ciencias<br>
>> Universidad de la República<br>
>> Montevideo-URUGUAY<br>
>> ################################################################<br>
><br>
><br>
><br>
><br>
> --<br>
> ################################################################<br>
> Dr. José Carlos Guerrero<br>
> Laboratorio de Desarrollo Sustentable y Gestión Ambiental del Territorio (LDSGAT)<br>
> Instituto de Ecología y Ciencias Ambientales (IECA)<br>
> Facultad de Ciencias<br>
> Universidad de la República<br>
> Montevideo-URUGUAY<br>
> ################################################################<br>
><br>
</div></div>> _______________________________________________<br>
> grass-user mailing list<br>
> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
<br>
-----<br>
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com><br>
<a href="http://www.kyngchaos.com/" target="_blank">http://www.kyngchaos.com/</a><br>
<br>
Earth: "Mostly harmless"<br>
<br>
- revised entry in the HitchHiker's Guide to the Galaxy<br>
<br>
<br>
</blockquote></div><br>
</div></div></div>