EOxServer / eoxserver

EOxServer is a Python application and framework for presenting Earth Observation (EO) data and metadata.
https://eoxserver.org
Other
40 stars 18 forks source link

service test cases run into GEOS assertion #82

Closed constantinius closed 11 years ago

constantinius commented 11 years ago

Reporter: schindlerf Date: 2011/10/11 13:01

With r688 running tests with python manage.py test services run into the following error:

python: geos_ts_c.cpp:2605: int GEOSCoordSeq_setOrdinate_r(GEOSContextHandle_HS*, geos::geom::CoordinateSequence*, unsigned int, unsigned int, double): Assertion `0 != cs' failed.

The whole test run is aborted thereafter.

This happens every time and always at the same test case WCS20DescribeEOCoverageSetSpatioTemporalSubsetContainsTestCase. If this test case is omitted, then the error occurs at the following test case, and so forth.

The error could be reproduced upon multiple machines and setups.

There is no assertion if the test case producing the error is called directly with python manage.py test services.WCS20DescribeEOCoverageSetSpatioTemporalSubsetContainsTestCase, the test finishes without errors. There is also no problem when the test is called in conjunction with other tests.

This error might originate in the GeoDjango extension EOxServer relies upon, since we do not use GEOS functionality directly.

Schpidi commented 11 years ago

Date: 2012/11/21 10:30

Using !SpatiaLite causes this error but using PostGIS is fine.

Schpidi commented 11 years ago

Date: 2013/03/10 16:17

Works now for some reason, maybe because of a newer Django version (see e.g. Jenkins http://jenkins.eox.at/job/EOxServer_Trunk_Ubuntu/).