[GIS] Unable to set GRASS7 Path in OS X

configurationgrassmacqgisqgis-processing

QGIS Version: 2.14.3
GRASS Version: 7.2

Both installed via Homebrew.

Tried setting the GRASS7 path in "Processing->Options" but QGIS does not accept it.

enter image description here

Related to the following questions:

QGIS 2.14.1 LAStools install error: "wrong value for parameter 'Msys folder'…"

QGIS GRASS Missing Dependancy

Grass7 processing toolbox QGIS

Update:

I modified grassPath() in "Grass7Utils.py" and changed the grass path folder setting to:

folder = '/usr/local/Cellar/grass-72/HEAD-/grass-7.2.svn/'
return folder

Checking the processing options in QGIS, the path change was accepted. However, GRASS7 algorithms still come up with the error message that GRASS7 is not configured correctly. Which GRASS path does QGIS need?

enter image description here

Best Answer

I had the same issue and I found out that grass is located in

/usr/local/opt/grass7/grass-base

enter image description here

or at least is how homebrew configures it when you install it using

brew install qgis2 --with-grass --with-saga-gis-lts

I have to use instead

brew install qgis2 --with-grass

because saga gis lts gave me a source problem.

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "saga-gis-lts"
Download failed: https://downloads.sourceforge.net/project/sagagis/SAGA%20-%202.3/SAGA%202.3.1/saga_2.3.1.tar.gz

that I'm trying to figure out.

Related Question