[gdal-dev] How to run autotest

classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

[gdal-dev] How to run autotest

Fengting Chen

Hi,

I followed the description in CONTRIUBTING.md on running autotest suite:

cd ../autotest
pip install -r requirements.txt
pytest

At the last step, pytest gave the following error:

ImportError while loading conftest '/scratch/gdal/gdal/autotest/conftest.py'.
/home/fechen/.local/lib/python2.7/site-packages/six.py:709: in exec_
    exec("""exec _code_ in _globs_, _locs_""")
conftest.py:9: in <module>
    from osgeo import gdal
E   ImportError: No module named osgeo

Any thing I need to do to fix this?

Thanks,

-Fengting



_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

Even Rouault-2
Fengting,

2 things to check:
- first that the python bindings have been built. Did you ./configure --with-
python ? Or alternatively "cd swig/python && make"
- and that the Python buindings are in the PYTHONPATH. Sourcing scripts/
setdevenv.sh will do it

Even

> Hi,
>
> I followed the description in CONTRIUBTING.md on running autotest suite:
>
> /cd ../autotest//
> //pip install -r requirements.txt//
> //pytest/
>
> At the last step, pytest gave the following error:
>
> /ImportError while loading conftest
> '/scratch/gdal/gdal/autotest/conftest.py'.//
> ///home/fechen/.local/lib/python2.7/site-packages/six.py:709: in exec_//
> //    exec("""exec _code_ in _globs_, _locs_""")//
> //conftest.py:9: in <module>//
> //    from osgeo import gdal//
> //E   ImportError: No module named osgeo/
>
> Any thing I need to do to fix this?
>
> Thanks,
>
> -Fengting


--
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

Fengting Chen
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_
     exec("""exec _code_ in _globs_, _locs_""")
conftest.py:9: in <module>
     from osgeo import gdal
../gdal/swig/python/build/lib.linux-x86_64-2.7/osgeo/__init__.py:21: in
<module>
     _gdal = swig_import_helper()
../gdal/swig/python/build/lib.linux-x86_64-2.7/osgeo/__init__.py:17: in
swig_import_helper
     _mod = imp.load_module('_gdal', fp, pathname, description)
E   ImportError: /scratch/gdal/gdal/gdal/.libs/libgdal.so.20: undefined
symbol: _Z17CPLHaveRuntimeAVXv

Any idea why  libgdal.so.20 has undefined symbol?

Thanks,

-Fengting

On 4/6/2019 3:28 AM, Even Rouault wrote:

> Fengting,
>
> 2 things to check:
> - first that the python bindings have been built. Did you ./configure --with-
> python ? Or alternatively "cd swig/python && make"
> - and that the Python buindings are in the PYTHONPATH. Sourcing scripts/
> setdevenv.sh will do it
>
> Even
>
>> Hi,
>>
>> I followed the description in CONTRIUBTING.md on running autotest suite:
>>
>> /cd ../autotest//
>> //pip install -r requirements.txt//
>> //pytest/
>>
>> At the last step, pytest gave the following error:
>>
>> /ImportError while loading conftest
>> '/scratch/gdal/gdal/autotest/conftest.py'.//
>> ///home/fechen/.local/lib/python2.7/site-packages/six.py:709: in exec_//
>> //    exec("""exec _code_ in _globs_, _locs_""")//
>> //conftest.py:9: in <module>//
>> //    from osgeo import gdal//
>> //E   ImportError: No module named osgeo/
>>
>> Any thing I need to do to fix this?
>>
>> Thanks,
>>
>> -Fengting
>
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

Even Rouault-2
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_
>      exec("""exec _code_ in _globs_, _locs_""")
> conftest.py:9: in <module>
>      from osgeo import gdal
> ../gdal/swig/python/build/lib.linux-x86_64-2.7/osgeo/__init__.py:21: in
> <module>
>      _gdal = swig_import_helper()
> ../gdal/swig/python/build/lib.linux-x86_64-2.7/osgeo/__init__.py:17: in
> swig_import_helper
>      _mod = imp.load_module('_gdal', fp, pathname, description)
> E   ImportError: /scratch/gdal/gdal/gdal/.libs/libgdal.so.20: undefined
> symbol: _Z17CPLHaveRuntimeAVXv
>
> Any idea why  libgdal.so.20 has undefined symbol?

First time I see this error
Do you get this also when using gdalinfo, gdal_translate, etc ?
If so, consider doing a clean build. It might be that you have attempted
several builds of GDAL with different options after ./configure

--
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

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 \
   --with-jpeg=internal \
   --with-gif=internal \
   --without-pg \
   --without-sqlite3 \
   --without-expat \
   --without-odbc \
   --with-curl=/usr/bin/curl-config \
   --without-perl \
   --without-pcre \
   --with-hdfs=no \
   --with-python=/scratch/SDK/Python-2.7.5/dist/bin/python \
   --with-proj=/scratch/SDK/proj-6.0.0/dist

After that:

make clean
make -j8 -s
cd apps; make -s test_ogrsf; cd ..

-Fengting

On 4/9/2019 4:22 AM, Even Rouault wrote:

> 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_
>>       exec("""exec _code_ in _globs_, _locs_""")
>> conftest.py:9: in <module>
>>       from osgeo import gdal
>> ../gdal/swig/python/build/lib.linux-x86_64-2.7/osgeo/__init__.py:21: in
>> <module>
>>       _gdal = swig_import_helper()
>> ../gdal/swig/python/build/lib.linux-x86_64-2.7/osgeo/__init__.py:17: in
>> swig_import_helper
>>       _mod = imp.load_module('_gdal', fp, pathname, description)
>> E   ImportError: /scratch/gdal/gdal/gdal/.libs/libgdal.so.20: undefined
>> symbol: _Z17CPLHaveRuntimeAVXv
>>
>> Any idea why  libgdal.so.20 has undefined symbol?
> First time I see this error
> Do you get this also when using gdalinfo, gdal_translate, etc ?
> If so, consider doing a clean build. It might be that you have attempted
> several builds of GDAL with different options after ./configure
>
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

Andrew C Aitchison-2
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=internal \
>   --with-geotiff=internal \
>   --with-jpeg=internal \
>   --with-gif=internal \
>   --without-pg \
>   --without-sqlite3 \
>   --without-expat \
>   --without-odbc \
>   --with-curl=/usr/bin/curl-config \
>   --without-perl \
>   --without-pcre \
>   --with-hdfs=no \
>   --with-python=/scratch/SDK/Python-2.7.5/dist/bin/python \
>   --with-proj=/scratch/SDK/proj-6.0.0/dist
>
> After that:
>
> make clean
> make -j8 -s
> cd apps; make -s test_ogrsf; cd ..
>
> -Fengting
If you are running ogr tests, you might wish to try
  ogrinfo
first.

If you didn't install the gdal you wish to test,
I think you need to run the script
   scripts/setdevenv.sh
so that the test gdal is used.

