Re: [gdal-dev] Python IOError during file object destructor

2019-08-21 Thread Even Rouault
Craig, gdal.GDALDestroyDriverManager() exists in the SWIG binding but I would definitely not recommend using it. At best, it will be a no-op. At worst, this will result in double free of datasets. The only situations I can think of where you would have still-alive GDAL datasets at Python proce

[gdal-dev] Python IOError during file object destructor

2019-08-20 Thread Craig de Stigter
Hey there We're using the python bindings to do all sorts of translates and warps and things, and I don't have a proper traceback but we got this in some of our processes lately: Exit code: 0 stderr: ... close failed in file object destructor: IOError: [Errno 5] Input/output error