<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Oops. You're right. <div><br></div><div>It does look like a problem I've also seen for Mac's that have been set to a non-English language. It also has to do with some hard coding and not quite right error traps in trying to determine how GRASS displays text. I tried to track this down a year ago and thought it had gone away. It is one of the reasons, I've included nls/gettext support in my binaries. </div><div><br></div><div>The Mac is pretty cavalier about setting the multiple environmental variables available in Unix for the language. I can't remember now for sure whether it is GRASS trying to set a default for an unset environmental variable or it is already in the variable from the Mac, but it gets set to an incorrect value. At the worst, GRASS should just ignore it and go ahead with English. But the Python code throws an error and shuts down the GUI instead. </div><div><br></div><div>I do NOT recommend installing a 3rd party Python. We've had lots of problems with this, and the association between wxPython and Python. Some of it may be improved because I (and William) now bundle wxPython with GRASS, but I would not do it unless there is a very good reason to do so.</div><div><div><br></div><div><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: 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; "><div>Michael Barton</div><div><br></div></span><br class="Apple-interchange-newline">

</div>
<br><div><div>On Dec 15, 2013, at 7:55 AM, Anna Petrášová <<a href="mailto:kratochanna@gmail.com">kratochanna@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Yann,<div><br></div><div>I don't think this problem relates to toolboxes. The error message is completely different. I would first suggest to install new Python version 2.7.6 [1] because there have been some problems and Python had to release new version. If this does not help, unfortunately I have no other idea.</div>

<div><br></div><div>Anna</div><div><br></div><div>[1] <a href="http://www.python.org/getit/">http://www.python.org/getit/</a><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 15, 2013 at 2:43 AM, Yann Chemin <span dir="ltr"><<a href="mailto:ychemin@gmail.com" target="_blank">ychemin@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Oh yes I remember some times back reading about it, apologies.<div>

<br></div></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On 15 December 2013 02:19, Michael Barton <span dir="ltr"><<a href="mailto:c.michael.barton@gmail.com" target="_blank">c.michael.barton@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="auto"><div>This is the bug I've been reporting for months now. It was introduced with the new tool box feature. There is a work around I can send you when I'm back at a computer. But it really needs to be found and fixed. Anna and I have tried to track it down without success yet.<br>


<br><div>Michael Barton</div><div><br></div>Sent from my iPhone...<div>(so please excuse any typos)</div></div><div><div><br>On Dec 14, 2013, at 5:51 AM, Yann Chemin <<a href="mailto:ychemin@gmail.com" target="_blank">ychemin@gmail.com</a>> wrote:<br>


<br></div><blockquote type="cite"><div dir="ltr">Hi,<div><br></div><div>I created a new user (also administrator) on a MacBook and started to follow Michael's steps to install version 7 Maverick</div><div><br></div>


<div>I get a strange error on install, the directory GRASS (inside is the application grass-7.0) is there but I do not have permission to open the directory in Finder (though I did install it). Going to the "main" user of the machine I could change the permissions, and also checked that GRASS7.0 runs well, all good there, no worries.</div>



<div><br></div><div>Going back to my user, I can go in the directory, and launch the application, ok. Then things go weird. It was working well in the "main" user but bugs in that new user... Both have admin level.</div>



<div><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Python 2.7.5 found.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">WELCOME TO GRASS 7.0.svn</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">   1) Have at your side all available GRASS GIS tutorials</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">   2) When working on your location, the following materials</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      are extremely useful:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      - A topographic map of your area</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      - Current catalog of available computer maps</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">   3) heck the GRASS GIS web pages for supporting mailing lists and more:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">      <a href="http://grass.osgeo.org/" target="_blank">http://grass.osgeo.org</a></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Hit RETURN to continue</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Starting GRASS GIS...</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Traceback (most recent call last):</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  File "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gis_set.py", line 37, in <module></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    from core.utils import _</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  File "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/core/utils.py", line 36, in <module></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    from core.gcmd  import RunCommand</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  File "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/core/gcmd.py", line 744, in <module></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    _enc = GetDefaultEncoding() # define as global variable</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  File "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/core/gcmd.py", line 737, in GetDefaultEncoding</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    enc = locale.getdefaultlocale()[1]</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 511, in getdefaultlocale</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    return _parse_localename(localename)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 443, in _parse_localename</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    raise ValueError, 'unknown locale: %s' % localename</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">ValueError: unknown locale: UTF-8</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Error in GUI startup. If necessary, please report this error to the GRASS developers.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Switching to text mode now.</div><div>  <br clear="all"><div><br></div>-- <br>----
</div></div>
</blockquote></div></div></blockquote></div><br><br clear="all"><div><br></div></div></div>-- <br>----
</div>
<br>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></body></html>