processing: grass7 algorithms broken, (falsely) claims grass7 not installed #23636
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
High Priority
Processing
Relating to QGIS Processing framework or individual Processing algorithms
Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)
Original Redmine Issue: 15713
Affected QGIS version: master
Redmine category:processing/core
Assignee: Victor Olaya
For ~1 week now, I can't execute any grass7 algorithm within processing. When I try to do so, I can an error message telling me Grass7 is not installed, which is incorrect,
Looking into the code a bit, I realized the "grass7 not installed" message is triggered whenever a test runalg() fails (in Grass7Utils.py). The test is as follow:
Running this test manually, the failure here is not due to missing Grass7, but to the number of arguments provided != (alg.getVisibleParametersCount() + alg.getVisibleOutputsCount())
This is what I get if I the runalg() test in python console:
Looking into value for variables at play here, I get:
So indeed, 8 != 6, which throws an error that ends up being (mis-)interpreted as me not having Grass7 installed.
Victor, hopefully this time it's not a bigger-than-processing issue ;)
The text was updated successfully, but these errors were encountered: