[GRASS-dev] grass-dev Digest, Vol 77, Issue 37

This is where it bombs. If I set self.showChoice so that this doesn’t execute, GRASS starts up fine

“/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gui_core/ghelp.py”, line 81, in init
self.searchChoice.SetItems(self.cmdPrompt.GetCommandItems())

Michael

On Jul 25, 2012, at 2:20 PM, <grass-dev-request@lists.osgeo.org>
<grass-dev-request@lists.osgeo.org> wrote:

From: Michael Barton <michael.barton@asu.edu>

Date: July 25, 2012 2:12:39 PM MST

To: Kyngesburye William <kyngchaos@kyngchaos.com>, <grass-dev@lists.osgeo.org>

Subject: Re: [GRASS-dev] GRASS 6 REALLY IS broken on Mac

More tests.

If I delete .grassrc6 and start GRASS, it opens fine after asking for a GISDBASE location. But if I try to start it again, it errors out with the error below.

I suspect there is something wrong with a configuration file path. It has been changed and the new file is not being created

Michael

On Jul 25, 2012, at 2:03 PM, Michael Barton wrote:

Something installed another Python version without my knowledge. Getting rid of this solved the problem.

Michael

On Jul 25, 2012, at 1:22 PM, Michael Barton wrote:

I’m recompiling GRASS binaries and found that GRASS 6 is broken on the Mac. This is true for the current svn version I just updated and for the version I compiled 28 June–both release branch and dev branch. I updated all frameworks today, but I don’t know if I tested the 28 June version of GRASS 6 after I compiled it. So I don’t know if it is in the updated frameworks (updated on 29 June) or in the GRASS code. GRASS 7 works fine. When I try to launch GRASS 6, I get the following error after selecting a mapset and clicking ‘start grass’.

GRASS 6.4.3svn (Spearfish60_test):~ > Traceback (most recent call last):
File “/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py”, line 139, in
sys.exit(main())
File “/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py”, line 132, 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 78, 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 “/Users/Shared/grass_dev/grass64_rb/dist.x86_64-apple-darwin10.8.0/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)

I have not changed my python or wxpython installation since the last time I had a working GRASS 6 (earlier in June).

Michael


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


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


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


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