Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error at the end of SAGA logs #29346

Closed
qgib opened this issue Mar 8, 2019 · 13 comments
Closed

error at the end of SAGA logs #29346

qgib opened this issue Mar 8, 2019 · 13 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented Mar 8, 2019

Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 21530
Affected QGIS version: 3.6.0
Redmine category:processing/saga


On 3.6 at the end of logs of SAGA tools (tested a few tools for rasters/dems) a message like the following will show

Loading resulting layers
The following layers were not correctly generated.

  • C:/Users/qgis/AppData/Local/Temp/processing_78672142d2a448ee80c46f3c600901c9/0f148c064e624b7e815a936a301e85a3/C_GENE.sdat
  • C:/Users/qgis/AppData/Local/Temp/processing_78672142d2a448ee80c46f3c600901c9/65c98a4ab4f047c99b8ddec8093d9d84/SLOPE.sdat
  • C:/Users/qgis/AppData/Local/Temp/processing_78672142d2a448ee80c46f3c600901c9/f36ee388fb4340c181b64c2e56f0e081/ASPECT.sdat
You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.

the outputs are created and added to the map, but anyway this seems wrong (and does not happen on 3.4.5).


Related issue(s): #29339 (relates)
Redmine related issue(s): 21523


@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2019

Author Name: Alexander Bruy (@alexbruy)


@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms labels May 25, 2019
@AlisterH
Copy link
Contributor

AlisterH commented Aug 2, 2019

the outputs are created and added to the map...

Hi, in 3.8.1 there are still issues with saga outputs. e.g. if I run a Laplacian filter or a gaussian filter the outputs are created but not loaded, and there is an error message:

C:\Users\alistair\Documents>exit
Execution completed in 6.76 seconds
Results:
{'RESULT': 'C:/Users/alistair/AppData/Local/Temp/processing_0599d00836ee49a99269fe789f082afd/1ba0853d9b164950985e975cf53ced54/RESULT.sdat'}

Loading resulting layers
The following layers were not correctly generated.<ul><li>C:/Users/alistair/AppData/Local/Temp/processing_0599d00836ee49a99269fe789f082afd/9273c3e69e5e404aaad9c793d7755dea/RESULT.sdat</li></ul>You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.

Notice how the file path in the error message is different to the file path in the line starting "{'RESULT':". QGIS isn't trying to load the right file!

Should I consider this the current form of this issue, or file another ticket?

@gioman gioman added the Regression Something which used to work, but doesn't anymore label Aug 3, 2019
@AlisterH
Copy link
Contributor

Hi, in 3.8.1 there are still issues with saga outputs. e.g. if I run a Laplacian filter or a gaussian filter the outputs are created but not loaded, and there is an error message:

If I use the saga raster calculator it seems the outputs aren't created (or perhaps are deleted?).

@gioman
Copy link
Contributor

gioman commented Aug 12, 2019

If I use the saga raster calculator it seems the outputs aren't created (or perhaps are deleted?).

I can't confirm here on master/ubuntu, but still it spits the error at the end of the log.

@AlisterH
Copy link
Contributor

For the record, I am on Windows 10.

@gioman
Copy link
Contributor

gioman commented Aug 12, 2019

For the record, I am on Windows 10.

for me still works on Windows 10: no error at the end of the log in latest 3.4, error at the end of the log in latest 3.8. Still the output is calculated and added in both cases.

@AlisterH
Copy link
Contributor

Still the output is calculated and added in both cases.

OK, testing both Laplassian filter and raster calculator again today it is the same as for you - it works fine but there is the spurious error.
I have no idea what was different last time that might have been causing a problem.

@gioman
Copy link
Contributor

gioman commented Aug 19, 2019

but there is the spurious error.

this has also surfaced in other tools, for example, warp by GDAL and only if a temp output is created.

@natearoe
Copy link

natearoe commented Jul 3, 2020

I am receiving the same error using QGIS 3.10.7 and 3.14 and have posted about it on GIS Stack Exchange. https://gis.stackexchange.com/questions/366138/do-saga-tools-work-on-qgis-3-10-7

Can you please confirm that the values created from QGIS SAGA tools are accurate despite the error message?

@gioman
Copy link
Contributor

gioman commented Jul 3, 2020

Can you please confirm that the values created from QGIS SAGA tools are accurate despite the error message?

@natearoe the error message at the end os the SAGA tools run is annoying but seems innocuous.

@GiulliBaggio
Copy link

Hello, I'm having the same error, but after that I don't have eny resolution, its like the operation is aborted. Specially using the Saga tools.

@Sud04
Copy link

Sud04 commented Jan 3, 2021

Same error : The following layers were not correctly generated.

  • C:/Sudhanshu Drive/Narmada/DEM/st.sdat
You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.
Please provide solution. QGIS 3.1 version

@nyalldawson
Copy link
Collaborator

This was fixed by 286fd20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

7 participants