Folks,<br><br>I'm just trying to run the python tests as a part of my regular builds, however the test mentioned above causes a crash either with Python25 or Python26 all the time.<br>Could someone point me to a possible workaround to this issue? A fragment of the test output attached below:<br>
<br><br><br>Running tests from gdrivers/gmt.py<br> TEST: gmt_1 ... success<br> TEST: gmt_2 ... success<br>Running tests from gdrivers/grass.py<br> TEST: grass_1 ... success<br> TEST: grass_2 ... skip<br>Running tests from gdrivers/grib.py<br>
TEST: grib_1 ... success<br>Running tests from gdrivers/gsc.py<br> TEST: gsc_1 ... success<br>Running tests from gdrivers/gsg.py<br> TEST: gsg_1 ... success<br> TEST: gsg_2 ... success<br> TEST: gsg_3 ... success<br>
TEST: gsg_4 ... success<br> TEST: gsg_5 ... success<br>Running tests from gdrivers/gxf.py<br> TEST: gxf_1 ... success<br> TEST: : SAMPLE.GXF ... Downloading <a href="http://download.osgeo.org/gdal/data/gxf/SAM">http://download.osgeo.org/gdal/data/gxf/SAM</a><br>
PLE.GXF (length = 437236 bytes)...<br>success<br> TEST: : gxf_compressed.gxf ... Downloading <a href="http://download.osgeo.org/gdal/data">http://download.osgeo.org/gdal/data</a><br>/gxf/gxf_compressed.gxf (length = 316502 bytes)...<br>
success<br> TEST: : gxf_text.gxf ... Downloading <a href="http://download.osgeo.org/gdal/data/gxf/g">http://download.osgeo.org/gdal/data/gxf/g</a><br>xf_text.gxf (length = 692562 bytes)...<br>success<br> TEST: : gxf_ul_r.gxf ... Downloading <a href="http://download.osgeo.org/gdal/data/gxf/g">http://download.osgeo.org/gdal/data/gxf/g</a><br>
xf_ul_r.gxf (length = 316502 bytes)...<br>success<br> TEST: : latlong.gxf ... Downloading <a href="http://download.osgeo.org/gdal/data/gxf/la">http://download.osgeo.org/gdal/data/gxf/la</a><br>tlong.gxf (length = 270333 bytes)...<br>
success<br> TEST: : spif83.gxf ... Downloading <a href="http://download.osgeo.org/gdal/data/gxf/spi">http://download.osgeo.org/gdal/data/gxf/spi</a><br>f83.gxf (length = 1081848 bytes)...<br>success<br>Running tests from gdrivers/hdf5.py<br>
TEST: hdf5_1 ... success<br> TEST: : HDF5:"C1979091.h5"://HDF4_PALGROUP/HDF4_PALETTE_2 ... Downloading ftp:<br>//<a href="http://ftp.hdfgroup.uiuc.edu/hdf_files/hdf5/samples/convert/C1979091.h5.">ftp.hdfgroup.uiuc.edu/hdf_files/hdf5/samples/convert/C1979091.h5.</a>..<br>
success<br> TEST: : HDF5:"C1979091.h5"://Raster_Image_#0 ... success<br> TEST: : HDF5:"half_moon_bay.grid"://HDFEOS/GRIDS/DEMGRID/Data_Fields/Elevation<br> ... Downloading <a href="ftp://ftp.hdfgroup.uiuc.edu/hdf_files/hdf5/geospatial/DEM/half_">ftp://ftp.hdfgroup.uiuc.edu/hdf_files/hdf5/geospatial/DEM/half_</a><br>
moon_bay.grid...<br>success<br>Running tests from gdrivers/hfa.py<br> TEST: hfa_histread ... success<br> TEST: hfa_histwrite ... success<br> TEST: hfa_int_stats_1 ... success<br> TEST: hfa_int_stats_2 ... success<br> TEST: hfa_float_stats_1 ... success<br>
TEST: hfa_float_stats_2 ... success<br> TEST: hfa_int_read ... success<br> TEST: hfa_float_read ... success<br> TEST: hfa_pe_read ... success<br> TEST: hfa_pe_write ... success<br> TEST: hfa_metadata_1 ... success<br>
TEST: hfa_metadata_2 ... success<br> TEST: hfa_grow_rrdlist ... success<br> TEST: hfa_clean_ige ... success<br> TEST: hfa_corrupt_aux ... success<br> TEST: hfa_mapinformation_units ... success<br> TEST: hfa_nodata_write ... success<br>
TEST: hfa_nodata_read ... success<br> TEST: hfa_rotated_read ... success<br> TEST: hfa_rotated_write ... Expected: PROJCS["NAD83_Virginia_North",GEOGCS["GC<br>S_North_American_1983",DATUM["North_American_Datum_1983",SPHEROID["GRS_1980",637<br>
8137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],<br>PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.2],<br>PARAMETER["standard_parallel_2",38.03333333333333],PARAMETER["latitude_of_origin<br>
",37.66666666666666],PARAMETER["central_meridian",-78.5],PARAMETER["false_eastin<br>g",11482916.66666667],PARAMETER["false_northing",6561666.666666667],PARAMETER["s<br>cale_factor",1.0],UNIT["Foot_US",0.30480060960121924]]<br>
Got: PROJCS["Lambert Conformal Conic",GEOGCS["NAD83",DATUM["North_American_<br>Datum_1983",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],<br>
TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6269"]],PRIMEM["Greenwich",0,AUTHORITY[<br>"EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AUTHO<br>
RITY["EPSG","4269"]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standa<br>rd_parallel_1",39.2],PARAMETER["standard_parallel_2",38.03333333333333],PARAMETE<br>R["latitude_of_origin",37.66666666666666],PARAMETER["central_meridian",-78.5],PA<br>
RAMETER["false_easting",11482916.66666667],PARAMETER["false_northing",6561666.66<br>6666668],UNIT["us_survey_feet",0.3048006096012192]]<br>fail<br> SRS differs from expected.<br> TEST: hfa_vsimem ... success<br>
TEST: hfa_proName ... success<br> TEST: hfa_read_empty_compressed ... success<br> TEST: hfa_unique_values_color_table ... success<br> TEST: hfa_xforms_3rd ... success<br> TEST: hfa_delete_colortable ... fail (blowup)<br>
Traceback (most recent call last):<br> File "pymod\gdaltest.py", line 99, in run_tests<br> result = func()<br> File ".\hfa.py", line 832, in hfa_delete_colortable<br> ds.GetRasterBand(1).SetColorTable(None)<br>
AttributeError: 'NoneType' object has no attribute 'GetRasterBand'<br>Running tests from gdrivers/ida.py<br> TEST: ida_1 ... success<br> TEST: ida_2 ... success<br> TEST: ida_3 ... success<br> TEST: ida_4 ... success<br>
TEST: ida_5 ... success<br> TEST: ida_6 ... success<br> TEST: ida_7 ... success<br>Running tests from gdrivers/idrisi.py<br> TEST: idrisi_1 ... success<br> TEST: idrisi_2 ... success<br> TEST: idrisi_3 ... success<br>
TEST: idrisi_4 ... success<br> TEST: idrisi_cleanup ... success<br>Running tests from gdrivers/ilwis.py<br> TEST: ilwis_1 ... success<br> TEST: ilwis_2 ... success<br> TEST: ilwis_3 ... success<br> TEST: ilwis_4 ... success<br>
TEST: ilwis_5 ... success<br> TEST: ilwis_cleanup ... success<br>Running tests from gdrivers/ingr.py<br> TEST: ingr_1 ... success<br> TEST: ingr_2 ... success<br> TEST: ingr_3 ... success<br> TEST: ingr_4 ... success<br>
TEST: ingr_5 ... success<br> TEST: ingr_6 ... success<br> TEST: ingr_7 ... success<br> TEST: ingr_8 ... success<br> TEST: ingr_9 ... success<br> TEST: ingr_10 ... success<br> TEST: ingr_11 ... success<br> TEST: ingr_12 ... success<br>
TEST: ingr_13 ... success<br> TEST: ingr_14 ... success<br> TEST: ingr_15 ... success<br> TEST: ingr_16 ... success<br>Running tests from gdrivers/isis.py<br> TEST: isis_1 ... success<br> TEST: isis_2 ... success<br>
Running tests from gdrivers/isis2.py<br> TEST: isis2_1 ... success<br>Running tests from gdrivers/jdem.py<br> TEST: jdem_1 ... success<br>Running tests from gdrivers/jp2kak.py<br> TEST: jp2kak_1 ... skip<br> TEST: jp2kak_2 ... skip<br>
TEST: jp2kak_3 ... skip<br> TEST: jp2kak_4 ... skip<br> TEST: jp2kak_5 ... skip<br> TEST: jp2kak_6 ... skip<br> TEST: jp2kak_7 ... skip<br> TEST: jp2kak_8 ... skip<br> TEST: jp2kak_9 ... skip<br> TEST: jp2kak_10 ... skip<br>
TEST: jp2kak_cleanup ... success<br>Running tests from gdrivers/jpeg.py<br> TEST: jpeg_1 ... success<br> TEST: jpeg_2 ... success<br> TEST: jpeg_3 ... success<br> TEST: jpeg_4 ... success<br> TEST: jpeg_5 ... success<br>
TEST: jpeg_6 ... success<br> TEST: jpeg_7 ... success<br> TEST: jpeg_8 ... success<br> TEST: jpeg_9 ... success<br>Running tests from gdrivers/jpeg2000.py<br> TEST: jpeg2000_1 ... Deregistering JP2ECW<br>success<br>
TEST: jpeg2000_2 ... skip<br> TEST: jpeg2000_3 ... skip<br> TEST: jpeg2000_4 ... skip<br> TEST: jpeg2000_5 ... skip<br> TEST: jpeg2000_6 ... skip<br> TEST: jpeg2000_online_1 ... skip<br> TEST: jpeg2000_online_2 ... skip<br>
TEST: jpeg2000_online_3 ... skip<br> TEST: jpeg2000_online_4 ... skip<br> TEST: jpeg2000_cleanup ... Registering JP2ECW<br>success<br>Running tests from gdrivers/l1b.py<br> TEST: : n12gac8bit.l1b ... Downloading <a href="http://download.osgeo.org/gdal/data/l1b">http://download.osgeo.org/gdal/data/l1b</a><br>
/n12gac8bit.l1b (length = 99962 bytes)...<br>success<br> TEST: : n12gac10bit.l1b ... Downloading <a href="http://download.osgeo.org/gdal/data/l1">http://download.osgeo.org/gdal/data/l1</a><br>b/n12gac10bit.l1b (length = 128922 bytes)...<br>
success<br> TEST: : n14gac16bit.l1b ... Downloading <a href="http://download.osgeo.org/gdal/data/l1">http://download.osgeo.org/gdal/data/l1</a><br>b/n14gac16bit.l1b (length = 199882 bytes)...<br>success<br> TEST: : n15gac8bit.l1b ... Downloading <a href="http://download.osgeo.org/gdal/data/l1b">http://download.osgeo.org/gdal/data/l1b</a><br>
/n15gac8bit.l1b (length = 151040 bytes)...<br>success<br> TEST: : n16gac10bit.l1b ... Downloading <a href="http://download.osgeo.org/gdal/data/l1">http://download.osgeo.org/gdal/data/l1</a><br>b/n16gac10bit.l1b (length = 198656 bytes)...<br>
success<br> TEST: : n17gac16bit.l1b ... Downloading <a href="http://download.osgeo.org/gdal/data/l1">http://download.osgeo.org/gdal/data/l1</a><br>b/n17gac16bit.l1b (length = 231424 bytes)...<br>success<br> TEST: : frang.1b ... Downloading 30000 bytes from <a href="http://www2.ncdc.noaa.gov/do">http://www2.ncdc.noaa.gov/do</a><br>
cs/podug/data/avhrr/frang.1b...<br>success<br> TEST: : franh.1b ... Downloading 100000 bytes from <a href="http://www2.ncdc.noaa.gov/d">http://www2.ncdc.noaa.gov/d</a><br>ocs/podug/data/avhrr/franh.1b...<br>success<br> TEST: : calfirel.1b ... Downloading 30000 bytes from <a href="http://www2.ncdc.noaa.gov">http://www2.ncdc.noaa.gov</a><br>
/docs/podug/data/avhrr/calfirel.1b...<br>success<br> TEST: : rapnzg.1b ... Downloading 30000 bytes from <a href="http://www2.ncdc.noaa.gov/d">http://www2.ncdc.noaa.gov/d</a><br>ocs/podug/data/avhrr/rapnzg.1b...<br>success<br>
TEST: : noaa18.n1b ... Downloading 50000 bytes from <a href="ftp://ftp.sat.dundee.ac.uk">ftp://ftp.sat.dundee.ac.uk</a><br>/misc/testdata/new_noaa/new_klm_format/noaa18.n1b...<br>success<br> TEST: : noaa1b ... Downloading 150000 bytes from <a href="ftp://ftp.sat.dundee.ac.uk/mi">ftp://ftp.sat.dundee.ac.uk/mi</a><br>
sc/testdata/metop/noaa1b...<br>success<br>Running tests from gdrivers/lan.py<br> TEST: lan_1 ... success<br> TEST: lan_2 ... success<br>Running tests from gdrivers/lcp.py<br> TEST: lcp_1 ... success<br> TEST: lcp_2 ... success<br>
Running tests from gdrivers/leveller.py<br> TEST: leveller_1 ... success<br>Running tests from gdrivers/mem.py<br> TEST: mem_1 ... success<br> TEST: mem_2 ... skip<br> TEST: mem_3 ... success<br> TEST: mem_cleanup ... success<br>
Running tests from gdrivers/mff.py<br> TEST: mff_1 ... success<br> TEST: mff_2 ... success<br> TEST: mff_3 ... success<br>Running tests from gdrivers/mff2.py<br> TEST: mff2_1 ... success<br>Running tests from gdrivers/mrsid.py<br>
TEST: mrsid_1 ... success<br> TEST: mrsid_2 ... success<br> TEST: mrsid_3 ... success<br> TEST: mrsid_4 ... success<br> TEST: mrsid_5 ... skip<br> TEST: mrsid_6 ... skip<br> TEST: mrsid_7 ... skip<br> TEST: mrsid_online_1 ... skip<br>
TEST: mrsid_online_2 ... skip<br> TEST: mrsid_online_3 ... skip<br> TEST: mrsid_online_4 ... skip<br> TEST: mrsid_cleanup ... success<br>Running tests from gdrivers/ndf.py<br> TEST: ndf_1 ... success<br>Running tests from gdrivers/netcdf.py<br>
TEST: netcdf_1 ... success<br> TEST: netcdf_2 ... success<br> TEST: netcdf_3 ... success<br> TEST: netcdf_4 ... success<br>Running tests from gdrivers/nitf.py<br> TEST: nitf_1 ... success<br> TEST: nitf_2 ... success<br>
TEST: nitf_3 ... success<br> TEST: nitf_4 ... success<br> TEST: nitf_5 ... success<br> TEST: nitf_6 ... success<br> TEST: nitf_7 ... success<br> TEST: nitf_8 ... success<br> TEST: nitf_9 ... success<br> TEST: nitf_10 ... success<br>
TEST: nitf_11 ... success<br> TEST: nitf_12 ... success<br> TEST: nitf_13 ... success<br> TEST: nitf_14 ... success<br> TEST: nitf_15 ... success<br> TEST: nitf_16 ... success<br> TEST: nitf_17 ... success<br> TEST: nitf_18 ... success<br>
TEST: nitf_19 ... success<br> TEST: nitf_20 ... success<br> TEST: nitf_21 ... success<br> TEST: nitf_22 ... success<br> TEST: nitf_23 ... success<br> TEST: nitf_24 ... success<br> TEST: nitf_25 ... success<br> TEST: nitf_26 ... success<br>
TEST: nitf_27 ... success<br> TEST: nitf_28_jp2ecw ... success<br> TEST: nitf_28_jp2mrsid ... skip<br> TEST: nitf_28_jp2kak ... skip<br> TEST: nitf_29 ... success<br> TEST: nitf_30 ... success<br> TEST: nitf_31 ... success<br>
TEST: nitf_32 ... success<br> TEST: nitf_33 ... success<br> TEST: nitf_34 ... success<br> TEST: nitf_35 ... success<br> TEST: nitf_36 ... 4.96162341488e+24 3.06042744026e+25<br>fail<br> did not get expected mean or standard dev.<br>
TEST: nitf_37 ... NMAKE : fatal error U1077: 'E:\builds\Python26\python.exe' :<br> return code '0xc0000409'<br>Stop.<br><br><br><br>Thanks,<br><br>Tamas<br><br><br>