Hi -
I've been using Grass for quit a while on my Mac and began experiencing issues with application startup about 6 months ago. I get the same error many others are experiencing with GUI startup and failure (see error message pasted in below). The offending file is:
/usr/local/lib/wxPython-unicode-2.8.12.1/lib/libwx_macud_gizmos-2.8.0.dylib
I usually delete the app and then reload the frameworks and app to get it running again and it usually works for a while but the same error keeps resurfacing. It happened again today when I started Grass 7.0 (and same for reloaded 7.2; both of which work on this machine).
Today was a bit different - I got a notification from my security software that it detected an OSX.Trojan.Gen virus and deleted the file /Applications/Grass-7.2.app/Contents/MacOS/lib/libwx_macud_gizmos-2.8.0.dylib
It looks like the deleted file is what's causing my application startup error. Same thing happened when I reinstalled 7.2. My guess this has been happening in the background for quite a while and I was missing the notifications for some reason. This is a huge problem for me now because I can't get the program to work and its impacting my research. Im now at the point where I've installed Grass on my Windows machine at home just to to work on some data (uhg….).
Any suggestions as to what to do in terms of a fix would be very helpful.
Cheers…BrianS
Launching <wxpython> GUI in the background, please wait…
GRASS 7.2.svn (wa_coast):~ > Traceback (most recent call last):
File "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/wxgui.py", line 158, in <module>
sys.exit(main())
File "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/wxgui.py", line 145, in main
app = GMApp(workspaceFile)
File "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/wxgui.py", line 48, in init
wx.App.init(self, False)
File "/Applications/GRASS-7.2.app/Contents/MacOS/etc/python/wx/_core.py", line 7981, in init
self._BootstrapApp()
File "/Applications/GRASS-7.2.app/Contents/MacOS/etc/python/wx/_core.py", line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/wxgui.py", line 90, in OnInit
from lmgr.frame import GMFrame
File "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/lmgr/frame.py", line 50, in <module>
from lmgr.layertree import LayerTree, LMIcons
File "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/lmgr/layertree.py", line 37, in <module>
from mapdisp.frame import MapFrame
File "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/mapdisp/frame.py", line 44, in <module>
from gui_core.query import QueryDialog, PrepareQueryResults
File "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/gui_core/query.py", line 21, in <module>
from gui_core.treeview import TreeListView
File "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/gui_core/treeview.py", line 25, in <module>
import wx.gizmos as gizmos
File "/Applications/GRASS-7.2.app/Contents/MacOS/etc/python/wx/gizmos.py", line 9, in <module>
import _gizmos
ImportError: dlopen(/Applications/GRASS-7.2.app/Contents/MacOS/etc/python/wx/_gizmos.so, 2): Library not loaded: /usr/local/lib/wxPython-unicode-2.8.12.1/lib/libwx_macud_gizmos-2.8.0.dylib
Referenced from: /Applications/GRASS-7.2.app/Contents/MacOS/etc/python/wx/_gizmos.so
Reason: image not found