かやま様
お世話になっております。
本田と申します。よろしくお願いいたします。
一応、result = processing.run("qgis:tininterpolation", parameters)に変更したところ、変更したコードからこのようなエラーが出てきました。
Traceback (most recent call last):
File "C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib\code.py", line 90, in runcode
exec(code, self.locals)
File "<input>", line 1, in <module>
File "<string>", line 54, in <module>
File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\tools\general.py", line 108, in run
return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)
File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\core\Processing.py", line 187, in runAlgorithm
ret, results = execute(alg, parameters, context, feedback, catch_exceptions=False)
File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\gui\AlgorithmExecutor.py", line 72, in execute
results, ok = alg.run(parameters, context, feedback, {}, False)
_core.QgsProcessingException: Traceback (most recent call last):
File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\algs\qgis\TinInterpolation.py", line 125, in processAlgorithm
interpolationData = ParameterInterpolationData.parseValue(parameters[self.INTERPOLATION_DATA])
File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\algs\qgis\ui\InterpolationWidgets.py", line 74, in parseValue
return ParameterInterpolationData.dataToString(value)
File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\algs\qgis\ui\InterpolationWidgets.py", line 79, in dataToString
for c in data:
TypeError: 'QgsVectorLayer' object is not iterable
これは簡単に言うと、読み込みの反復ができないと読んだのですが、どういった原因が考えられますでしょうか?