Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Grass7 processing toolbox option dialogue should include a way to specify a path to the GRASS binary, overriding Grass7Utils.command #29454

Closed
qgib opened this issue Mar 21, 2019 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! macOS Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Mar 21, 2019

Author Name: vince - (vince -)
Original Redmine Issue: 21638
Affected QGIS version: 3.6.0
Redmine category:processing/grass


As I understand it, the Python interface layer to Grass attempts to locate the Grass binary in the "GRASS folder" directory specified in the Processing toolbox setup.
However, on MacOS, the grass binary (grass76) and the various function binaries (v.buffer, for example) are often installed in two separate directories.
This leads to the Python plugin mistaking a standard file for the Grass binary.

Is it possible to add an entry in the Processing toolbox configuration dialogue to manually specify/override the Grass7Utils.command variable value?
For the time being, I have to insert this line:

Grass7Utils.command = "path_to_grass76"

into the grassBin() static method for the toolbox to work properly

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS labels May 25, 2019
@alexbruy alexbruy added the Processing Relating to QGIS Processing framework or individual Processing algorithms label May 1, 2020
@gioman gioman removed the GRASS label Jun 1, 2020
@PeterPetrik
Copy link
Contributor

should work with the new MacOS bundles automatically, see #32511 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! macOS Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

4 participants