[Qgis-user] How to enable GRASS7 in QGIS 2.16 on Mac?

Mr. Stace D Maples stacemaples at stanford.edu
Tue Oct 18 14:56:24 PDT 2016


It’s something gone wrong with QGIS/GRASS7 compatibility on Mac.

I was finally able to get the old Grass6 tools to work by installing Grass 6 and resetting the Processing Toolbox paths to that installation (and deleting all Msys paths).

SO, the Grass7 thing on Mac appears to not be resolved, yet.

In F,L&T,
Stace Maples
Geospatial Manager
Stanford Geospatial Center
@mapninja
G+, Skype, Hangout: stacey.maples
214.641.0920
Find GeoData: https://earthworks.stanford.edu
Get GeoHelp: https://gis.stanford.edu/
stanfordgis Listserv: https://mailman.stanford.edu/mailman/listinfo/stanfordgis

"I have a map of the United States... actual size.
It says, "Scale: 1 mile = 1 mile."
I spent last summer folding it."
-Steven Wright-

From: Paul Shapley <p.shapley at gmail.com<mailto:p.shapley at gmail.com>>
Date: Tuesday, October 18, 2016 at 5:29 AM
To: Stace Maples <stacemaples at stanford.edu<mailto:stacemaples at stanford.edu>>
Subject: Re: [Qgis-user] How to enable GRASS7 in QGIS 2.16 on Mac?

Hi...check your using Grass 7.0.4 and QGIS 2.16.3 Grass and ensure you have correct location to the grass tool in QGIS i.e In QGIS go to 'Processing' then 'Options' then GRASS7-folder = c:\OSGeo4W\apps\grass-7.0.4. But i haven't used the MAC version for many years.

Paul Shapley

On 18 October 2016 at 00:54, Mr. Stace D Maples <stacemaples at stanford.edu<mailto:stacemaples at stanford.edu>> wrote:
I can confirm that I am currently struggling with getting Grass7 tools to
work in 2.16.3, as well.

Has anyone figured out how to fix this? I¹ve been on StackExchange for
about 3 hours, now.

In F,L&T,
Stace Maples
Geospatial Manager
Stanford Geospatial Center
@mapninja
G+, Skype, Hangout: stacey.maples
214.641.0920<tel:214.641.0920>
Find GeoData: https://earthworks.stanford.edu
Get GeoHelp: https://gis.stanford.edu/
stanfordgis Listserv:
https://mailman.stanford.edu/mailman/listinfo/stanfordgis

"I have a map of the United States... actual size.
It says, "Scale: 1 mile = 1 mile."
I spent last summer folding it."
-Steven Wright-




On 10/11/16, 7:06 AM, "Qgis-user on behalf of William Kyngesburye"
<qgis-user-bounces at lists.osgeo.org<mailto:qgis-user-bounces at lists.osgeo.org> on behalf of woklist at kyngchaos.com<mailto:woklist at kyngchaos.com>>
wrote:

>Install 2.16.3, this should fix GRASS problems.
>
>> On Oct 11, 2016, at 8:07 AM, wkent <wkent at medinaco.org<mailto:wkent at medinaco.org>> wrote:
>>
>> I can run GRASS commands through the GRASS toolbox (using the GRASS
>>plugin); but I am unable to run them through the Processing Toolbox.  I
>>get the "This algorithm cannot be run :-(" error, and the QGIS log shows:
>>
>> 2016-10-11T09:02:12  0       GRASS GIS 7 execution console output
>>                      /bin/sh: grass70: command not found
>>
>>                      /bin/sh: grass70: command not found
>>
>> I have set the paths in both the Processing Toolbox options, and the
>>GRASS Plugin options, to /Applications/QGIS.app/Contents/MacOS/grass7.
>>
>> In regards to the crash I get when trying to add an existing GRASS
>>layer (vector or raster) from the Browser panel to the Layers panel, the
>>attached text file is the crash report that was generated.
>>
>> Thanks so much for your help!
>>
>> On 2016-10-07 5:51 pm, William Kyngesburye wrote:
>>> Loading GRASS data and using the GRASS toolbox are separate from using
>>> GRASS "algorithms" in the Processing plugin.
>>> The Processing plugin needs to know where GRASS is (set in Processing
>>> options, but defaults to bundled GRASS 7), and runs GRASS commands in
>>> a separate process than QGIS (should not crash QGIS).
>>> Loading GRASS data in QGIS needs no configuration of a GRASS path
>>> (this could crash QGIS if there is a bug or build problem).  Running
>>> GRASS modules does need configuration, but this also defaults to the
>>> bundled GRASS 7.  There is also a "general" GRASS option for the GRASS
>>> installation path, but this seems to default to the compiled GRASS
>>> location.  You can try setting this to the QGIS app:
>>>  /Applications/QGIS.app/Contents/MacOS/grass7
>>> If you still get a crash, a copy of the crash log would help figure
>>> out what's wrong.
>>>> On Oct 7, 2016, at 1:30 PM, wkent <wkent at medinaco.org<mailto:wkent at medinaco.org>> wrote:
>>>> On 2016-09-29 8:45 am, Howard Frederick wrote:
>>>>> Recently upgraded to 2.16 - but cannot enable GRASS in the
>>>>>Processing configuration. Any ideas how to make this work?
>>>>> The folder seems to be correctly indicated in the config:
>>>>>/Applications/QGIS.app/Contents/MacOS/grass7
>>>>> This (and alternatives like ending as grass7/ ) give "This algorithm
>>>>>cannot be run :-(".
>>>>> Version: QGIS 2.16.2, on OS X 10.10.5.
>>>> Same error here, except running OS X 10.11.6.  It seems to be a path
>>>>issue, although I have not been able to determine where the path is
>>>>set.
>>>> Additionally, while QGIS is able to locate and open my existing GRASS
>>>>locations/mapsets, when I click on a GRASS layer in the browser panel
>>>>to add to the layers panel, QGIS crashes.
>>>> _______________________________________________
>>>> Qgis-user mailing list
>>>> Qgis-user at lis<mailto:Qgis-user at lists.osgeo.org>Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>ts.osgeo.org<mailto:Qgis-user at lists.osgeo.org>
>>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>> -----
>>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>>> http://www.kyngchaos.com/
>>> "Those people who most want to rule people are, ipso-facto, those
>>> least suited to do it."
>>> - A rule of the universe, from the HitchHiker's Guide to the Galaxy
>> <qgis_2-16-2_crash_report_loading_grass_layer.txt>
>
>-----
>William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>http://www.kyngchaos.com/
>
>"We can die but once, and that once we must die.  To be always fearing,
>then, would not avert it, and would make life miserable."
>
>- Tarzan, on death
>
>_______________________________________________
>Qgis-user mailing list
>Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>
>List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user


_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user



--
Paul J. Shapley MSc CGeog (GIS) FRGS

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20161018/94cdcb1a/attachment.html>


More information about the Qgis-user mailing list