--
Andrew C. Aitchison Cambridge, UK
  [hidden email]
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

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] [-dialect sql_dialect] [-al]
[-rl] [-so] [-fields={YES/NO}]
                [-geom={YES/NO/SUMMARY}] [[-oo NAME=VALUE] ...]
                [-nomd] [-listmdd] [-mdd domain|`all`]*
                [-nocount] [-noextent] [-wkt_format WKT1|WKT2|...]
                datasource_name [layer [layer ...]]

Thanks,

-Fengting

On 4/9/2019 3:01 PM, Andrew C Aitchison wrote:

> 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=internal \
>>   --with-geotiff=internal \
>>   --with-jpeg=internal \
>>   --with-gif=internal \
>>   --without-pg \
>>   --without-sqlite3 \
>>   --without-expat \
>>   --without-odbc \
>>   --with-curl=/usr/bin/curl-config \
>>   --without-perl \
>>   --without-pcre \
>>   --with-hdfs=no \
>>   --with-python=/scratch/SDK/Python-2.7.5/dist/bin/python \
>>   --with-proj=/scratch/SDK/proj-6.0.0/dist
>>
>> After that:
>>
>> make clean
>> make -j8 -s
>> cd apps; make -s test_ogrsf; cd ..
>>
>> -Fengting
>
> If you are running ogr tests, you might wish to try
>     ogrinfo
> first.
>
> If you didn't install the gdal you wish to test,
> I think you need to run the script
>   scripts/setdevenv.sh
> so that the test gdal is used.
>
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

John Daniel-2
In reply to this post by Fengting Chen
Sorry for the duplicate message. I'm not sure what e-mail account I had used for this list.

I am seeing something very similar. Judging from your /scratch/SDK paths, it looks like you have a similar setup to what I am attempting.

Primarily I am trying to build on the Mac. I can run tests on the Mac, but a few of them fail deep inside SQLite:
0   ???                           000000000000000000 0 + 0
1   libsqlite3.dylib               0x00007fff67465441 dbMallocRawFinish + 17
2   libsqlite3.dylib               0x00007fff6737f666 sqlite3FindFunction + 886
3   libsqlite3.dylib               0x00007fff6737fb23 sqlite3CreateFunc + 499
4   libsqlite3.dylib               0x00007fff673807c8 sqlite3_create_function_v2 + 488
5   libspatialite.7.dylib         0x000000010e3a82d0 register_spatialite_sql_functions + 96
6   libspatialite.7.dylib         0x000000010e3f469e spatialite_init_ex + 110
7   libgdal.20.dylib               0x000000010ba9a312 OGRSQLiteBaseDataSource::InitNewSpatialite() + 194

So, I ran my build scripts on Linux to see how it would work there. On Linux, I get something very similar to what you have:

pytest
ImportError while loading conftest '/home/parallels/OS-GIS/sources/GDAL/gdaltest/autotest/conftest.py'.
../../../../build/python/lib/python2.7/site-packages/six.py:709: in exec_
   exec("""exec _code_ in _globs_, _locs_""")
/Users/jdaniel/Programming/OS-GIS/sources/GDAL/gdaltest/autotest/conftest.py:9: in <module>
   ???
../../../../build/python/lib/python2.7/site-packages/six.py:709: in exec_
   exec("""exec _code_ in _globs_, _locs_""")
../../../../platforms/linux/x86_64/gdal/lib/python2.7/site-packages/gdal.py:2: in <module>
   from osgeo.gdal import deprecation_warn
../../../../platforms/linux/x86_64/gdal/lib/python2.7/site-packages/osgeo/__init__.py:21: in <module>
   _gdal = swig_import_helper()
../../../../platforms/linux/x86_64/gdal/lib/python2.7/site-packages/osgeo/__init__.py:17: in swig_import_helper
   _mod = imp.load_module('_gdal', fp, pathname, description)
E   ImportError: /home/parallels/OS-GIS/platforms/linux/x86_64/gdal/lib/python2.7/site-packages/osgeo/_gdal.so: undefined symbol: CPLGetErrorCounter

I also have my own Python build.

I am just now getting back to my GDAL work after a couple of years. I have run, and successfully tested, these build scripts with an earlier version of GDAL and supporting libraries. I think I will go back to that previous setup and double-check. I have some new code I would like to contribute this year. I have a replacement for GEOS that I plan to use to avoid GPL restrictions. But I'm going to need those test scripts for that.

John Daniel
Etresoft, Inc.

> On Apr 9, 2019, at 11:33 AM, Fengting Chen <[hidden email]> 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=internal \
>  --with-geotiff=internal \
>  --with-jpeg=internal \
>  --with-gif=internal \
>  --without-pg \
>  --without-sqlite3 \
>  --without-expat \
>  --without-odbc \
>  --with-curl=/usr/bin/curl-config \
>  --without-perl \
>  --without-pcre \
>  --with-hdfs=no \
>  --with-python=/scratch/SDK/Python-2.7.5/dist/bin/python \
>  --with-proj=/scratch/SDK/proj-6.0.0/dist
>
> After that:
>
> make clean
> make -j8 -s
> cd apps; make -s test_ogrsf; cd ..
>
> -Fengting
>
> On 4/9/2019 4:22 AM, Even Rouault wrote:
>> 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_
>>>     exec("""exec _code_ in _globs_, _locs_""")
>>> conftest.py:9: in <module>
>>>     from osgeo import gdal
>>> ../gdal/swig/python/build/lib.linux-x86_64-2.7/osgeo/__init__.py:21: in
>>> <module>
>>>     _gdal = swig_import_helper()
>>> ../gdal/swig/python/build/lib.linux-x86_64-2.7/osgeo/__init__.py:17: in
>>> swig_import_helper
>>>     _mod = imp.load_module('_gdal', fp, pathname, description)
>>> E   ImportError: /scratch/gdal/gdal/gdal/.libs/libgdal.so.20: undefined
>>> symbol: _Z17CPLHaveRuntimeAVXv
>>>
>>> Any idea why  libgdal.so.20 has undefined symbol?
>> First time I see this error
>> Do you get this also when using gdalinfo, gdal_translate, etc ?
>> If so, consider doing a clean build. It might be that you have attempted
>> several builds of GDAL with different options after ./configure
>>
> _______________________________________________
> gdal-dev mailing list
> [hidden email]
> https://lists.osgeo.org/mailman/listinfo/gdal-dev


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

Even Rouault-2
> E   ImportError:
> /home/parallels/OS-GIS/platforms/linux/x86_64/gdal/lib/python2.7/site-packa
> ges/osgeo/_gdal.so: undefined symbol: CPLGetErrorCounter

Try

ldd /home/parallels/OS-GIS/platforms/linux/x86_64/gdal/lib/python2.7/site-packages/osgeo/_gdal.so

and check which libgdal.so it links to. It is likely that it is not the right one.

You'll have to adjust your LD_LIBRARY_PATH then.
Sourcing scripts/setdevenv.sh should do that for you


