<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi.<div><br></div><div>I'm on the Apple Beta Program and the new upgrade to OSX 10.11 El Capitan just broke g.gui.</div><div><br></div><div>This is the error message from version 6.4.4:</div><div><br></div><div>







<p><span>> g.gui</span></p>
<p><span>Launching 'wxpython' GUI in the background, please wait ...</span></p>
<p><span>Traceback (most recent call last):</span></p>
<p><span>  File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py", line 27, in <module></span></p>
<p><span>    from core import globalvar</span></p>
<p><span>  File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/core/globalvar.py", line 74, in <module></span></p>
<p><span>    import wx</span></p>
<p><span>  File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/__init__.py", line 45, in <module></span></p>
<p><span>    from wx._core import *</span></p>
<p><span>  File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py", line 4, in <module></span></p>
<p><span>    import _core_</span></p>
<p><span>ImportError: dlopen(/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core_.so, 2): Library not loaded: /Users/Shared/unix/wxpython-cocoa-lion/lib/libwx_osx_cocoau-3.0.dylib</span></p>
<p><span>  Referenced from: /Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core_.so</span></p>
<p><span>  Reason: image not found</span></p><p><span><br></span></p><p><span><br></span></p><p><span>The library that was not founded is available but not in the specified path:</span></p><p><span><br></span></p><p><span>> locate libwx_osx_cocoau-3.0.dylib</span></p><p><span>/Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.dylib</span></p><p><span>/Applications/QGIS.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.dylib</span></p><p><span>/usr/local/lib/wxPython-3.0.2.0/lib/libwx_osx_cocoau-3.0.dylib</span></p><p><span>











</span></p><p><span><br></span></p><p><span>One question O think of is: if GRASS ships the wx libraries, why reference the system one at </span>/Users/Shared/unix/...? </p><p><span><br></span></p><p><span>With GRASS 7.0, libgrass_gis is the one not being loaded, and in the end, not even in text mode it will start:</span></p><p><span><br></span></p><p><span>$ /Applications/GRASS-7.0.app/Contents/MacOS/grass.sh </span></p><p><span>Rebuilding Addon HTML manual pages index...</span></p><p><span>Rebuilding Addon menu...</span></p><p><span>Python 2.7.6 found.</span></p><p><span>Cleaning up temporary files...</span></p><p><span>Starting GRASS GIS...</span></p><p><span>dyld: Library not loaded: /Applications/GRASS/GRASS-7.0.app/Contents/MacOS/lib/libgrass_gis.7.0.0.dylib</span></p><p><span>  Referenced from: /Applications/GRASS-7.0.app/Contents/MacOS/bin/g.gisenv</span></p><p><span>  Reason: image not found</span></p><p><span>Traceback (most recent call last):</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/gis_set.py", line 31, in <module></span></p><p><span>    from core import globalvar</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/globalvar.py", line 29, in <module></span></p><p><span>    from core.debug import Debug</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py", line 66, in <module></span></p><p><span>    Debug = DebugMsg()</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py", line 37, in __init__</span></p><p><span>    self.SetLevel()</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py", line 42, in SetLevel</span></p><p><span>    self.debuglevel = int(grass.gisenv().get('WX_DEBUG', 0))</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 902, in gisenv</span></p><p><span>    s = read_command("g.gisenv", flags='n')</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 424, in read_command</span></p><p><span>    process = pipe_command(*args, **kwargs)</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 399, in pipe_command</span></p><p><span>    return start_command(*args, **kwargs)</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 354, in start_command</span></p><p><span>    if debug_level() > 0:</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 1485, in debug_level</span></p><p><span>    _debug_level = int(gisenv().get('DEBUG', 0))</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 902, in gisenv</span></p><p><span>    s = read_command("g.gisenv", flags='n')</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 427, in read_command</span></p><p><span>    return handle_errors(returncode, stdout, args, kwargs)</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 310, in handle_errors</span></p><p><span>    returncode=returncode)</span></p><p><span>grass.exceptions.CalledModuleError: Module run None ['g.gisenv', '-n'] ended with error</span></p><p><span>Process ended with non-zero return code -5. See errors in the (error) output.</span></p><p><span>Error in GUI startup. If necessary, please report this error to the GRASS developers.</span></p><p><span>Switching to text mode now.</span></p><p>Hit RETURN to continue...<br><span></span></p><p><span>Traceback (most recent call last):</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 1422, in <module></span></p><p><span>    set_data()</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 670, in set_data</span></p><p><span>    gui_startup(grass_gui == 'gtext')</span></p><p><span>  File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 692, in gui_startup</span></p><p><span>    os.execlp(cmd_name, "-text")</span></p><p><span>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 327, in execlp</span></p><p><span>    execvp(file, args)</span></p><p><span>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 344, in execvp</span></p><p><span>    _execvpe(file, args)</span></p><p><span>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 380, in _execvpe</span></p><p><span>    func(fullname, *argrest)</span></p><p><span>




















</span></p><p><span>OSError: [Errno 2] No such file or directory</span></p><p><span><br></span></p>Maybe later today i'll try to compile G7.</div><div><br></div><div>best</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Carlos</div><div><br></div><div><br></div></font></span></div></div>-- <br><div class="gmail_signature"><div dir="ltr">Prof. Carlos Henrique Grohmann<br>Institute of Energy and Environment - Univ. of São Paulo, Brazil<div>- Digital Terrain Analysis | GIS | Remote Sensing - </div><div><br></div><div><a href="http://carlosgrohmann.com/" target="_blank">http://carlosgrohmann.com</a></div><div><a href="http://orcid.org/0000-0001-5073-5572" style="font-size:13px;color:rgb(17,85,204);font-family:arial,sans-serif;background-color:rgb(255,255,255)" target="_blank">http://orcid.org/0000-0001-5073-5572</a><br><div>________________<br>Can’t stop the signal.</div></div></div></div>
</div>