/usr/local/lib/python2.5/site-packages/osgeo/gdal.py:81: DeprecationWarning: gdal.py was placed in a namespace, it is now available as osgeo.gdal DeprecationWarning) Running tests from t/ogr_pg.py TEST: ogr_pg_with_and_without_postgis ... TEST: ogr_pg_1 ... PostGIS available ! success TEST: ogr_pg_table_cleanup ... success TEST: ogr_pg_2 ... fail (blowup) Traceback (most recent call last): File "pymod/gdaltest.py", line 99, in run_tests result = func() File "./ogr_pg.py", line 171, in ogr_pg_2 shp_lyr = shp_ds.GetLayer(0) AttributeError: 'NoneType' object has no attribute 'GetLayer' TEST: ogr_pg_19 ... fail Extents do not match TEST: ogr_pg_19_2 ... fail Extents do not match TEST: ogr_pg_3 ... fail GetFeatureCount() returned 0 instead of 10 TEST: ogr_pg_4 ... fail (blowup) Traceback (most recent call last): File "pymod/gdaltest.py", line 99, in run_tests result = func() File "./ogr_pg.py", line 250, in ogr_pg_4 wkt = open( 'data/wkb_wkt/'+item+'.wkt' ).read() IOError: [Errno 2] No such file or directory: 'data/wkb_wkt/10.wkt' TEST: ogr_pg_5 ... fail GetFeatureCount() returned 0 instead of 11 TEST: ogr_pg_6 ... fail Got only 0 features, not the expected 1 features. TEST: ogr_pg_7 ... fail GetFeatureCount() returned 0 instead of 1 TEST: ogr_pg_8 ... fail creating crazy feature failed! TEST: ogr_pg_9 ... fail (blowup) Traceback (most recent call last): File "pymod/gdaltest.py", line 99, in run_tests result = func() File "./ogr_pg.py", line 427, in ogr_pg_9 feat.SetField( 'SHORTNAME', 'Reset' ) AttributeError: 'NoneType' object has no attribute 'SetField' TEST: ogr_pg_10 ... fail (blowup) Traceback (most recent call last): File "pymod/gdaltest.py", line 99, in run_tests result = func() File "./ogr_pg.py", line 494, in ogr_pg_10 fid = feat.GetFID() AttributeError: 'NoneType' object has no attribute 'GetFID' TEST: ogr_pg_11 ... fail (blowup) Traceback (most recent call last): File "pymod/gdaltest.py", line 99, in run_tests result = func() File "./ogr_pg.py", line 546, in ogr_pg_11 shp_lyr = shp_ds.GetLayer(0) AttributeError: 'NoneType' object has no attribute 'GetLayer' TEST: ogr_pg_12 ... fail (blowup) Traceback (most recent call last): File "pymod/gdaltest.py", line 99, in run_tests result = func() File "./ogr_pg.py", line 576, in ogr_pg_12 for i in range(len(gdaltest.poly_feat)): AttributeError: 'module' object has no attribute 'poly_feat' TEST: ogr_pg_13 ... success TEST: ogr_pg_14 ... success TEST: ogr_pg_15 ... fail Got only 0 features, not the expected 1 features. TEST: ogr_pg_16 ... fail Got only 0 features, not the expected 1 features. TEST: ogr_pg_17 ... ERROR 1: No field definitions found for 'JunkTableName', is it a table? success TEST: ogr_pg_18 ... Warning 1: Multi-column primary key in 'geometry_columns' detected but not supported. success TEST: ogr_pg_20 ... success TEST: ogr_pg_21 ... ERROR 1: Reading EWKB with 4-dimensional coordinates (XYZM) is not supported ERROR 1: Reading EWKB with 4-dimensional coordinates (XYZM) is not supported ERROR 1: Reading EWKB with 4-dimensional coordinates (XYZM) is not supported ERROR 1: Reading EWKB with 4-dimensional coordinates (XYZM) is not supported ERROR 1: Reading EWKB with 4-dimensional coordinates (XYZM) is not supported ERROR 1: Reading EWKB with 4-dimensional coordinates (XYZM) is not supported ERROR 1: Reading EWKB with 4-dimensional coordinates (XYZM) is not supported success TEST: ogr_pg_22 ... fail (blowup) Traceback (most recent call last): File "pymod/gdaltest.py", line 99, in run_tests result = func() File "./ogr_pg.py", line 990, in ogr_pg_22 shp_lyr = shp_ds.GetLayer(0) AttributeError: 'NoneType' object has no attribute 'GetLayer' TEST: ogr_pg_23 ... success TEST: ogr_pg_24 ... success TEST: ogr_pg_25 ... success TEST: ogr_pg_26 ... success TEST: ogr_pg_27 ... success TEST: ogr_pg_28 ... success TEST: ogr_pg_29 ... success TEST: ogr_pg_30 ... success TEST: ogr_pg_29 ... success TEST: ogr_pg_31 ... success TEST: ogr_pg_32 ... success TEST: ogr_pg_33 ... success TEST: ogr_pg_34 ... PostGIS available ! success TEST: ogr_pg_35 ... ERROR 1: AddGeometryColumn failed for layer testoverflows, layer creation has failed. success TEST: ogr_pg_36 ... success TEST: ogr_pg_36_bis ... success TEST: ogr_pg_37 ... success TEST: ogr_pg_38 ... success TEST: ogr_pg_39 ... success TEST: ogr_pg_40 ... ERROR 1: Attempt to read feature with unknown feature id (0). success TEST: ogr_pg_41 ... 0 fail TEST: ogr_pg_42 ... 0 fail TEST: ogr_pg_43 ... 3 fail TEST: ogr_pg_44 ... success TEST: ogr_pg_45 ... fail (blowup) Traceback (most recent call last): File "pymod/gdaltest.py", line 99, in run_tests result = func() File "./ogr_pg.py", line 1996, in ogr_pg_45 if feat.GetFID() != tab_feat[3].GetFID(): AttributeError: 'NoneType' object has no attribute 'GetFID' TEST: ogr_pg_46 ... success TEST: ogr_pg_47 ... success TEST: ogr_pg_cleanup ... success TEST: ogr_pg_1 ... PostGIS available but will NOT be used because of PG_USE_POSTGIS=NO ! success TEST: ogr_pg_table_cleanup ... success TEST: ogr_pg_2 ... fail (blowup) Traceback (most recent call last): File "pymod/gdaltest.py", line 99, in run_tests result = func() File "./ogr_pg.py", line 171, in ogr_pg_2 shp_lyr = shp_ds.GetLayer(0) AttributeError: 'NoneType' object has no attribute 'GetLayer' TEST: ogr_pg_19 ... fail Extents do not match TEST: ogr_pg_19_2 ... fail Extents do not match TEST: ogr_pg_3 ... fail GetFeatureCount() returned 0 instead of 10 TEST: ogr_pg_4 ... fail (blowup) Traceback (most recent call last): File "pymod/gdaltest.py", line 99, in run_tests result = func() File "./ogr_pg.py", line 250, in ogr_pg_4 wkt = open( 'data/wkb_wkt/'+item+'.wkt' ).read() IOError: [Errno 2] No such file or directory: 'data/wkb_wkt/10.wkt' TEST: ogr_pg_5 ... fail GetFeatureCount() returned 0 instead of 11 TEST: ogr_pg_6 ... fail Got only 0 features, not the expected 1 features. TEST: ogr_pg_7 ... fail GetFeatureCount() returned 0 instead of 1 TEST: ogr_pg_8 ... success TEST: ogr_pg_9 ... success TEST: ogr_pg_10 ... success TEST: ogr_pg_11 ... fail (blowup) Traceback (most recent call last): File "pymod/gdaltest.py", line 99, in run_tests result = func() File "./ogr_pg.py", line 546, in ogr_pg_11 shp_lyr = shp_ds.GetLayer(0) AttributeError: 'NoneType' object has no attribute 'GetLayer' TEST: ogr_pg_12 ... fail (blowup) Traceback (most recent call last): File "pymod/gdaltest.py", line 99, in run_tests result = func() File "./ogr_pg.py", line 576, in ogr_pg_12 for i in range(len(gdaltest.poly_feat)): AttributeError: 'module' object has no attribute 'poly_feat' TEST: ogr_pg_13 ... success TEST: ogr_pg_14 ... success TEST: ogr_pg_15 ... fail Got only 0 features, not the expected 1 features. TEST: ogr_pg_16 ... fail Got only 0 features, not the expected 1 features. TEST: ogr_pg_17 ... ERROR 1: No field definitions found for 'JunkTableName', is it a table? success TEST: ogr_pg_18 ... skip TEST: ogr_pg_20 ... skip TEST: ogr_pg_21 ... skip TEST: ogr_pg_22 ... fail (blowup) Traceback (most recent call last): File "pymod/gdaltest.py", line 99, in run_tests result = func() File "./ogr_pg.py", line 990, in ogr_pg_22 shp_lyr = shp_ds.GetLayer(0) AttributeError: 'NoneType' object has no attribute 'GetLayer' TEST: ogr_pg_23 ... success TEST: ogr_pg_24 ... success TEST: ogr_pg_25 ... success TEST: ogr_pg_26 ... success TEST: ogr_pg_27 ... success TEST: ogr_pg_28 ... success TEST: ogr_pg_29 ... success TEST: ogr_pg_30 ... success TEST: ogr_pg_29 ... success TEST: ogr_pg_31 ... success TEST: ogr_pg_32 ... skip TEST: ogr_pg_33 ... success TEST: ogr_pg_34 ... PostGIS available but will NOT be used because of PG_USE_POSTGIS=NO ! success TEST: ogr_pg_35 ... success TEST: ogr_pg_36 ... success TEST: ogr_pg_36_bis ... success TEST: ogr_pg_37 ... skip TEST: ogr_pg_38 ... skip TEST: ogr_pg_39 ... success TEST: ogr_pg_40 ... ERROR 1: Attempt to read feature with unknown feature id (0). success TEST: ogr_pg_41 ... 0 fail TEST: ogr_pg_42 ... 0 fail TEST: ogr_pg_43 ... 2 fail TEST: ogr_pg_44 ... success TEST: ogr_pg_45 ... fail (blowup) Traceback (most recent call last): File "pymod/gdaltest.py", line 99, in run_tests result = func() File "./ogr_pg.py", line 1991, in ogr_pg_45 if feat.GetFID() != tab_feat[2].GetFID(): AttributeError: 'NoneType' object has no attribute 'GetFID' TEST: ogr_pg_46 ... success TEST: ogr_pg_47 ... skip TEST: ogr_pg_cleanup ... success success ------------ Failures ------------ Script: t/ogr_pg.py TEST: ogr_pg_2 ... fail (blowup) TEST: ogr_pg_19 ... fail Extents do not match TEST: ogr_pg_19_2 ... fail Extents do not match TEST: ogr_pg_3 ... fail GetFeatureCount() returned 0 instead of 10 TEST: ogr_pg_4 ... fail (blowup) TEST: ogr_pg_5 ... fail GetFeatureCount() returned 0 instead of 11 TEST: ogr_pg_6 ... fail Got only 0 features, not the expected 1 features. TEST: ogr_pg_7 ... fail GetFeatureCount() returned 0 instead of 1 TEST: ogr_pg_8 ... fail creating crazy feature failed! TEST: ogr_pg_9 ... fail (blowup) TEST: ogr_pg_10 ... fail (blowup) TEST: ogr_pg_11 ... fail (blowup) TEST: ogr_pg_12 ... fail (blowup) TEST: ogr_pg_15 ... fail Got only 0 features, not the expected 1 features. TEST: ogr_pg_16 ... fail Got only 0 features, not the expected 1 features. TEST: ogr_pg_22 ... fail (blowup) TEST: ogr_pg_41 ... fail TEST: ogr_pg_42 ... fail TEST: ogr_pg_43 ... fail TEST: ogr_pg_45 ... fail (blowup) Script: t/ogr_pg.py TEST: ogr_pg_2 ... fail (blowup) TEST: ogr_pg_19 ... fail Extents do not match TEST: ogr_pg_19_2 ... fail Extents do not match TEST: ogr_pg_3 ... fail GetFeatureCount() returned 0 instead of 10 TEST: ogr_pg_4 ... fail (blowup) TEST: ogr_pg_5 ... fail GetFeatureCount() returned 0 instead of 11 TEST: ogr_pg_6 ... fail Got only 0 features, not the expected 1 features. TEST: ogr_pg_7 ... fail GetFeatureCount() returned 0 instead of 1 TEST: ogr_pg_11 ... fail (blowup) TEST: ogr_pg_12 ... fail (blowup) TEST: ogr_pg_15 ... fail Got only 0 features, not the expected 1 features. TEST: ogr_pg_16 ... fail Got only 0 features, not the expected 1 features. TEST: ogr_pg_22 ... fail (blowup) TEST: ogr_pg_41 ... fail TEST: ogr_pg_42 ... fail TEST: ogr_pg_43 ... fail TEST: ogr_pg_45 ... fail (blowup) ---------------------------------- Test Script: t/ogr_pg.py Succeeded: 61 Failed: 37 (14 blew exceptions) Skipped: 7 Expected fail:0