--
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

John Daniel-2
That's it. I didn't expect gdal to already be installed. I should have used a different distro for this.

John Daniel
Etresoft, Inc.

> On Apr 18, 2019, at 5:17 AM, Even Rouault <[hidden email]> wrote:
>
>> E   ImportError:
>> /home/parallels/OS-GIS/platforms/linux/x86_64/gdal/lib/python2.7/site-packa
>> ges/osgeo/_gdal.so: undefined symbol: CPLGetErrorCounter
>
> Try
>
> ldd /home/parallels/OS-GIS/platforms/linux/x86_64/gdal/lib/python2.7/site-packages/osgeo/_gdal.so
>
> and check which libgdal.so it links to. It is likely that it is not the right one.
>
> You'll have to adjust your LD_LIBRARY_PATH then.
> Sourcing scripts/setdevenv.sh should do that for you
>
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com

_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

Fengting Chen
In reply to this post by Even Rouault-2

In my case, this didn't work.

1. When I ran the GDAL build, I always use "make clean" to clean the old build.  And I did run scripts/setdevenv.sh before running the test.

>which gdalinfo
/scratch/gdal/gdal/gdal/apps/gdalinfo

>gdalinfo --version
GDAL 2.5.0dev-94f370c-dirty, released 2019/04/01

2. gdalinfo and gdaltranslate are working without error. Only pytest failed:

E   ImportError: /scratch/gdal/gdal/gdal/.libs/libgdal.so.20: undefined symbol: _Z17CPLHaveRuntimeAVXv

3. I checked libgdal.so.so, it is missing that symbol:

>nm  /scratch/gdal/gdal/gdal/.libs/libgdal.so.20 |grep _Z17CPLHaveRuntimeAVXv
                 U _Z17CPLHaveRuntimeAVXv

It seems that my manual test of gdalinfo and gdal_translate didn't use that symbol. Anyone know which library that symbol came from?

Thanks,

-Fengting

On 4/18/2019 5:17 AM, Even Rouault wrote:
E   ImportError:
/home/parallels/OS-GIS/platforms/linux/x86_64/gdal/lib/python2.7/site-packa
ges/osgeo/_gdal.so: undefined symbol: CPLGetErrorCounter
Try

ldd /home/parallels/OS-GIS/platforms/linux/x86_64/gdal/lib/python2.7/site-packages/osgeo/_gdal.so

and check which libgdal.so it links to. It is likely that it is not the right one.

You'll have to adjust your LD_LIBRARY_PATH then.
Sourcing scripts/setdevenv.sh should do that for you



_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

John Daniel-2
In reply to this post by Even Rouault-2
Even,
scripts/setdevenv.sh did fix the python problem for me.

However, I get a very similar segfault in the test scripts that I get on the Mac. It seems related to SQLite and SpatiaLite. I'm going to try to rebuild with an older set of GDAL+libs that has worked in the past.

Here is the backtrace if anyone is curious. Unless anyone recognizes a known issue, I'm assuming this is my problem to work out from here.

