<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><br></div><div><div><div>On May 11, 2011, at 4:04 AM, Severino Salmo wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font: inherit;">Dear GRASS users,<div><br></div><div>I still can't run GRASS in my Mac OSX 10.6.7. I noticed two things: </div><div><br></div><div><div>ln: /Users/sgsalmo2011/Library/Documentation/Help/GRASS-6.4: No such file or directory</div></div><div>ValueError: unknown locale: UTF-8</div><div><br></div><div>I think there are errors in GUI. Any assistance will be greatly appreciated. Thank you very much.</div><div><br></div><div>Sev</div><div><br></div><div>Please find below the complete error message:</div><div><br></div><div><div>Last login: Wed May 11 15:54:24 on ttys000</div><div>'/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit</div><div>Severino-III-Salmos-MacBook-Pro:~ sgsalmo2011$ '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit</div><div>Rebuilding Addon HTML manual pages index...</div><div>ln:
/Users/sgsalmo2011/Library/Documentation/Help/GRASS-6.4: No such file or directory</div><div>Rebuilding Addon menu...</div><div>Python 2.6.1 found.</div><div><br></div><div>WELCOME TO GRASS Version 6.4.1 2011</div><div><br></div><div> 1) Have at your side all available GRASS tutorials</div><div><br></div><div> 2) When working on your location, the following materials</div><div> are extremely useful:</div><div> - A topo map of your area</div><div> - Current catalog of available computer maps</div><div><br></div><div> 3) Check the GRASS webpages for feedback mailinglists and more:</div><div> <a href="http://www.grass-gis.org">http://www.grass-gis.org</a></div><div> <a href="http://grass.osgeo.org">http://grass.osgeo.org</a></div><div><br></div><div>Hit RETURN to
continue</div><div><br></div><div>Starting GRASS ...</div><div>Traceback (most recent call last):</div><div> File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line 641, in OnSelectLocation</div><div> self.listOfLocations[self.lblocations.GetSelection()]))</div><div> File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line 590, in UpdateMapsets</div><div> self.listOfMapsets = utils.GetListOfMapsets(self.gisdbase, location)</div><div> File "/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py", line 629, in GetListOfMapsets</div><div> File "/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py", line 651, in EncodeString</div><div> File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py",
line 459, in getdefaultlocale</div><div> File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py", line 391, in _parse_localename</div><div>ValueError: unknown locale: UTF-8</div><div>Traceback (most recent call last):</div><div> File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line 703, in OnBrowse</div><div> self.OnSetDatabase(event)</div><div> File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line 692, in OnSetDatabase</div><div> self.OnSelectLocation(None)</div><div> File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line 641, in OnSelectLocation</div><div> self.listOfLocations[self.lblocations.GetSelection()]))</div><div> File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line 590, in
UpdateMapsets</div><div> self.listOfMapsets = utils.GetListOfMapsets(self.gisdbase, location)</div><div> File "/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py", line 629, in GetListOfMapsets</div><div> File "/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py", line 651, in EncodeString</div><div> File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py", line 459, in getdefaultlocale</div><div> File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py", line 391, in _parse_localename</div><div>ValueError: unknown locale: UTF-8</div><div><br></div></div></td></tr></tbody></table>_______________________________________________<br>grass-user mailing list<br><a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/grass-user<br></blockquote></div><br></div></div><div>I'm no expert on this kind of thing but it seems there's a <locale> problem?<div><br><div>What do you get from :</div><div><br></div><div>> echo $LC_ALL</div><div><br></div><div>I get </div><div><br></div><div>> en_US.UTF-8</div><div><br></div><div>If that's not what you see, maybe try setting the locale by:</div></div></div><div><br></div><div>> LC_ALL=en_US.UTF-8</div><div><br></div><div> and then start GRASS again.</div><div><br></div><div>Also,</div><div><br></div><div>> echo $LANG</div><div><br></div><div>on my set-up gives</div><div><br></div><div>> en_US.UTF-8</div><div><br></div><div>Not sure if the GUI is language sensitive, but it's something else to try</div><div><br></div><div>> LAN=en_US.UTF-8</div><div><br></div><div>hth</div><div><br></div><div>Stu</div></body></html>