Bug report #20667

Updated by Jürgen Fischer almost 3 years ago


#16129 This issue (https://issues.qgis.org/issues/16129#change-95647) is marked as fixed. But when I trie to run the algorithm 'execute sql' as last step in a model, it still returns the same error:

File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\processing\algs\qgis\ExecuteSQL.py", line 157, in processAlgorithm
raise QgsProcessingException(vLayer.dataProvider().error().message())
_core.QgsProcessingException: <p><b>virtual:</b> Cannot find layer output_1ada9f5a_17be_4c84_a3b8_723866a19464

I tried all suggestions made in the quoted issue, both on the latest PR (3.4.2) as on the nightly build version.