Bug report #17859
Qgis 2.18.15 still crashes when trying to use Gdal ReadAsArray() function in an script
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Jürgen Fischer | ||
Category: | Windows Package | ||
Affected QGIS version: | 2.18.15 | Regression?: | No |
Operating System: | Windows 7 Professional (64 bits) | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | no timely feedback |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 25754 |
Description
This issue (minidump crash) seems to be fix when using Python console, but it still happends to me when trying to execute and script.
The function is as simple as:
def transformaRasterEnArray(banda):
matriz=banda.ReadAsArray()
return matriz
I have delete and reinstalled QGis v. 2.14 and v.2.18.11 and v.2.1815 from my computer (Windows 7 64bits platform) several times, both from qgis.org and form OSGeo4W and it always cash when executing the shown function.
Any idea?
Thank you for your attention
History
#1 Updated by Jürgen Fischer almost 6 years ago
- Status changed from Open to Feedback
Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.
#2 Updated by Nyall Dawson almost 6 years ago
- Resolution set to no timely feedback
- Status changed from Feedback to Closed