When i try to run the script i get the following error:
Traceback (most recent call last):
File "C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib\code.py", line 91, in runcode
exec(code, self.locals)
File "<input>", line 1, in <module>
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/plugins\processing\tools\general.py", line 96, in run
return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/plugins\processing\core\Processing.py", line 189, in runAlgorithm
raise QgsProcessingException(msg)
_core.QgsProcessingException: There were errors executing the algorithm.
Am i passing the parameters incorrectly or the function cannot handle QgsVectorLayer as an input?
Thank you.
Hei! I am trying to run the LeastCostPath via a Python script.
When i try to run the script i get the following error:
Am i passing the parameters incorrectly or the function cannot handle QgsVectorLayer as an input? Thank you.