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

Processing Build Virtual Raster not opening #24035

Closed
qgib opened this issue Jan 26, 2017 · 4 comments
Closed

Processing Build Virtual Raster not opening #24035

qgib opened this issue Jan 26, 2017 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Chore GitHub and other CI infrastructure changes
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Jan 26, 2017

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'

@qgib
Copy link
Contributor Author

qgib commented Mar 6, 2017

Author Name: Giovanni Manghi (@gioman)


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


  • version was changed from master to 2.18.4
  • fixed_version_id was configured as Version 2.18

@qgib
Copy link
Contributor Author

qgib commented Mar 6, 2017

Author Name: Giovanni Manghi (@gioman)


  • priority_id was changed from High to Normal

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • regression was configured as 0
  • easy_fix was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Jun 1, 2018

Author Name: Nyall Dawson (@nyalldawson)


Applied in changeset 60a87e9.


  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Jun 1, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Chore GitHub and other CI infrastructure changes labels May 25, 2019
@qgib qgib added this to the Version 2.18 milestone May 25, 2019
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! Chore GitHub and other CI infrastructure changes
Projects
None yet
Development

No branches or pull requests

1 participant