[osgeo4w-dev] [osgeo4w] #466: Python stopped working when using python gdal_calc and band.ReadAsArray() on Windows

OSGeo4W trac_osgeo4w at osgeo.org
Thu Jun 9 00:41:06 PDT 2016


#466: Python stopped working when using python gdal_calc and band.ReadAsArray()
on Windows
------------------------+----------------------------
Reporter:  miro         |       Owner:  osgeo4w-dev@…
    Type:  defect       |      Status:  new
Priority:  major        |   Component:  Package
 Version:               |  Resolution:
Keywords:  gdal python  |
------------------------+----------------------------

Comment (by mcserep):

 I would like to confirm that this is still an issue and not only with
 `gdal_calc`, but also with other python tools like `gdal_merge` and
 `gdal2tiles`.

 Everything installed by OSGeo4W64 package manager,
  - GDAL version: 2.0.2
  - Python version: 2.7.5

 I reproduced this issue on multiple computers with the following operating
 systems:
  - Windows 7 x64
  - Windows 8 x64
  - Windows 10 x64

 This problem restricts writing scripts around these GDAL tools and
 disabling crash dialogs is just a nasty workaround, not a real solution.

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/466#comment:2>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list