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

OSGeo4W trac_osgeo4w at osgeo.org
Fri Aug 5 04:29:33 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 Titsl):

 Replying to [comment:5 jef]:
 > Apparently happens when the garbage collector is running as
 >
 > {{{
 > import gc
 > gc.disable()
 > }}}
 >
 > avoids the crash.

 Thanks for the tip!
 I included it in the script, but it does not change anything. Python still
 crashes.

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/466#comment:6>
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