6

I'm trying to sort a shapefile by one of its attributes using "Execute SQL", in the QGIS Graphical Modeler.

Using a vector as input is working fine, but when I use a layer generated by an algorithm I have this error message : "virtual: Cannot find layer OUTPUT_shp20180419141642572".

Can someone help me with this ?

To sum-up : here is my problem

  • 1
    As per the help center it is OK to try and reproduce software problems in a Q&A here, but if you think this is a bug then be sure to submit it to the QGIS development team. Please post a link to the bug report here. – underdark Apr 19 '18 at 20:28
  • 1
    @underdark here is the ticket: issues.qgis.org/issues/16129#change-95647 It is set as fixed, but the problem still exist in QGIS 3.4.1 and the nightly build version – PieterB Nov 26 '18 at 13:16
  • 1
    What if you change "input1" in your SQL to the id of the Mean algorithm? So I mean, maybe you should not use the same SQL codes. – pnz Dec 2 '18 at 23:13
  • @pnz it's a bug in the algorithm. See the ticket mensioned above – PieterB Dec 5 '18 at 14:33
1

This is a known issue: Bug report #16129 Processing : execute sql alg does not work with input2 ... inputN parameters

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.