You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to add the Build Virtual Raster gdal test, the algorithm works fine (output is correctly generated).
But, when trying to right click in the Processing -> History menu in order to add the test in the yaml file, this error appears:
AttributeError: 'NoneType' object has no attribute 'ReadAsArray'
Traceback (most recent call last):
File "/home/matteo/lavori/QGIS/build-qgis3/output/python/plugins/processing/gui/HistoryDialog.py", line 129, in createTest
TestTools.createTest(item.entry.text)
File "/home/matteo/lavori/QGIS/build-qgis3/output/python/plugins/processing/gui/TestTools.py", line 256, in createTest
dataArray = nan_to_num(dataset.ReadAsArray(0))
AttributeError: 'NoneType' object has no attribute 'ReadAsArray'
The text was updated successfully, but these errors were encountered:
On 2.18.4 the error is different (in both cases also Windows is affected)
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/gui/HistoryDialog.py", line 129, in createTest
TestTools.createTest(item.entry.text)
File "/usr/share/qgis/python/plugins/processing/gui/TestTools.py", line 234, in createTest
dataset = gdal.Open(token, GA_ReadOnly)
File "/usr/lib/python2.7/dist-packages/osgeo/gdal.py", line 2939, in Open
return _gdal.Open(*args)
RuntimeError: not a string
Author Name: matteo ghetta (@ghtmtt)
Original Redmine Issue: 16123
Affected QGIS version: 2.18.4
Redmine category:tests_suite
Trying to add the Build Virtual Raster gdal test, the algorithm works fine (output is correctly generated).
But, when trying to right click in the Processing -> History menu in order to add the test in the yaml file, this error appears:
AttributeError: 'NoneType' object has no attribute 'ReadAsArray'
Traceback (most recent call last):
File "/home/matteo/lavori/QGIS/build-qgis3/output/python/plugins/processing/gui/HistoryDialog.py", line 129, in createTest
TestTools.createTest(item.entry.text)
File "/home/matteo/lavori/QGIS/build-qgis3/output/python/plugins/processing/gui/TestTools.py", line 256, in createTest
dataArray = nan_to_num(dataset.ReadAsArray(0))
AttributeError: 'NoneType' object has no attribute 'ReadAsArray'
The text was updated successfully, but these errors were encountered: