#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.
_______________________________________________
osgeo4w-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev