GDALOpen() does not indicate the failed file if it does not exist
|Reported by:||Even Rouault||Owned by:||Even Rouault|
On Unix, since GDAL 2.1, GDALOpen() does not report the file that fails in some contexts, such as when it does not exist:
>>> from osgeo import gdal >>> x = gdal.Open('/abc/def') ERROR 4: No such file or directory
In a context such as a VRT it is particularly unobvious what file or directory does not exist.