[GRASS-dev] GRASS 6 NOT broken on Mac

Michael Barton michael.barton at asu.edu
Wed Jul 25 14:03:22 PDT 2012


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 <module>
>     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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20120725/86c72bbe/attachment.html>


More information about the grass-dev mailing list