2

I'm a long time GIS user but new to QGIS. I can convert single raster files in .img format to .tif files in QGIS 3.4.8 without any issues. However, I cannot batch process the same files. The Python error message is:

2019-05-29T16:58:13     WARNING    Traceback (most recent call last):
              File "C:/PROGRA~1/QGIS3~1.4/apps/qgis-ltr/./python/plugins\processing\gui\BatchAlgorithmDialog.py", line 88, in runAlgorithm
              parameters[param.name()] = wrapper.parameterValue()
             AttributeError: 'NoneType' object has no attribute 'parameterValue'

The parameters in the batch file window are the same as in the single file processing window. Can anybody point me to a solution?

The log in the processing window is empty. The general messages window contains the message below which only points me to the Python Error tab.

2019-05-30T06:57:52     WARNING    Python error : An error has occurred while executing Python code: See message log (Python Error) for more details. 

When processing a single file (which works fine) the Log window displays this information:

Processing algorithm…
Algorithm 'Translate (convert format)' starting…
Input parameters:
{ 'COPY_SUBDATASETS' : False, 'DATA_TYPE' : 0, 'INPUT' : 'G:/Snow Damage Aerials/LRT Test/orthoc190426a_0493.img', 'NODATA' : None, 'OPTIONS' : '', 'OUTPUT' : 'G:/Snow Damage Aerials/LRT Test/orthoc190426a_0493.tif', 'TARGET_CRS' : None }

GDAL command:
gdal_translate -of GTiff "G:/Snow Damage Aerials/LRT Test/orthoc190426a_0493.img" "G:/Snow Damage Aerials/LRT Test/orthoc190426a_0493.tif"
GDAL command output:
Input file size is 4208, 5931

0...10...20...30...40...50...60...70...80...90...100 - done.

Execution completed in 9.20 seconds
Results:
{'OUTPUT': 'G:/Snow Damage Aerials/LRT Test/orthoc190426a_0493.tif'}

Loading resulting layers
Algorithm 'Translate (convert format)' finished
  • The processing log shows nothing! – Mark May 30 at 14:09
  • Im also having the same problem with the following result: WARNING Traceback (most recent call last): File "C:/PROGRA~1/QGIS3~1.4/apps/qgis-ltr/./python/plugins\processing\gui\BatchAlgorithmDialog.py", line 88, in runAlgorithm parameters[param.name()] = wrapper.parameterValue() AttributeError: 'NoneType' object has no attribute 'parameterValue' – Mathew Bayley Jun 3 at 10:53
0

I am having this exact same problem trying to batch process a Warp reprojection. Works fine in single mode, not in batch. I think it has something to do with saving to temporary files -- its allowed in single but not batch mode. See page 380 of user guide: ftp://ftp.ncaor.gov.in/Quantarctica3/QGIS_UserGuide.pdf

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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