[GRASS-dev] GRASS 6 REALLY IS broken on Mac

I don’t know if this is relevant, but it is weird. If you look at the error trace below, you’ll see that the first group of lines references files in /Applications/GRASS/GRASS-6.4.app/Contents/MacOS. This is the GRASS app and is correct. But the second group (after the line feeds I added), references files in my source directory. Then the last group (again after a couple line feeds) references the app again. Somehow, GRASS is not finding the directories lmgr and gui_core in the app and somehow looking for them in the source. This may (or may not) the the cause of this error.

Michael

Traceback (most recent call last):
File “/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py”, line 143, in
sys.exit(main())
File “/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py”, line 136, in main
app = GMApp(workspaceFile)
File “/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py”, line 45, in init
wx.App.init(self, False)
File “/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py”, line 7981, in init
self._BootstrapApp()
File “/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py”, line 7555, in _BootstrapApp
return core.PyApp__BootstrapApp(*args, **kwargs)
File “/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py”, line 82, in OnInit
workspace = self.workspaceFile)

File “/Users/Shared/grass_dev/grass64_rb/dist.x86_64-apple-darwin10.8.0/etc/wxpython/lmgr/frame.py”, line 108, in init
self.notebook = self._createNoteBook()
File “/Users/Shared/grass_dev/grass64_rb/dist.x86_64-apple-darwin10.8.0/etc/wxpython/lmgr/frame.py”, line 257, in _createNoteBook
self.goutput = GMConsole(self)
File “/Users/Shared/grass_dev/grass64_rb/dist.x86_64-apple-darwin10.8.0/etc/wxpython/gui_core/goutput.py”, line 240, in init
self.MakeSearchPaneContent(self.searchPane.GetPane())
File “/Users/Shared/grass_dev/grass64_rb/dist.x86_64-apple-darwin10.8.0/etc/wxpython/gui_core/goutput.py”, line 356, in MakeSearchPaneContent
self.search = SearchModuleWindow(parent = pane, cmdPrompt = self.cmdPrompt)

File “/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gui_core/ghelp.py”, line 81, in init
self.searchChoice.SetItems(self.cmdPrompt.GetCommandItems())
File “/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py”, line 11997, in SetItems
self.AppendItems(items)
File “/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py”, line 11859, in AppendItems
return core.ItemContainer_AppendItems(*args, **kwargs)
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe2 in position 100: ordinal not in range(128)


C. Michael Barton
Visiting Scientist, Integrated Science Program
National Center for Atmospheric Research &
University Corporation for Atmospheric Research
303-497-2889 (voice)

Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu