Re: [gdal-dev] How to run autotest

2019-04-09 Thread Fengting Chen
I did run scripts/setdevenv.sh and the path looks correct. ogrinfo runs ok too: bash-4.2$ ogrinfo Usage: ogrinfo [--help-general] [-ro] [-q] [-where restricted_where|@filename]    [-spat xmin ymin xmax ymax] [-geomfield field] [-fid fid]    [-sql statement|@filename] [-

Re: [gdal-dev] How to run autotest

2019-04-09 Thread Andrew C Aitchison
On Tue, 9 Apr 2019, Fengting Chen wrote: gdalinfo and gdal_translate are working fine. just pytest failed with the same error. Here is my configure: ./configure --prefix=${PREFIX} \   --without-libtool \   --disable-rpath \   --with-libz=internal \   --with-png=internal \   --with-libtiff=int

Re: [gdal-dev] How to run autotest

2019-04-09 Thread Fengting Chen
gdalinfo and gdal_translate are working fine. just pytest failed with the same error. Here is my configure: ./configure --prefix=${PREFIX} \   --without-libtool \   --disable-rpath \   --with-libz=internal \   --with-png=internal \   --with-libtiff=internal \   --with-geotiff=internal \   --wit

Re: [gdal-dev] How to run autotest

2019-04-09 Thread Even Rouault
On lundi 8 avril 2019 17:20:45 CEST Fengting Chen wrote: > I rebuilt GDAl with python bindings without errors. Now I got a > different error: > > ImportError while loading conftest > '/scratch/gdal/gdal/autotest/conftest.py'. > /home/fechen/.local/lib/python2.7/site-packages/six.py:709: in exec_ >