1

Does anyone know the error that a graphical model can not be run at all?

Following procedure:

  1. Go to "Browser" in QGIS.
  2. Execute *.model3.
  3. Do the necessary stuff like input file and output file.
  4. Click on "Run".

There is no error, nothing in "Log" and no output file. An input file from the local hard disk did not change anything. It affects not only one model, but several. A colleague also tested it, there all models worked.

enter image description here

9
  • Have you made sure the model actually works? What should the model do? What input data do you have?
    – Erik
    Jul 21, 2021 at 12:48
  • Thank you, I added some information.
    – Mona
    Jul 22, 2021 at 13:36
  • Have you tried building a simple model and running it? E.g. one for reprojecting a shape file.
    – Erik
    Jul 22, 2021 at 13:42
  • 1
    Yes, I tried a simple model (just with a buffer) and found out the following: - Case 1: Right click at the model via QGIS browser: "edit model"; then no editing, but "start" the model (green arrow) -> result: model was executed - Case 2: Right click at the model via QGIS browser: "run model"; then "start" the model -> result: nothing happens Looks like a bug to me, doesn't it?
    – Mona
    Aug 23, 2021 at 10:04
  • I think I now know, what you're talking about: Models simply do not run, when you drag&drop them into QGIS - they only run when started from the QGIS modeller. Did you observe this behaviour? So yes, this most likely is a bug.
    – Erik
    Aug 23, 2021 at 10:05

2 Answers 2

1

This was a bug in QGIS which was resolved with https://github.com/qgis/QGIS/pull/43716.

It should now work with the latest QGIS LR / LTR releases (curently 3.20.2 / 3.16.10).

0

So, it seems to be a bug: Nothing happens, when right clicking at the model via QGIS browser: "run model" and then start the model. It is probably related to the bug, that models simply do not run, when you drag&drop them into QGIS. Workaround: Right click at the model via QGIS browser: "edit model"; then no editing, but "start" the model with the green arrow.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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