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

Howard Frederick simbamangu at gmail.com
Mon Oct 17 23:58:56 PDT 2016


What symptoms do you have? Error messages?

How are the Grass 7 options set up in the Processing 'Options ...' section?

GRASS working for me on OS X 10.10.5, QGIS 2.16.3.

On 18 October 2016 at 02:54, Mr. Stace D Maples <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
> 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 on behalf of 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> 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> 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 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
> >List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> >Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20161018/96df2764/attachment.html>


More information about the Qgis-user mailing list