Opened 9 years ago

Last modified 9 years ago

#5838 closed defect

Improve error reporting when using OpenFileGDB driver — at Version 1

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 Jukka Rahkonen)

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 (1)

comment:1 by Jukka Rahkonen, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.