#5838 closed defect (fixed)
Improve error reporting when using OpenFileGDB driver
Reported by: | jpalmer | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 2.0.0 |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | openfilegdb |
Cc: |
Description (last modified by )
When trying to open a FileGDB using the OpenFileGDB driver and the user does not have permission to read the table file OGR returns a debug message which can be cryptic for a normal user. e.g: Error occurred in xx at line xxx
I've tracked the issue down to this code:
http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/openfilegdb/filegdbtable.cpp#L593
Can this be improved to a message like: "Failed to open table xx -Permission denied".
Change History (4)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
comment:2 by , 9 years ago
Component: | default → OGR_SF |
---|---|
Keywords: | openfilegdb added |
Milestone: | → 2.0 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
After r28457 "OpenFileGDB: improve error reporting when file exists but cannot be opened due to permission problem (#5838)"
on a directory where files can be listed but the user hasn't read permission: