TransWikia.com

Finding GRASS module after upgrading QGIS (Mac)?

Geographic Information Systems Asked on June 5, 2021

I upgraded from QGIS 2.10.1 PISA to QGIS 2.18 last week (via KyngChaos), and since then have not been able to run GRASS within QGIS – it appears not to be able to find the module.

I had a look at this related question, and I have located the processing options (screengrab below) and tried to find the correct grass folder paths for my system, however, I can just see the QGIS application in my applications folder – no further folder structure to locate the correct file?

Amending the current file paths to the suggested paths I can find (/Applications/QGIS.app/Contents/MacOS/grass or /Applications/GRASS/GRASS-7.x.app/Contents/MacOS) results in a ‘Wrong value for parameter “GRASS folder” message.

Can anyone offer any advice? I am a QGIS newbie running on Mac OS Sierra.

enter image description here

2 Answers

I have figured this out and thought it best to post the answer for future users.

Firstly, I right clicked on my QGIS application and selected 'Show Package' to show the subfolders within the application (apologies if this is obvious to most users but it wasn't to me!)

In doing this I managed to locate the exact path of my GRASS installation, which is /Applications/QGIS.app/Contents/MacOS/grass7.

I replaced both GRASS folder locations shown in the screengrab above (within my original question) with the correct path, but only ticked 'Activate' on GRASS GIS 7 commands. (As I assume these supersede the standard GRASS commands.)

This still didn't fix the problem, however I then noticed in Plugins > GRASS > Grass Options, under the General tab there is an option to insert a custom file path to the Grass installation, so I pasted the same file path in here.

After restarting QGIS I now have working GRASS again.

Correct answer by Lisa SH on June 5, 2021

I had the same issue. There was an error with the path. I have QGIS 3.14, and a Mac running on Mac OS 10.15.4 Catalina. The path for grass was /Applications/QGIS3.12.app/Contents/Resources/grass7.

I went in the Settings >> Options >> Processing >> Providers >> Grass and I wrote the new path with QGIS 3.14 instead of 3.12. Wrote the same path in the grass plugin (Plugin >> Grass >> Grass Options >> General >> Custom) enter image description here

Answered by Helene on June 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP