Hello, I wan't to run a native algorithm (execute SQL) in an homemade algorithm : I try processing.run('qgis:executesql',{'INPUT_DATASOURCES':[sink],'INPUT_QUERY':'SELECT * FROM input1'},feedback=None)
but i've got an error : line 140, in processAlgorithm a=processing.run('qgis:executesql',{'INPUT_DATASOURCES':[sink],'INPUT_QUERY':'SELECT * FROM input1'},feedback=None) File "/usr/share/qgis/python/plugins/processing/tools/general.py", line 84, in run return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context) File "/usr/share/qgis/python/plugins/processing/core/Processing.py", line 135, in runAlgorithm feedback.reportError(msg) TypeError: reportError() missing 1 required positional argument: 'fatal_error' how can I do that ? Thanks,
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user