-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Processing: Clip raster by mask (GDAL) throws an error if the output is a temporary file #23482
Comments
Author Name: Victor Olaya (@volaya) just tried in master and it works Can you confirm that the file is not created? Aslo, other algorithms work when using temporary filenames? |
Author Name: Filipe Dias (@fsdias) The file is correctly generated. I went to: /tmp/processing7a958fa4c8b246d492f2bfb458dc7fcb/d61725a001ca42c39103e38932849a37 and loaded "Extent.tiff" into QGIS sucessfully. It seems there is something wrong with the import |
Author Name: Filipe Dias (@fsdias) I only tried this with GDAL Slope and works as expected |
Author Name: Alexander Bruy (@alexbruy) Are you sure that file correctly generated? Because path from your comment
is not the same as path in the error message
|
Author Name: Filipe Dias (@fsdias) Yes, I am sure. The paths are different because I tried to run it a second time. |
Author Name: Filipe Dias (@fsdias) I've narrowed it down. With the attached files do the following:
|
Author Name: Filipe Dias (@fsdias)
|
Author Name: Victor Olaya (@volaya) The error is that it is creating a Extent.tif file...while it should be called OUTPUT.tif No idea why that is happening. I will check |
Author Name: Alexander Bruy (@alexbruy) This happens because of exporting vector layers (to handle selection) and updating command with new layer names/paths. Already fixed in master, master_2 and backported to 2.14 and 2.16. Please test with latest versions and report. |
Author Name: Filipe Dias (@fsdias) Great. I will keep and eye out for this bug in the next point release.
|
Author Name: Filipe Dias (@fsdias)
Original Redmine Issue: 15559
Affected QGIS version: 2.16.2
Redmine category:processing/gdal
Assignee: Victor Olaya
It works if the user selects "save to file".
2016-09-13T09:33:17 0 GDAL execution console output
2016-09-13T09:34:01 0 GDAL execution console output
2016-09-13T09:34:01 2 Error loading result layer:
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/gui/Postprocessing.py", line 75, in handleAlgorithmResults
out.name))
File "/usr/share/qgis/python/plugins/processing/tools/dataobjects.py", line 199, in load
+ '
Check the processing framework log to look for errors')
RuntimeError: Could not load layer: /tmp/processing7a958fa4c8b246d492f2bfb458dc7fcb/d75a7af7c70740fb95780428b2fbf124/OUTPUT.tif
Check the processing framework log to look for errors
The text was updated successfully, but these errors were encountered: