Bug report #11044

Problem loading output layers

Added by Amine Aboufirass about 10 years ago. Updated almost 10 years ago.

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/Modeller
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:19383

Description

Every time I run operations with temporary file output from the graphical modeler, I get the following error message:

Oooops! The following output layers could not be open CLIP: C:\\Users\\Amine\\AppData\\Local\\Temp\\processing\\371888fc2a8e444082652967444c577e\\OUTPUTALG1.tif
The above files could not be opened, which probably indicates that they were not correctly produced by the executed algorithm Checking the log information might help you see why those layers were not created as expected

I also get another error cannot concatenate str and NoneType.

This is a simple clipping operation that should not cause such drama in QGIS. I also get similar, if not worse errors, when outputting rasters using GRASS or SAGA commands. Can anyone please help? I've looked through and updated the processing options however this doesn't change anything.

Issue.jpg (209 KB) Amine Aboufirass, 2014-08-13 02:29 AM

STEP.model (2.41 KB) Amine Aboufirass, 2014-08-13 02:35 AM

TESTING.model (2.43 KB) Amine Aboufirass, 2014-08-13 02:35 AM

Rastercalc.model (530 Bytes) Amine Aboufirass, 2014-08-13 02:35 AM


Related issues

Duplicated by QGIS Application - Bug report #11048: Graphic modeler useless Closed 2014-08-13
Duplicated by QGIS Application - Bug report #11050: Graphical modeler cannot process GDAL algorithms Closed 2014-08-14

History

#1 Updated by Amine Aboufirass about 10 years ago

Im having issues with all these models

#2 Updated by Jürgen Fischer about 10 years ago

  • Category set to 94
  • Priority changed from High to Normal
  • Estimated time deleted (6.00)

Anything in the log?

#3 Updated by Amine Aboufirass about 10 years ago

It keeps changing, sometimes its a problem with r.out, other times it can't concatenate string and nonetype, other times theres nothing at all in the log. I think you would get a better idea of my problems if you tested the models I uploaded.

#4 Updated by Matthias Kuhn about 10 years ago

  • Status changed from Open to Feedback

Please upload the logs somewhere (e.g. pastebin.org)

#5 Updated by Nathan Woodrow about 10 years ago

  • Assignee set to Victor Olaya

#6 Updated by Nathan Woodrow about 10 years ago

Here is the log output. Might point to the issue.

#7 Updated by Matthias Kuhn about 10 years ago

Is there any progress on this?
Just seen this which looks similar

http://gis.stackexchange.com/questions/111429/qgis-2-4-processing-zonal-statistics-error

#8 Updated by Giovanni Manghi almost 10 years ago

  • Affected QGIS version changed from 2.4.0 to master
  • Category changed from 94 to Processing/Modeller
  • Status changed from Feedback to Closed
  • Resolution set to fixed/implemented

First of all when you use QGIS 2.4 be sure that you don't have any "processing" folder inside

.qgis2/python/plugins

If you have it, then delete it (it is an obsolete version of processing compared to the one shipped with qgis 2.4/master).

About the GRASS rastercalc model it seems to work fine here for me (tested qgis 2.4 on Windows). The issue maybe that the formula in the model does not produce any output, so the message (I tested it on a raster layer that make sense accordingly to the formula, and runs fine). Yes we know, that message is not very good for the common user, but at least until someone can work on it is better than nothing.

I always suggest to configure processing to leave the dialog open after running a module/model, this way the user can see the full tools logs and usually understand what went wrong.

In the case of the other model, the one with the raster merge/clip, I confirm that on QGIS 2.4 does not work. Seems a bug that was already solved in QGIS master (the next 2.6). Anyway you'll have to recreate the model as something changed between 2.4 and 2.6 so if you use the model done in QGIS 2.4 it won't work anyway. If you create it again it will work ok.

Also available in: Atom PDF