#6545 closed defect (fixed)
GDALOpen() does not indicate the failed file if it does not exist
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 2.1.1 |
Component: | default | Version: | 2.1.0 |
Severity: | normal | Keywords: | |
Cc: | warmerdam |
Description
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.
Change History (2)
comment:1 by , 8 years ago
Milestone: | → 2.1.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
trunk r34352, branches/2.1 r34353 "Unix filesystem: make error message about failed open to report the filename (#6545)"