I'm trying to debug it in my machine. But after building in debug mode
enabling the environment with
. ../scripts/setdevenv.sh
the exceptions are not thrown any more in python (neither with
multithread=False)
On Sat, 1 Mar 2025 at 19:56, Sean Gillies via gdal-dev <
gdal-dev@lists.osgeo.org> wrote:
Does it also happen without S3, just with local files?
It would simplify the analysis
On Sat, 1 Mar 2025, 01:01 Tim Harris via gdal-dev,
wrote:
> Hi, I'm having some trouble warping a VRT to a TIF where the VRT and its
> constituent rasters are in S3. It stems from a random read error, but the
>
Hi Tim,
UseExceptions() might only affect your main thread. You may want to check
in GDAL's code to see if this is the case. At any rate, you won't be able
to handle Python exceptions that you might see raised from the warp threads.
Hope this helps,
On Sat, Mar 1, 2025 at 11:30 AM Tim Harris via
Aha, yes, it does appear to happen just with local files. In my attempts to
create a reproduce case yesterday, I overlooked that part. I did try it
early on but just with a single TIF in the VRT, in which case it does the
right thing and raises an exception. But with two TIFs and one missing, it
be