Processing Gdal Translate #24186
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
Milestone
Author Name: matteo ghetta (@ghtmtt)
Original Redmine Issue: 16276
Affected QGIS version: master
Redmine category:processing/gdal
Assignee: Giovanni Manghi
When trying to use the gdal translate format of raster files, no matter what kind of file it is (tiff, hdr, etc..) and no matter which combination of choice is made, the algorithm throws this error:
@
2017-03-03T13:13:28 0 gdal_translate -of GTiff -ot Float32 -outsize 100% 100% -expand "(0, 'none')" -projwin 1554747.2310344942 4924820.77 1771747.2310344942 4678320.77 /home/matteo/lavori/gis/corso/Dati_corso_QGIS/dtm/hdr.tif /tmp/processingb0fbced9ffc24643bc6020cbcf8125d2/f00fc2b4bef5488eb6c557f6ae5ef037/OUTPUT.tif@
@2017-03-03T13:13:28 0 GDAL execution console output
ERROR 5: Value (0, 'none') unsupported. Only gray, rgb or rgba are supported.
2017-03-03T13:13:28 2 Error loading result layer:
Traceback (most recent call last):
File "/home/matteo/lavori/QGIS/build-qgis3/output/python/plugins/processing/gui/Postprocessing.py", line 75, in handleAlgorithmResults
out.name))
File "/home/matteo/lavori/QGIS/build-qgis3/output/python/plugins/processing/tools/dataobjects.py", line 223, in load
+ '
Check the processing framework log to look for errors')
RuntimeError: Could not load layer: /tmp/processingb0fbced9ffc24643bc6020cbcf8125d2/f00fc2b4bef5488eb6c557f6ae5ef037/OUTPUT.tif
Check the processing framework log to look for errors@
The text was updated successfully, but these errors were encountered: