This is good to know. Thanks. It will be important to find out if QGIS installs this or something else. Do you have gvsig or other OS GIS package that might use GRASS libraries?
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 On Aug 19, 2013, at 3:25 PM, "Cline, Royce L." <[email protected]> wrote: > I found the cause of the problem. Python 2.6 site-pakages contained > grass-py2.6.pth which has: > import sys; > sys.path.insert(0,'/Applications/GRASS-6.4.app/Contents/MacOS/etc/python') > > Therefore, this was in my path whether I was running GRASS 6 or GRASS 7. > Deleted it and GRASS 7 now works. I am not sure what installed it. Tested > William's GRASS 6.4.2 and 6.4.3 installers and neither install it. Possibly > QGIS. > > Royce > > > > On Aug 19, 2013, at 3:10 PM, Royce Cline <[email protected]> > wrote: > >> Downloaded GRASS 7 this morning. Tried your 6.4.3. If 6.4.3 is in >> /Applications/GRASS, then GRASS 7 opens. If either William's or your 6.4.3 >> is in /Applications then the problem occurs. >> >> Royce >> >> >> On Aug 19, 2013, at 2:45 PM, Michael Barton <[email protected]> >> wrote: >> >>> I'm assuming that you downloaded GRASS 7 after last Friday? If not, please >>> try again. I just downloaded it onto a different computer, along with the >>> frameworks for the dev versions (on my site), and all works well. If this >>> does not solve your problem there may be a more insidious issue that no one >>> completely understands yet. Hopefully this is NOT the issue. >>> >>> If getting the newest version of GRASS 7 and frameworks does not work, try >>> downloading my stable GRASS 6.4.3 (also along with its frameworks). >>> >>> 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 >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> On Aug 19, 2013, at 12:30 PM, "Cline, Royce L." <[email protected]> >>> wrote: >>> >>>> 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 <[email protected]> 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 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Aug 19, 2013, at 12:01 PM, <[email protected]> >>>>> wrote: >>>>> >>>>>> From: "Cline, Royce L." <[email protected]> >>>>>> Subject: [GRASS-dev] GRASS 7 fails to start on OS X >>>>>> Date: August 19, 2013 9:51:02 AM MST >>>>>> To: "[email protected]" <[email protected]> >>>>>> >>>>>> >>>>>> 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 >>>>> >>>> >>> >> >
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
