[QGIS-Developer] QGIS 3.22: Can't run GRASS algorithm in pyQGIS-script

Anne B. Nilsen anne.b.nilsen at nibio.no
Thu Nov 25 00:29:50 PST 2021


Hi.

When running a GRASS algorithm in a standalone pyQGIS-script with QGIS 3.22.0 and 3.22.1 , e.g. processing.run("grass7:v.split", ...) I get
_core.QgsProcessingException: Error: Algorithm grass7:v.split not found

GRASS (and SAGA) algorithms are available and working within QGIS 3.22 (through OSGE4W v2 installation).
My original script worked in QGIS 3.16.

My code is shown here: https://github.com/qgis/QGIS/issues/45935

Is my code wrong or is something wrong with QGIS/my installation?

Best regards
Anne Nilsen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20211125/46fa4200/attachment.html>


More information about the QGIS-Developer mailing list