Opened 14 years ago
Closed 14 years ago
#3340 closed defect (fixed)
ogr_mitab autotest failure
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | svn-trunk |
Severity: | normal | Keywords: | mitab |
Cc: |
Description
I am seeing a failure in the autotest suite when run as a whole looking something like:
Script: ogr/ogr_mitab.py TEST: ogr_mitab_3 ... fail geometry names do not match TEST: ogr_mitab_4 ... fail (blowup) TEST: ogr_mitab_5 ... fail did not find required field eas_id TEST: ogr_mitab_8 ... fail geometry names do not match
ogr_mitab.py works fine in isolation. I have narrowed things down and discovered the problem goes away if the first DeleteDataSource() call in ogr_vrt_14 is commented out, which is an attempt to delete the "tmp" directory as an OGR datasource. (note the one at the end of this function can be left operational).
I have not yet been able to establish why this is happening.
This has occurred on an intel 32bit linux build with optimization (on iweb.gdal.org) and has been reported by at least one other person on a 64bit system (likely linux). It was with the 1.7.0RC1 source and autotest snapshots.
Fixed in trunk (r19513) and in branches/1.7 (r19514). At least I've reproduced the issue and fixed it when running autotest without GEOS support. 2 tests in ogr_vrt.py exited without cleaning created files