<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello and thank you for the help.<div>I have an English system and checking with env I had correctly LC_CTYPE=UTF-8.</div><div>Terminal preferences was correctly set.</div><div><br><div>Adding&nbsp;export LC_ALL=en_US.UTF-8 did solve the problem.</div><div><br></div><div>Thank you<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="Apple-interchange-newline"><br></div><div>-----</div><div>Julian</div><div><br></div><div><a href="http://bradypus.net">http://bradypus.net</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></div></span></span>
</div>
<br><div><div>On 27 Mar 2012, at 15:16 , William Kyngesburye wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I forgot to add a bash_profile example:<br><br>export LC_ALL=en_US.UTF-8<br><br>substitute your language code for en_US.<br><br>On Mar 27, 2012, at 8:11 AM, William Kyngesburye wrote:<br><br><blockquote type="cite">Hmm, this is becoming quite an issue on non-English systems, I don't know why it started. &nbsp;Python expects the locale to be in the form language.encoding. &nbsp;ie english is "en_US.UTF-8".<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Normally the option in the Terminal to set this automatically takes care of this in the LANG variable, but Python checks LC_CTYPE and LC_ALL first and somehow one of those is getting set on non-english systems.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The fix is to set LC_ALL in your ~/.bash_profile like LANG is set for your language (turn on the "Set locale env variables on startup" option in the advanced Settings in Terminal Preferences, then check "env" in a Terminal).<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Note: the Adobe Unit Types error is harmless noise, you just have a very old Photoshop installed.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Mar 27, 2012, at 2:55 AM, jbogdani wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Hello,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I've a problem with GRASS on Snow Leopard. I've used successfully GRASS in<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">the past, but it does not start in the GUI mode anymore. I can use it throw<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">QGIS anyway.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Here is the error it produces on stratup:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">2012-03-27 09:52:23.326 osascript[534:903] Error loading<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Types: &nbsp;dlopen(/Library/ScriptingAdditions/Adobe Unit<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Did find:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Types: no matching architecture in universal wrapper<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">osascript: OpenScripting.framework - scripting addition<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">"/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">handlers.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Python 2.6.1 found.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">And then, after hitting RETURN:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Traceback (most recent call last):<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py",<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">line 894, in &lt;module&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;GRASSStartUp = StartUp(0)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">File<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">"/Users/Shared/unix/wxpython-snow/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py",<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">line 7981, in __init__<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">File<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">"/Users/Shared/unix/wxpython-snow/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py",<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">line 7555, in _BootstrapApp<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py",<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">line 865, in OnInit<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;StartUp = GRASSStartup()<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py",<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">line 57, in __init__<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;self.grassrc &nbsp;= self._readGisRC()<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py",<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">line 393, in _readGisRC<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;grassrc[key.strip()] = utils.DecodeString(val.strip())<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">File<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">"/Users/Shared/src/GRASS/grass-6.4.2-snow/dist.i386-apple-darwin11.3.0/etc/wxpython/gui_modules/utils.py",<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">line 667, in DecodeString<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">File<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py",<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">line 459, in getdefaultlocale<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;return _parse_localename(localename)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">File<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py",<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">line 391, in _parse_localename<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;raise ValueError, 'unknown locale: %s' % localename<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">ValueError: unknown locale: UTF-8<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Error in GUI startup. If necessary, please<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">report this error to the GRASS developers.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Switching to text mode now.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Hit RETURN to continue...<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">After this I can use GRASS only from terminal....<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Any help?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">--<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/Grass-GUI-does-not-start-anymore-in-MacOs-tp4659784p4659784.html">http://osgeo-org.1560.n6.nabble.com/Grass-GUI-does-not-start-anymore-in-MacOs-tp4659784p4659784.html</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Sent from the Grass - Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">grass-user mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-----<br></blockquote><blockquote type="cite">William Kyngesburye &lt;kyngchaos*at*kyngchaos*dot*com&gt;<br></blockquote><blockquote type="cite"><a href="http://www.kyngchaos.com/">http://www.kyngchaos.com/</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">"Those people who most want to rule people are, ipso-facto, those least suited to do it."<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">- A rule of the universe, from the HitchHiker's Guide to the Galaxy<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br>-----<br>William Kyngesburye &lt;kyngchaos*at*kyngchaos*dot*com&gt;<br><a href="http://www.kyngchaos.com/">http://www.kyngchaos.com/</a><br><br>"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."<br><br>- Hitchhiker's Guide to the Galaxy<br><br><br></div></blockquote></div><br></div></div></body></html>