<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 class=""><span class="">> g.gui</span></p>
<p class=""><span class="">Launching 'wxpython' GUI in the background, please wait ...</span></p>
<p class=""><span class="">Traceback (most recent call last):</span></p>
<p class=""><span class=""> File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py", line 27, in <module></span></p>
<p class=""><span class=""> from core import globalvar</span></p>
<p class=""><span class=""> File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/core/globalvar.py", line 74, in <module></span></p>
<p class=""><span class=""> import wx</span></p>
<p class=""><span class=""> File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/__init__.py", line 45, in <module></span></p>
<p class=""><span class=""> from wx._core import *</span></p>
<p class=""><span class=""> File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py", line 4, in <module></span></p>
<p class=""><span class=""> import _core_</span></p>
<p class=""><span class="">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 class=""><span class=""> Referenced from: /Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core_.so</span></p>
<p class=""><span class=""> Reason: image not found</span></p><p class=""><span class=""><br></span></p><p class=""><span class=""><br></span></p><p class=""><span class="">The library that was not founded is available but not in the specified path:</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">> locate libwx_osx_cocoau-3.0.dylib</span></p><p class=""><span class="">/Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.dylib</span></p><p class=""><span class="">/Applications/QGIS.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.dylib</span></p><p class=""><span class="">/usr/local/lib/wxPython-3.0.2.0/lib/libwx_osx_cocoau-3.0.dylib</span></p><p class=""><span class="">
</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">One question O think of is: if GRASS ships the wx libraries, why reference the system one at </span>/Users/Shared/unix/...? </p><p class=""><span class=""><br></span></p><p class=""><span class="">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 class=""><span class=""><br></span></p><p class=""><span class="">$ /Applications/GRASS-7.0.app/Contents/MacOS/grass.sh </span></p><p class=""><span class="">Rebuilding Addon HTML manual pages index...</span></p><p class=""><span class="">Rebuilding Addon menu...</span></p><p class=""><span class="">Python 2.7.6 found.</span></p><p class=""><span class="">Cleaning up temporary files...</span></p><p class=""><span class="">Starting GRASS GIS...</span></p><p class=""><span class="">dyld: Library not loaded: /Applications/GRASS/GRASS-7.0.app/Contents/MacOS/lib/libgrass_gis.7.0.0.dylib</span></p><p class=""><span class=""> Referenced from: /Applications/GRASS-7.0.app/Contents/MacOS/bin/g.gisenv</span></p><p class=""><span class=""> Reason: image not found</span></p><p class=""><span class="">Traceback (most recent call last):</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/gis_set.py", line 31, in <module></span></p><p class=""><span class=""> from core import globalvar</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/globalvar.py", line 29, in <module></span></p><p class=""><span class=""> from core.debug import Debug</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py", line 66, in <module></span></p><p class=""><span class=""> Debug = DebugMsg()</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py", line 37, in __init__</span></p><p class=""><span class=""> self.SetLevel()</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py", line 42, in SetLevel</span></p><p class=""><span class=""> self.debuglevel = int(grass.gisenv().get('WX_DEBUG', 0))</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 902, in gisenv</span></p><p class=""><span class=""> s = read_command("g.gisenv", flags='n')</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 424, in read_command</span></p><p class=""><span class=""> process = pipe_command(*args, **kwargs)</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 399, in pipe_command</span></p><p class=""><span class=""> return start_command(*args, **kwargs)</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 354, in start_command</span></p><p class=""><span class=""> if debug_level() > 0:</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 1485, in debug_level</span></p><p class=""><span class=""> _debug_level = int(gisenv().get('DEBUG', 0))</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 902, in gisenv</span></p><p class=""><span class=""> s = read_command("g.gisenv", flags='n')</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 427, in read_command</span></p><p class=""><span class=""> return handle_errors(returncode, stdout, args, kwargs)</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 310, in handle_errors</span></p><p class=""><span class=""> returncode=returncode)</span></p><p class=""><span class="">grass.exceptions.CalledModuleError: Module run None ['g.gisenv', '-n'] ended with error</span></p><p class=""><span class="">Process ended with non-zero return code -5. See errors in the (error) output.</span></p><p class=""><span class="">Error in GUI startup. If necessary, please report this error to the GRASS developers.</span></p><p class=""><span class="">Switching to text mode now.</span></p><p class="">Hit RETURN to continue...<br><span class=""></span></p><p class=""><span class="">Traceback (most recent call last):</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 1422, in <module></span></p><p class=""><span class=""> set_data()</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 670, in set_data</span></p><p class=""><span class=""> gui_startup(grass_gui == 'gtext')</span></p><p class=""><span class=""> File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 692, in gui_startup</span></p><p class=""><span class=""> os.execlp(cmd_name, "-text")</span></p><p class=""><span class=""> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 327, in execlp</span></p><p class=""><span class=""> execvp(file, args)</span></p><p class=""><span class=""> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 344, in execvp</span></p><p class=""><span class=""> _execvpe(file, args)</span></p><p class=""><span class=""> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 380, in _execvpe</span></p><p class=""><span class=""> func(fullname, *argrest)</span></p><p class=""><span class="">
</span></p><p class=""><span class="">OSError: [Errno 2] No such file or directory</span></p><p class=""><span class=""><br></span></p>Maybe later today i'll try to compile G7.</div><div><br></div><div>best</div><div><br></div><div>Carlos</div><div><br clear="all"><div><br></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></div>