[gdal-dev] GDAL 2.3.3 rc2 available

Marco Atzeri marco.atzeri at gmail.com
Sat Dec 15 00:05:34 PST 2018


Am 14.12.2018 um 16:54 schrieb Even Rouault:
> Hi,
> 
> Just fixing the issue that Bas noted.
> 
> The source is available at:
> 
>      http://download.osgeo.org/gdal/2.3.3/gdal-2.3.3rc2.tar.xz

builds fine as usual on cygwin but the autotest has some problems.
It always had, I never completed them, but this time I decided to look
in more depth.

Extract of output:

----------------------------------------------------
$ grep TEST run_all.log | grep -v "success" | grep -v skip
   TEST: ogr_carto_vsimem ... Warning 1: Cannot register table in 
dashboard with cdb_cartodbfytable() since its SRS is not EPSG:4326
   TEST: ogr_couchdb_init ... HTTP service for http://127.0.0.1:5984 is 
down (HTTP Error: [Errno 111] Connection refused)
   TEST: ogr_csv_18 ... WKT,foo,bar
   TEST: ogr_dxf_43 ... Warning 1: Dangerous block recursion detected. 
Some blocks have not been inserted.
   TEST: ogr_gxt_3 ... ERROR 1: Line 9, Missing fields (at least 5 are 
expected, 1 found).
   TEST: ogr_geojson_13 ... {
   TEST: ogr_geom_polyhedral_surface ... ERROR 6: SFCGAL support not 
enabled.
   TEST: ogr_geom_tin ... ERROR 6: SFCGAL support not enabled.
   TEST: ogr_gft_read ... ERROR 1: HTTP error code : 401
   TEST: ogr_gml_11 ... Touching .gfs file
   TEST: ogr_gml_59 ... Touching .gfs file
   TEST: ogr_gml_60 ... ERROR 1: Could not resolve host: not_existing_host
   TEST: ogr_gml_61 ... Touching .gfs file
   TEST: ogr_gpkg_15 ... cannot load libproj.so, proj.dll, proj-9.dll, 
libproj-0.dll, libproj-10.dll, cygproj-10.dll or libproj.dylib
   TEST: ogr_gpkg_18 ... fail
   TEST: ogr_gpkg_cleanup ... ['ogr_gpkg_18.gpkg']
   TEST: ogr_gpsbabel_init ... Cannot access GPSBabel utility
   TEST: ogr_index_1 ... ERROR 3: Failed to parse field definition in 
file index_p.mif
   TEST: ogr_index_3 ... Traceback (most recent call last):
   TEST: ogr_index_8 ... Traceback (most recent call last):
   TEST: ogr_index_cleanup ... ERROR 3: Failed to parse field definition 
in file index_p.mif
   TEST: ogr_mitab_3 ... ERROR 3: Failed to parse field definition at 
line 14 in file tmp/tpoly.tab
   TEST: ogr_mitab_6 ...  Segmentation fault (core dumped)
--------------------------------------------------------

ogr_mitab_6
the SEG Fault makes the test sequence to stop at all so
nothing is available after. This is a weakness of using python
to recorsive run the tests.


ogr_gpkg_15
is not aware that last shared lib is cygproj-13.dll
for proj-5.x but the final result is "success" so I am puzzled,
it passed or failed ?
When I added the proper cygproj-13.dll to osr/osr_proj4.py
than it is fine. The funny thing is that there were never a
"libproj-10.dll", "cygproj-10.dll" as the API sequences was 9, 12, 13
so a different method should be used


In most of the other cases the test results is in rows below,
that makes wondering if a test polishing is needed to avoid
the extra output or if the "success" is misleading

----------------------------------------------------------
   TEST: ogr_carto_vsimem ... Warning 1: Cannot register table in 
dashboard with cdb_cartodbfytable() since its SRS is not EPSG:4326
success

   TEST: ogr_couchdb_init ... HTTP service for http://127.0.0.1:5984 is 
down (HTTP Error: [Errno 111] Connection refused)
cannot open http://127.0.0.1:5984
skip

   TEST: ogr_csv_18 ... WKT,foo,bar
"POINT (0 1)",bar,baz
success

   TEST: ogr_dxf_43 ... Warning 1: Dangerous block recursion detected. 
Some blocks have not been inserted.
Warning 1: Dangerous block recursion detected. Some blocks have not been 
inserted.
success

   TEST: ogr_gxt_3 ... ERROR 1: Line 9, Missing fields (at least 5 are 
expected, 1 found).
ERROR 1: Line 9, Missing fields (at least 5 are expected, 1 found).
ERROR 1: Line 9, Missing fields (at least 5 are expected, 1 found).
success

   TEST: ogr_geojson_13 ... {
"type": "FeatureCollection",
"name": "gjpoint",
"features": [
{ "type": "Feature", "properties": { "FID": 1.0, "NAME": "Point 1" }, 
"geometry": { "type": "Point", "coordinates": [ 100.0, 0.0 ] } }
]
}
success

   TEST: ogr_geom_polyhedral_surface ... ERROR 6: SFCGAL support not 
enabled.
success

   TEST: ogr_geom_tin ... ERROR 6: SFCGAL support not enabled.
success

   TEST: ogr_gml_11 ... Touching .gfs file
success

   TEST: ogr_gml_59 ... Touching .gfs file
success

   TEST: ogr_gml_60 ... ERROR 1: Could not resolve host: not_existing_host
success

   TEST: ogr_gml_61 ... Touching .gfs file
success

   TEST: ogr_index_cleanup ... ERROR 3: Failed to parse field definition 
in file index_p.mif
ERROR 6: COLUMNS keyword not found or invalid number of columns read in 
index_p.mif.  File may be corrupt.
success
------------------------------------------------------------


The real errors seem

   TEST: ogr_index_1 ... ERROR 3: Failed to parse field definition in 
file index_p.mif
ERROR 6: COLUMNS keyword not found or invalid number of columns read in 
index_p.mif.  File may be corrupt.
Traceback (most recent call last):
   File "pymod/gdaltest_python2.py", line 43, in run_func
     result = func()
   File "./ogr_index_test.py", line 80, in ogr_index_1
     gdaltest.p_lyr = gdaltest.p_ds.GetLayerByName('index_p')
AttributeError: 'NoneType' object has no attribute 'GetLayerByName'
fail (blowup)

   TEST: ogr_index_3 ... Traceback (most recent call last):
   File "pymod/gdaltest_python2.py", line 43, in run_func
     result = func()
   File "./ogr_index_test.py", line 124, in ogr_index_3
     sql_lyr = gdaltest.p_ds.ExecuteSQL(
AttributeError: 'NoneType' object has no attribute 'ExecuteSQL'
fail (blowup)

   TEST: ogr_index_8 ... Traceback (most recent call last):
   File "pymod/gdaltest_python2.py", line 43, in run_func
     result = func()
   File "./ogr_index_test.py", line 213, in ogr_index_8
     sql_lyr = gdaltest.p_ds.ExecuteSQL(
AttributeError: 'NoneType' object has no attribute 'ExecuteSQL'
fail (blowup)

   TEST: ogr_mitab_3 ... ERROR 3: Failed to parse field definition at 
line 14 in file tmp/tpoly.tab
Traceback (most recent call last):
   File "pymod/gdaltest_python2.py", line 43, in run_func
     result = func()
   File "./ogr_mitab.py", line 124, in ogr_mitab_3
     gdaltest.mapinfo_lyr = gdaltest.mapinfo_ds.GetLayer(0)
AttributeError: 'NoneType' object has no attribute 'GetLayer'
fail (blowup)

   TEST: ogr_mitab_6 ...  Segmentation fault (core dumped)
--------------------------------------------------

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus



More information about the gdal-dev mailing list