#7156 closed defect (fixed)
ogrinfo: Nonsensical error when trying to open file that is locked for writing
Reported by: | Alan Thomas | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | svn-trunk |
Severity: | normal | Keywords: | |
Cc: |
Description
If I have color.dxf
open in AutoCAD, which locks the file for editing, I see the following contradictory message printed to stderr when I run ogrinfo:
Warning 4: Failed to open c:\.....\color.dxf, No error.
Presumably this is coming from the pcraster driver:
$ git grep \"No\ error gdal/frmts/pcraster/libcsf/mperror.c:"No error",
It wouldn't be so bad if it was a debug message, but it gets printed to stderr, which is quite annoying.
Note:
See TracTickets
for help on using tickets.
In 40790: