<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>I wan't to run a native algorithm (execute SQL) in an homemade algorithm :<br></div>I try<br>processing.run('qgis:executesql',{'INPUT_DATASOURCES':[sink],'INPUT_QUERY':'SELECT * FROM input1'},feedback=None)<br><br></div>but i've got an error :<br>

<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)">line 140, in processAlgorithm<br>a=processing.run('qgis:executesql',{'INPUT_DATASOURCES':[sink],'INPUT_QUERY':'SELECT * FROM input1'},feedback=None)<br>File "/usr/share/qgis/python/plugins/processing/tools/general.py", line 84, in run<br>return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)<br>File "/usr/share/qgis/python/plugins/processing/core/Processing.py", line 135, in runAlgorithm<br>feedback.reportError(msg)<br>TypeError: reportError() missing 1 required positional argument: 'fatal_error'</span></p><br></div>how can I do that ?<br><br></div>Thanks,<br></div>