[GRASS-dev] GRASS 7 fails to start on OS X

Cline, Royce L. rcline at nd.gov
Mon Aug 19 12:30:34 PDT 2013


1) Have GRASS 6.4.3 from kyngchaos site with latest frameworks and python modules installed.

2) Using Apple's python. No other python installed.

3) OS X 10.8.4

With further digging, the problem appears to be in /Applications/GRASS-7.0.app/Contents/MacOS/grass70.

Royce


On Aug 19, 2013, at 2:13 PM, Michael Barton <michael.barton at asu.edu<mailto:michael.barton at asu.edu>> wrote:

A couple of questions Royce,

1. Both GRASS 6 and 7 require frameworks (dependencies). As of Friday, the dev versions (including GRASS 7) require several newer versions of the frameworks than does the stable version of GRASS (6.4.3). Did you download all required framework versions?

2. Have you installed a 3rd party python (e.g., Macpython) or a separate install of wxPython?

3. What version of the Mac OS are you running?

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu<http://csdc.asu.edu/>












On Aug 19, 2013, at 12:01 PM, <grass-dev-request at lists.osgeo.org<mailto:grass-dev-request at lists.osgeo.org>>
 wrote:

From: "Cline, Royce L." <rcline at nd.gov<mailto:rcline at nd.gov>>
Subject: [GRASS-dev] GRASS 7 fails to start on OS X
Date: August 19, 2013 9:51:02 AM MST
To: "grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>" <grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>>


Installed Aug. 16 GRASS 7 from Michael Barton's site. It fails to start, if I have GRASS 6.4.3 installed with the following error:

Traceback (most recent call last):
 File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gis_set.py", line 38, in <module>
   from core import globalvar
 File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/core/globalvar.py", line 50, in <module>
   from grass.script.core import get_commands
ImportError: cannot import name get_commands


The problem appears to be occurring because
/Applications/GRASS-6.4.app/Contents/MacOS/etc/python
occurrs in PATH before
/Applications/GRASS-7.0.app/Contents/MacOS/etc/python
at the point of the error. I don't understand the start up process to determine where the GRASS-6.4 path is getting set.

GRASS 7 starts if I remove GRASS 6.

Royce


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


More information about the grass-dev mailing list