Core was generated by `/home/parallels/OS-GIS/build/python/bin/python2.7 /home/parallels/OS-GIS/build/'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f7ba2872378 in spatialite_init ()
   from /home/parallels/OS-GIS/platforms/linux/x86_64/lib/libspatialite.so.5
(gdb) bt
#0  0x00007f7ba2872378 in spatialite_init ()
   from /home/parallels/OS-GIS/platforms/linux/x86_64/lib/libspatialite.so.5
#1  0x00007f7ba7ee69d0 in OGRSQLiteInitOldSpatialite() ()
   from /tmp/gdal/gdal/.libs/libgdal.so.20
#2  0x00007f7ba7ee8332 in OGRSQLiteDataSource::Create(char const*, char**) ()
   from /tmp/gdal/gdal/.libs/libgdal.so.20
#3  0x00007f7ba7ef323f in OGRSQLiteExecuteSQL(GDALDataset*, char const*, OGRGeometry*, char const*) () from /tmp/gdal/gdal/.libs/libgdal.so.20
#4  0x00007f7ba7a012ef in GDALDataset::ExecuteSQL(char const*, OGRGeometry*, char const*, swq_select_parse_options*) () from /tmp/gdal/gdal/.libs/libgdal.so.20
#5  0x00007f7ba7a01298 in GDALDataset::ExecuteSQL(char const*, OGRGeometry*, char const*) () from /tmp/gdal/gdal/.libs/libgdal.so.20
#6  0x00007f7ba7d2fc3f in GDALGeoPackageDataset::ExecuteSQL(char const*, OGRGeometry*, char const*) () from /tmp/gdal/gdal/.libs/libgdal.so.20
#7  0x00007f7ba7c72f3b in OGR_DS_ExecuteSQL ()
   from /tmp/gdal/gdal/.libs/libgdal.so.20
#8  0x00007f7b9b608a2c in OGRDataSourceShadow_ExecuteSQL (
    dialect=0x7f7b9a669dac "INDIRECT_SQLITE", spatialFilter=0x0,
    statement=0x7f7b9a66ced4 "SELECT ogr_version()", self=0x55f6a0a5ada0)
    at extensions/ogr_wrap.cpp:3974
#9  _wrap_DataSource_ExecuteSQL (args=<optimized out>, kwargs=<optimized out>)
    at extensions/ogr_wrap.cpp:9849
#10 0x000055f6988bc3c8 in ext_do_call (nk=<optimized out>, na=1,
---Type <return> to continue, or q <return> to quit---
    flags=<optimized out>, pp_stack=0x7fffb12f2e00, func=0x7f7b9b87b2d8)
    at Python/ceval.c:4663
#11 PyEval_EvalFrameEx (f=f@entry=0x7f7b998485d8, throwflag=throwflag@entry=0)
    at Python/ceval.c:3028
#12 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x55f6a0b1b7e8, kwcount=1, defs=0x0,
    defcount=0, closure=0x0) at Python/ceval.c:3584
#13 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f2fd8,
    func=0x7f7b9b33ccf8) at Python/ceval.c:4447
#14 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f2fd8)
    at Python/ceval.c:4372
#15 PyEval_EvalFrameEx (f=f@entry=0x55f6a0b1b620, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#16 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0,
    args=args@entry=0x7f7baec3d068, argcount=<optimized out>,
    kws=kws@entry=0x7f7baec3d068, kwcount=0, defs=0x0, defcount=0, closure=0x0)
    at Python/ceval.c:3584
#17 0x000055f69893aaad in function_call (func=0x7f7bab6329b0,
    arg=0x7f7baec3d050, kw=0x7f7b9a772398) at Objects/funcobject.c:523
#18 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7bab6329b0,
---Type <return> to continue, or q <return> to quit---
    arg=arg@entry=0x7f7baec3d050, kw=kw@entry=0x7f7b9a772398)
    at Objects/abstract.c:2547
#19 0x000055f6988b8710 in ext_do_call (nk=<optimized out>, na=0,
    flags=<optimized out>, pp_stack=0x7fffb12f3260, func=0x7f7bab6329b0)
    at Python/ceval.c:4666
#20 PyEval_EvalFrameEx (f=f@entry=0x55f6a0cacd20, throwflag=throwflag@entry=0)
    at Python/ceval.c:3028
#21 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0,
    args=args@entry=0x7f7b971b8528, argcount=<optimized out>,
    kws=kws@entry=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0)
    at Python/ceval.c:3584
#22 0x000055f69893a9c9 in function_call (func=0x7f7ba9223320,
    arg=0x7f7b971b8510, kw=0x0) at Objects/funcobject.c:523
#23 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7ba9223320,
    arg=arg@entry=0x7f7b971b8510, kw=kw@entry=0x0) at Objects/abstract.c:2547
#24 0x000055f6988b8710 in ext_do_call (nk=<optimized out>, na=0,
    flags=<optimized out>, pp_stack=0x7fffb12f34e0, func=0x7f7ba9223320)
    at Python/ceval.c:4666
#25 PyEval_EvalFrameEx (f=f@entry=0x55f69ffd3550, throwflag=throwflag@entry=0)
    at Python/ceval.c:3028
#26 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
---Type <return> to continue, or q <return> to quit---
    argcount=<optimized out>, kws=0x55f69b09aed8, kwcount=1,
    defs=0x7f7baac4b068, defcount=1, closure=0x0) at Python/ceval.c:3584
#27 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f36b8,
    func=0x7f7baacc6b18) at Python/ceval.c:4447
#28 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f36b8)
    at Python/ceval.c:4372
#29 PyEval_EvalFrameEx (f=f@entry=0x55f69b09ad30, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#30 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x55f6a0ae8bc8, kwcount=0, defs=0x0,
    defcount=0, closure=0x0) at Python/ceval.c:3584
#31 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f3898,
    func=0x7f7ba91e7758) at Python/ceval.c:4447
#32 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f3898)
    at Python/ceval.c:4372
#33 PyEval_EvalFrameEx (f=f@entry=0x55f6a0ae8a10, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#34 0x000055f6988bf4d2 in fast_function (nk=<optimized out>,
    na=<optimized out>, n=4, pp_stack=0x7fffb12f39b8, func=0x7f7baac4e0c8)
    at Python/ceval.c:4437
---Type <return> to continue, or q <return> to quit---
#35 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f39b8)
    at Python/ceval.c:4372
#36 PyEval_EvalFrameEx (f=f@entry=0x55f69b07e200, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#37 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0,
    args=args@entry=0x7f7b97641ce8, argcount=<optimized out>,
    kws=kws@entry=0x7f7b97172608, kwcount=1, defs=0x0, defcount=0, closure=0x0)
    at Python/ceval.c:3584
#38 0x000055f69893aaad in function_call (func=0x7f7baac4cb90,
    arg=0x7f7b97641cd0, kw=0x7f7b971176e0) at Objects/funcobject.c:523
#39 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7baac4cb90,
    arg=arg@entry=0x7f7b97641cd0, kw=kw@entry=0x7f7b971176e0)
    at Objects/abstract.c:2547
#40 0x000055f69882746c in instancemethod_call (func=0x7f7baac4cb90,
    arg=0x7f7b97641cd0, kw=0x7f7b971176e0) at Objects/classobject.c:2602
#41 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7b97654730,
    arg=arg@entry=0x7f7baec3d050, kw=kw@entry=0x7f7b971176e0)
    at Objects/abstract.c:2547
#42 0x000055f698889a7a in slot_tp_call (self=0x7f7ba9183190,
    args=0x7f7baec3d050, kwds=0x7f7b971176e0) at Objects/typeobject.c:5546
#43 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7ba9183190,
    arg=arg@entry=0x7f7baec3d050, kw=kw@entry=0x7f7b971176e0)
---Type <return> to continue, or q <return> to quit---
    at Objects/abstract.c:2547
#44 0x000055f6988b7bce in do_call (nk=<optimized out>, na=<optimized out>,
    pp_stack=0x7fffb12f3f18, func=0x7f7ba9183190) at Python/ceval.c:4569
#45 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f3f18)
    at Python/ceval.c:4374
#46 PyEval_EvalFrameEx (f=f@entry=0x55f6a0be0c40, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#47 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x55f6a0bdfc60, kwcount=0, defs=0x0,
    defcount=0, closure=0x0) at Python/ceval.c:3584
#48 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f40f8,
    func=0x7f7ba92268c0) at Python/ceval.c:4447
#49 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f40f8)
    at Python/ceval.c:4372
#50 PyEval_EvalFrameEx (f=f@entry=0x55f6a0bdfac0, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#51 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0,
    args=args@entry=0x7f7ba8c547a8, argcount=<optimized out>,
    kws=kws@entry=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0)
    at Python/ceval.c:3584
---Type <return> to continue, or q <return> to quit---
#52 0x000055f69893a9c9 in function_call (func=0x7f7ba920e140,
    arg=0x7f7ba8c54790, kw=0x0) at Objects/funcobject.c:523
#53 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7ba920e140,
    arg=arg@entry=0x7f7ba8c54790, kw=kw@entry=0x0) at Objects/abstract.c:2547
#54 0x000055f6988b8710 in ext_do_call (nk=<optimized out>, na=0,
    flags=<optimized out>, pp_stack=0x7fffb12f4380, func=0x7f7ba920e140)
    at Python/ceval.c:4666
#55 PyEval_EvalFrameEx (f=f@entry=0x55f6a01b26a0, throwflag=throwflag@entry=0)
    at Python/ceval.c:3028
#56 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x55f69b077a68, kwcount=1,
    defs=0x7f7baac4b068, defcount=1, closure=0x0) at Python/ceval.c:3584
#57 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f4558,
    func=0x7f7baacc6b18) at Python/ceval.c:4447
#58 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f4558)
    at Python/ceval.c:4372
#59 PyEval_EvalFrameEx (f=f@entry=0x55f69b0778c0, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#60 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x55f6a0cae0c8, kwcount=0, defs=0x0,
---Type <return> to continue, or q <return> to quit---
    defcount=0, closure=0x0) at Python/ceval.c:3584
#61 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f4738,
    func=0x7f7ba91e7758) at Python/ceval.c:4447
#62 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f4738)
    at Python/ceval.c:4372
#63 PyEval_EvalFrameEx (f=f@entry=0x55f6a0cadf10, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#64 0x000055f6988bf4d2 in fast_function (nk=<optimized out>,
    na=<optimized out>, n=4, pp_stack=0x7fffb12f4858, func=0x7f7baac4e0c8)
    at Python/ceval.c:4437
#65 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f4858)
    at Python/ceval.c:4372
#66 PyEval_EvalFrameEx (f=f@entry=0x55f69b07a790, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#67 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0,
    args=args@entry=0x7f7b976414a8, argcount=<optimized out>,
    kws=kws@entry=0x7f7b97172578, kwcount=1, defs=0x0, defcount=0, closure=0x0)
    at Python/ceval.c:3584
#68 0x000055f69893aaad in function_call (func=0x7f7baac4cb90,
    arg=0x7f7b97641490, kw=0x7f7bab63ac58) at Objects/funcobject.c:523
#69 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7baac4cb90,
---Type <return> to continue, or q <return> to quit---
    arg=arg@entry=0x7f7b97641490, kw=kw@entry=0x7f7bab63ac58)
    at Objects/abstract.c:2547
#70 0x000055f69882746c in instancemethod_call (func=0x7f7baac4cb90,
    arg=0x7f7b97641490, kw=0x7f7bab63ac58) at Objects/classobject.c:2602
#71 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7b99844230,
    arg=arg@entry=0x7f7baec3d050, kw=kw@entry=0x7f7bab63ac58)
    at Objects/abstract.c:2547
#72 0x000055f698889a7a in slot_tp_call (self=0x7f7ba9183390,
    args=0x7f7baec3d050, kwds=0x7f7bab63ac58) at Objects/typeobject.c:5546
#73 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7ba9183390,
    arg=arg@entry=0x7f7baec3d050, kw=kw@entry=0x7f7bab63ac58)
    at Objects/abstract.c:2547
#74 0x000055f6988b8710 in ext_do_call (nk=<optimized out>, na=0,
    flags=<optimized out>, pp_stack=0x7fffb12f4dc0, func=0x7f7ba9183390)
    at Python/ceval.c:4666
#75 PyEval_EvalFrameEx (f=f@entry=0x55f6a0c4d300, throwflag=throwflag@entry=0)
    at Python/ceval.c:3028
#76 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x55f69b08f0f0, kwcount=0, defs=0x0,
    defcount=0, closure=0x7f7b970f3410) at Python/ceval.c:3584
#77 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f4f98,
---Type <return> to continue, or q <return> to quit---
    func=0x7f7b970ee140) at Python/ceval.c:4447
#78 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f4f98)
    at Python/ceval.c:4372
#79 PyEval_EvalFrameEx (f=f@entry=0x55f69b08ef30, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#80 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x55f69b086938, kwcount=2,
    defs=0x7f7ba920a5a8, defcount=1, closure=0x0) at Python/ceval.c:3584
#81 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f5178,
    func=0x7f7ba920e5f0) at Python/ceval.c:4447
#82 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f5178)
    at Python/ceval.c:4372
#83 PyEval_EvalFrameEx (f=f@entry=0x55f69b086770, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#84 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0,
    args=args@entry=0x7f7b97658728, argcount=<optimized out>,
    kws=kws@entry=0x7f7baec3d068, kwcount=0, defs=0x0, defcount=0, closure=0x0)
    at Python/ceval.c:3584
#85 0x000055f69893aaad in function_call (func=0x7f7ba920e410,
    arg=0x7f7b97658710, kw=0x7f7b9710b050) at Objects/funcobject.c:523
---Type <return> to continue, or q <return> to quit---
#86 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7ba920e410,
    arg=arg@entry=0x7f7b97658710, kw=kw@entry=0x7f7b9710b050)
    at Objects/abstract.c:2547
#87 0x000055f6988b8710 in ext_do_call (nk=<optimized out>, na=2,
    flags=<optimized out>, pp_stack=0x7fffb12f5400, func=0x7f7ba920e410)
    at Python/ceval.c:4666
#88 PyEval_EvalFrameEx (f=f@entry=0x55f69b0767f0, throwflag=throwflag@entry=0)
    at Python/ceval.c:3028
#89 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x55f6a01afc70, kwcount=0,
    defs=0x7f7ba9203ce8, defcount=1, closure=0x0) at Python/ceval.c:3584
#90 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f55d8,
    func=0x7f7ba920e320) at Python/ceval.c:4447
#91 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f55d8)
    at Python/ceval.c:4372
#92 PyEval_EvalFrameEx (f=f@entry=0x55f6a01afaa0, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#93 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x55f6a0caf668, kwcount=1,
    defs=0x7f7ba9306d58, defcount=2, closure=0x0) at Python/ceval.c:3584
---Type <return> to continue, or q <return> to quit---
#94 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f57b8,
    func=0x7f7ba9208f50) at Python/ceval.c:4447
#95 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f57b8)
    at Python/ceval.c:4372
#96 PyEval_EvalFrameEx (f=f@entry=0x55f6a0caf4d0, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#97 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0,
    args=args@entry=0x7f7b976a38d8, argcount=<optimized out>,
    kws=kws@entry=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0)
    at Python/ceval.c:3584
#98 0x000055f69893a9c9 in function_call (func=0x7f7ba9208ed8,
    arg=0x7f7b976a38c0, kw=0x0) at Objects/funcobject.c:523
#99 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7ba9208ed8,
    arg=arg@entry=0x7f7b976a38c0, kw=kw@entry=0x0) at Objects/abstract.c:2547
#100 0x000055f6988b8710 in ext_do_call (nk=<optimized out>, na=0,
    flags=<optimized out>, pp_stack=0x7fffb12f5a40, func=0x7f7ba9208ed8)
    at Python/ceval.c:4666
#101 PyEval_EvalFrameEx (f=f@entry=0x55f69ae74120, throwflag=throwflag@entry=0)
    at Python/ceval.c:3028
#102 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
---Type <return> to continue, or q <return> to quit---
    argcount=<optimized out>, kws=0x55f6a0920fe8, kwcount=1,
    defs=0x7f7baac4b068, defcount=1, closure=0x0) at Python/ceval.c:3584
#103 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f5c18,
    func=0x7f7baacc6b18) at Python/ceval.c:4447
#104 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f5c18)
    at Python/ceval.c:4372
#105 PyEval_EvalFrameEx (f=f@entry=0x55f6a0920e40, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#106 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x7f7b9715b208, kwcount=0, defs=0x0,
    defcount=0, closure=0x0) at Python/ceval.c:3584
#107 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f5df8,
    func=0x7f7ba91e7758) at Python/ceval.c:4447
#108 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f5df8)
    at Python/ceval.c:4372
#109 PyEval_EvalFrameEx (f=f@entry=0x7f7b9715b050, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#110 0x000055f6988bf4d2 in fast_function (nk=<optimized out>,
    na=<optimized out>, n=4, pp_stack=0x7fffb12f5f18, func=0x7f7baac4e0c8)
    at Python/ceval.c:4437
---Type <return> to continue, or q <return> to quit---
#111 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f5f18)
    at Python/ceval.c:4372
#112 PyEval_EvalFrameEx (f=f@entry=0x55f6a0c69730, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#113 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0,
    args=args@entry=0x7f7b9bb04368, argcount=<optimized out>,
    kws=kws@entry=0x7f7b977084e0, kwcount=2, defs=0x0, defcount=0, closure=0x0)
    at Python/ceval.c:3584
#114 0x000055f69893aaad in function_call (func=0x7f7baac4cb90,
    arg=0x7f7b9bb04350, kw=0x7f7b9a79a280) at Objects/funcobject.c:523
#115 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7baac4cb90,
    arg=arg@entry=0x7f7b9bb04350, kw=kw@entry=0x7f7b9a79a280)
    at Objects/abstract.c:2547
#116 0x000055f69882746c in instancemethod_call (func=0x7f7baac4cb90,
    arg=0x7f7b9bb04350, kw=0x7f7b9a79a280) at Objects/classobject.c:2602
#117 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7b9ae4a1e0,
    arg=arg@entry=0x7f7baec3d050, kw=kw@entry=0x7f7b9a79a280)
    at Objects/abstract.c:2547
#118 0x000055f698889a7a in slot_tp_call (self=0x7f7ba9183610,
    args=0x7f7baec3d050, kwds=0x7f7b9a79a280) at Objects/typeobject.c:5546
#119 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7ba9183610,
    arg=arg@entry=0x7f7baec3d050, kw=kw@entry=0x7f7b9a79a280)
---Type <return> to continue, or q <return> to quit---
    at Objects/abstract.c:2547
#120 0x000055f6988b7bce in do_call (nk=<optimized out>, na=<optimized out>,
    pp_stack=0x7fffb12f6478, func=0x7f7ba9183610) at Python/ceval.c:4569
#121 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f6478)
    at Python/ceval.c:4374
#122 PyEval_EvalFrameEx (f=f@entry=0x7f7b979dade0, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#123 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0,
    args=args@entry=0x7f7ba8bf9da8, argcount=<optimized out>,
    kws=kws@entry=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0)
    at Python/ceval.c:3584
#124 0x000055f69893a9c9 in function_call (func=0x7f7ba9211398,
    arg=0x7f7ba8bf9d90, kw=0x0) at Objects/funcobject.c:523
#125 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7ba9211398,
    arg=arg@entry=0x7f7ba8bf9d90, kw=kw@entry=0x0) at Objects/abstract.c:2547
#126 0x000055f6988b8710 in ext_do_call (nk=<optimized out>, na=0,
    flags=<optimized out>, pp_stack=0x7fffb12f6700, func=0x7f7ba9211398)
    at Python/ceval.c:4666
#127 PyEval_EvalFrameEx (f=f@entry=0x55f69c702990, throwflag=throwflag@entry=0)
    at Python/ceval.c:3028
#128 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
---Type <return> to continue, or q <return> to quit---
    argcount=<optimized out>, kws=0x55f69c449868, kwcount=1,
    defs=0x7f7baac4b068, defcount=1, closure=0x0) at Python/ceval.c:3584
#129 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f68d8,
    func=0x7f7baacc6b18) at Python/ceval.c:4447
#130 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f68d8)
    at Python/ceval.c:4372
#131 PyEval_EvalFrameEx (f=f@entry=0x55f69c4496c0, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#132 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x55f69c74a4b8, kwcount=0, defs=0x0,
    defcount=0, closure=0x0) at Python/ceval.c:3584
#133 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f6ab8,
    func=0x7f7ba91e7758) at Python/ceval.c:4447
#134 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f6ab8)
    at Python/ceval.c:4372
#135 PyEval_EvalFrameEx (f=f@entry=0x55f69c74a300, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#136 0x000055f6988bf4d2 in fast_function (nk=<optimized out>,
    na=<optimized out>, n=4, pp_stack=0x7fffb12f6bd8, func=0x7f7baac4e0c8)
    at Python/ceval.c:4437
---Type <return> to continue, or q <return> to quit---
#137 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f6bd8)
    at Python/ceval.c:4372
#138 PyEval_EvalFrameEx (f=f@entry=0x7f7b97a26da8, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#139 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0,
    args=args@entry=0x7f7ba8bf9ca8, argcount=<optimized out>,
    kws=kws@entry=0x7f7b9b35d5c0, kwcount=1, defs=0x0, defcount=0, closure=0x0)
    at Python/ceval.c:3584
#140 0x000055f69893aaad in function_call (func=0x7f7baac4cb90,
    arg=0x7f7ba8bf9c90, kw=0x7f7b9ae49b40) at Objects/funcobject.c:523
#141 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7baac4cb90,
    arg=arg@entry=0x7f7ba8bf9c90, kw=kw@entry=0x7f7b9ae49b40)
    at Objects/abstract.c:2547
#142 0x000055f69882746c in instancemethod_call (func=0x7f7baac4cb90,
    arg=0x7f7ba8bf9c90, kw=0x7f7b9ae49b40) at Objects/classobject.c:2602
#143 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7b9ae4a140,
    arg=arg@entry=0x7f7baec3d050, kw=kw@entry=0x7f7b9ae49b40)
    at Objects/abstract.c:2547
#144 0x000055f698889a7a in slot_tp_call (self=0x7f7ba9183790,
    args=0x7f7baec3d050, kwds=0x7f7b9ae49b40) at Objects/typeobject.c:5546
#145 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7ba9183790,
    arg=arg@entry=0x7f7baec3d050, kw=kw@entry=0x7f7b9ae49b40)
---Type <return> to continue, or q <return> to quit---
    at Objects/abstract.c:2547
#146 0x000055f6988b7bce in do_call (nk=<optimized out>, na=<optimized out>,
    pp_stack=0x7fffb12f7138, func=0x7f7ba9183790) at Python/ceval.c:4569
#147 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f7138)
    at Python/ceval.c:4374
#148 PyEval_EvalFrameEx (f=f@entry=0x7f7b9b364938, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#149 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x55f69b1156c0, kwcount=0, defs=0x0,
    defcount=0, closure=0x0) at Python/ceval.c:3584
#150 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f7318,
    func=0x7f7ba92112a8) at Python/ceval.c:4447
#151 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f7318)
    at Python/ceval.c:4372
#152 PyEval_EvalFrameEx (f=f@entry=0x55f69b115500, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#153 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x55f69b198798, kwcount=0, defs=0x0,
    defcount=0, closure=0x0) at Python/ceval.c:3584
#154 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
---Type <return> to continue, or q <return> to quit---
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f74f8,
    func=0x7f7ba92111b8) at Python/ceval.c:4447
#155 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f74f8)
    at Python/ceval.c:4372
#156 PyEval_EvalFrameEx (f=f@entry=0x55f69b198600, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#157 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0,
    args=args@entry=0x7f7ba8c9ada8, argcount=<optimized out>,
    kws=kws@entry=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0)
    at Python/ceval.c:3584
#158 0x000055f69893a9c9 in function_call (func=0x7f7ba9211230,
    arg=0x7f7ba8c9ad90, kw=0x0) at Objects/funcobject.c:523
#159 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7ba9211230,
    arg=arg@entry=0x7f7ba8c9ad90, kw=kw@entry=0x0) at Objects/abstract.c:2547
#160 0x000055f6988b8710 in ext_do_call (nk=<optimized out>, na=0,
    flags=<optimized out>, pp_stack=0x7fffb12f7780, func=0x7f7ba9211230)
    at Python/ceval.c:4666
#161 PyEval_EvalFrameEx (f=f@entry=0x55f69b1b5fa0, throwflag=throwflag@entry=0)
    at Python/ceval.c:3028
#162 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x7f7ba8c88d68, kwcount=1,
---Type <return> to continue, or q <return> to quit---
    defs=0x7f7baac4b068, defcount=1, closure=0x0) at Python/ceval.c:3584
#163 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f7958,
    func=0x7f7baacc6b18) at Python/ceval.c:4447
#164 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f7958)
    at Python/ceval.c:4372
#165 PyEval_EvalFrameEx (f=f@entry=0x7f7ba8c88bc0, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#166 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x7f7ba8c963e8, kwcount=0, defs=0x0,
    defcount=0, closure=0x0) at Python/ceval.c:3584
#167 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f7b38,
    func=0x7f7ba91e7758) at Python/ceval.c:4447
#168 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f7b38)
    at Python/ceval.c:4372
#169 PyEval_EvalFrameEx (f=f@entry=0x7f7ba8c96230, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#170 0x000055f6988bf4d2 in fast_function (nk=<optimized out>,
    na=<optimized out>, n=4, pp_stack=0x7fffb12f7c58, func=0x7f7baac4e0c8)
    at Python/ceval.c:4437
#171 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f7c58)
---Type <return> to continue, or q <return> to quit---
    at Python/ceval.c:4372
#172 PyEval_EvalFrameEx (f=f@entry=0x7f7ba8c90230, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#173 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0,
    args=args@entry=0x7f7baeb11ca8, argcount=<optimized out>,
    kws=kws@entry=0x7f7ba9304380, kwcount=1, defs=0x0, defcount=0, closure=0x0)
    at Python/ceval.c:3584
#174 0x000055f69893aaad in function_call (func=0x7f7baac4cb90,
    arg=0x7f7baeb11c90, kw=0x7f7ba8cdc7f8) at Objects/funcobject.c:523
#175 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7baac4cb90,
    arg=arg@entry=0x7f7baeb11c90, kw=kw@entry=0x7f7ba8cdc7f8)
    at Objects/abstract.c:2547
#176 0x000055f69882746c in instancemethod_call (func=0x7f7baac4cb90,
    arg=0x7f7baeb11c90, kw=0x7f7ba8cdc7f8) at Objects/classobject.c:2602
#177 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7ba9503910,
    arg=arg@entry=0x7f7baec3d050, kw=kw@entry=0x7f7ba8cdc7f8)
    at Objects/abstract.c:2547
#178 0x000055f698889a7a in slot_tp_call (self=0x7f7ba917b1d0,
    args=0x7f7baec3d050, kwds=0x7f7ba8cdc7f8) at Objects/typeobject.c:5546
#179 0x000055f69882386a in PyObject_Call (func=func@entry=0x7f7ba917b1d0,
    arg=arg@entry=0x7f7baec3d050, kw=kw@entry=0x7f7ba8cdc7f8)
    at Objects/abstract.c:2547
---Type <return> to continue, or q <return> to quit---
#180 0x000055f6988b7bce in do_call (nk=<optimized out>, na=<optimized out>,
    pp_stack=0x7fffb12f81b8, func=0x7f7ba917b1d0) at Python/ceval.c:4569
#181 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f81b8)
    at Python/ceval.c:4374
#182 PyEval_EvalFrameEx (f=f@entry=0x55f69ae0d4f0, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#183 0x000055f6988c0380 in PyEval_EvalCodeEx (co=<optimized out>,
    globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
    argcount=<optimized out>, kws=0x7f7baeb66c88, kwcount=0,
    defs=0x7f7ba9306c80, defcount=2, closure=0x0) at Python/ceval.c:3584
#184 0x000055f6988bd0dd in fast_function (nk=<optimized out>,
    na=<optimized out>, n=<optimized out>, pp_stack=0x7fffb12f8398,
    func=0x7f7ba92bd9b0) at Python/ceval.c:4447
#185 call_function (oparg=<optimized out>, pp_stack=0x7fffb12f8398)
    at Python/ceval.c:4372
#186 PyEval_EvalFrameEx (f=f@entry=0x7f7baeb66b00, throwflag=throwflag@entry=0)
    at Python/ceval.c:2989
#187 0x000055f6988c0380 in PyEval_EvalCodeEx (co=co@entry=0x7f7baeb808b0,
    globals=globals@entry=0x7f7baec12168, locals=locals@entry=0x7f7baec12168,
    args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0,
    kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3584
#188 0x000055f6988c0599 in PyEval_EvalCode (co=co@entry=0x7f7baeb808b0,
    globals=globals@entry=0x7f7baec12168, locals=locals@entry=0x7f7baec12168)
---Type <return> to continue, or q <return> to quit---
    at Python/ceval.c:669
#189 0x000055f6988e8e70 in run_mod (arena=0x55f69a944b10,
    flags=0x7fffb12f864c, locals=0x7f7baec12168, globals=0x7f7baec12168,
    filename=0x7fffb12fa02c "/home/parallels/OS-GIS/build/python/bin/pytest",
    mod=0x55f69a9ca7c8) at Python/pythonrun.c:1376
#190 PyRun_FileExFlags (fp=0x55f69a96dfa0,
    filename=0x7fffb12fa02c "/home/parallels/OS-GIS/build/python/bin/pytest",
    start=<optimized out>, globals=0x7f7baec12168, locals=0x7f7baec12168,
    closeit=1, flags=0x7fffb12f864c) at Python/pythonrun.c:1362
#191 0x000055f6988eb621 in PyRun_SimpleFileExFlags (fp=0x55f69a96dfa0,
    filename=0x7fffb12fa02c "/home/parallels/OS-GIS/build/python/bin/pytest",
    closeit=1, flags=0x7fffb12f864c) at Python/pythonrun.c:948
#192 0x000055f6988152a0 in Py_Main (argc=<optimized out>, argv=<optimized out>)
    at Modules/main.c:640
#193 0x00007f7badcf3b97 in __libc_start_main (main=0x55f6988144f0 <main>,
    argc=2, argv=0x7fffb12f8808, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffb12f87f8)
    at ../csu/libc-start.c:310
#194 0x000055f69881452a in _start ()
(gdb)


John Daniel
Etresoft, Inc.

> On Apr 18, 2019, at 5:17 AM, Even Rouault <[hidden email]> wrote:
>
>> E   ImportError:
>> /home/parallels/OS-GIS/platforms/linux/x86_64/gdal/lib/python2.7/site-packa
>> ges/osgeo/_gdal.so: undefined symbol: CPLGetErrorCounter
>
> Try
>
> ldd /home/parallels/OS-GIS/platforms/linux/x86_64/gdal/lib/python2.7/site-packages/osgeo/_gdal.so
>
> and check which libgdal.so it links to. It is likely that it is not the right one.
>
> You'll have to adjust your LD_LIBRARY_PATH then.
> Sourcing scripts/setdevenv.sh should do that for you
>
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com

_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

Even Rouault-2
In reply to this post by Fengting Chen
On jeudi 18 avril 2019 12:38:43 CEST Fengting Chen wrote:

> In my case, this didn't work.
>
> 1. When I ran the GDAL build, I always use "make clean" to clean the old
> build.  And I did run scripts/setdevenv.sh before running the test.
>
> />which gdalinfo//
> ///scratch/gdal/gdal/gdal/apps/gdalinfo//
> /
>
> />gdalinfo --version//
> //GDAL 2.5.0dev-94f370c-dirty, released 2019/04/01/
>
> 2. gdalinfo and gdaltranslate are working without error. Only pytest failed:
>
> /E   ImportError: /scratch/gdal/gdal/gdal/.libs/libgdal.so.20: undefined
> symbol: _Z17CPLHaveRuntimeAVXv/
>
> 3. I checked libgdal.so.so, it is missing that symbol:
>
> />nm  /scratch/gdal/gdal/gdal/.libs/libgdal.so.20 |grep
> _Z17CPLHaveRuntimeAVXv//
> //                 U _Z17CPLHaveRuntimeAVXv/
>
> It seems that my manual test of gdalinfo and gdal_translate didn't use
> that symbol. Anyone know which library that symbol came from?

It comes from GDAL in port/cpl_cpu_features.h/.cpp . I did some change in that
area a few weeks ago. There's some subtelty to inline it or not, depending on
the compiler, etc, but everything works fine on environments tested by
continuous integration.
What is your compiler and compiler version ?

Hum, what surprises me is that in a previous post you mentionned having built
--without-libtool, but here you link agains a libtool build. If you indeed use
a non-libtool build, you need to remove the /scratch/gdal/gdal/gdal/.libs
directory

--
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

Even Rouault-2
In reply to this post by John Daniel-2
On jeudi 18 avril 2019 16:41:41 CEST John Daniel wrote:
> Even,
> scripts/setdevenv.sh did fix the python problem for me.
>
> However, I get a very similar segfault in the test scripts that I get on the
> Mac. It seems related to SQLite and SpatiaLite. I'm going to try to rebuild
> with an older set of GDAL+libs that has worked in the past.
>
> Here is the backtrace if anyone is curious. Unless anyone recognizes a known
> issue, I'm assuming this is my problem to work out from here.

Does not ring a bell. But from the stack trace, you're not using a recent
spatialite version. Perhaps upgrading it would be a good idea.

--
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

Fengting Chen
In reply to this post by Even Rouault-2


On 4/18/2019 1:11 PM, Even Rouault wrote:
On jeudi 18 avril 2019 12:38:43 CEST Fengting Chen wrote:
In my case, this didn't work.

1. When I ran the GDAL build, I always use "make clean" to clean the old
build.  And I did run scripts/setdevenv.sh before running the test.

/>which gdalinfo//
///scratch/gdal/gdal/gdal/apps/gdalinfo//
/

/>gdalinfo --version//
//GDAL 2.5.0dev-94f370c-dirty, released 2019/04/01/

2. gdalinfo and gdaltranslate are working without error. Only pytest failed:

/E   ImportError: /scratch/gdal/gdal/gdal/.libs/libgdal.so.20: undefined
symbol: _Z17CPLHaveRuntimeAVXv/

3. I checked libgdal.so.so, it is missing that symbol:

/>nm  /scratch/gdal/gdal/gdal/.libs/libgdal.so.20 |grep
_Z17CPLHaveRuntimeAVXv//
//                 U _Z17CPLHaveRuntimeAVXv/

It seems that my manual test of gdalinfo and gdal_translate didn't use
that symbol. Anyone know which library that symbol came from?
It comes from GDAL in port/cpl_cpu_features.h/.cpp . I did some change in that 
area a few weeks ago. There's some subtelty to inline it or not, depending on 
the compiler, etc, but everything works fine on environments tested by 
continuous integration.
What is your compiler and compiler version ?

Hum, what surprises me is that in a previous post you mentionned having built
--without-libtool, but here you link agains a libtool build. If you indeed use 
a non-libtool build, you need to remove the /scratch/gdal/gdal/gdal/.libs 
directory

Not sure how you find out I used libtool build. In my configure option, I did specify "--without-libtool".

Here is the output from configure about compiler and libtool:

  C compiler:                gcc -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -fPIC
  C++ compiler:              g++ -std=c++11 -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -fPIC
  C++14 support:             no

  LIBTOOL support:           no

-Fengting



    

_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

Even Rouault-2
> Not sure how you find out I used libtool build. In my configure option,
> I did specify "--without-libtool".

/scratch/gdal/gdal/gdal/.libs/libgdal.so.20 is a file produced by a libtool
build. You perhaps did initially a libtool build and then a non-libtool one.
Remove /scratch/gdal/gdal/gdal/.libs

--
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

Even Rouault-2
In reply to this post by Even Rouault-2
On jeudi 18 avril 2019 19:01:34 CEST John Daniel wrote:
> I had tried 3 different versions of SpatiaLite (4.1.1 - 5.0) since that
> seemed to be where the problem is. My last known good build used
> SpatialLite 4.3.0a.
>
> Is there a list of recommended version of various supporting libraries? I
> have tried to pick the most recent released or tagged version of
> everything. But for SpatialLite, I can't tell which version is best. They
> all seem to have some "rc" or "beta" qualifier - and it need a PROJ6 hack.

Yeah, that's unfortunate they haven't released a normal version recently.
I've hardly any experience on MacOS and our Mac Travis-CI builds don't have
spatialite enabled apparently (also apparently homebrew has
libspatialite-4.3.0a_2.el_capitan installed)
On Linux pretty much every spatialite version works.

--
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

Fengting Chen
In reply to this post by Even Rouault-2
Removing .libs helped and now pytest is working. Thank you!

Instead of using pytest to run all the tests, how to run individual test?

On 4/18/2019 3:00 PM, Even Rouault wrote:
>> Not sure how you find out I used libtool build. In my configure option,
>> I did specify "--without-libtool".
> /scratch/gdal/gdal/gdal/.libs/libgdal.so.20 is a file produced by a libtool
> build. You perhaps did initially a libtool build and then a non-libtool one.
> Remove /scratch/gdal/gdal/gdal/.libs
>
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to run autotest

Even Rouault-2
On vendredi 19 avril 2019 15:36:33 CEST Fengting Chen wrote:
> Removing .libs helped and now pytest is working. Thank you!
>
> Instead of using pytest to run all the tests, how to run individual test?

https://docs.pytest.org/en/latest/ for full reference

And
https://github.com/OSGeo/gdal/blob/master/autotest/README.md
for a few practical tips

--
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev