unittests_temporal_raster_algebra_grs

./lib/python/temporal – unittests_temporal_raster_algebra_grs

Test failed

Testunittests_temporal_raster_algebra_grs
Testsuite./lib/python/temporal
Test file./lib/python/temporal/testsuite/unittests_temporal_raster_algebra_grs.py
StatusFAILED
Return code1
Number of tests13
Successful tests0
Failed tests13
Percent successful0%
Test duration0:00:15.105529

Supplementary files

Standard error output (stderr)

... (lines omitted)
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_raster_algebra_grs.py", line 227, in test_simple_arith_td_1
    ret = tra.setup_common_granularity(expression=expr,  lexer = tgis.TemporalRasterAlgebraLexer())
  File "etc/python/grass/temporal/temporal_algebra.py", line 858, in setup_common_granularity
    if stds.check_temporal_topology() is False:
  File "etc/python/grass/temporal/abstract_space_time_dataset.py", line 540, in check_temporal_topology
    dbif=dbif)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 847, in count_temporal_topology_relationships
    tb.build(maps1, maps2)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 552, in build
    vector.RTreeSearch2(tree, rect, list_)
ArgumentError: argument 1: <type 'exceptions.TypeError'>: expected LP_struct_RTree instance instead of LP_struct_RTree

======================================================================
ERROR: test_temporal_neighbors (__main__.TestTemporalRasterAlgebra)
Simple temporal neighborhood computation test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_raster_algebra_grs.py", line 301, in test_temporal_neighbors
    ret = tra.setup_common_granularity(expression=expr,  lexer = tgis.TemporalRasterAlgebraLexer())
  File "etc/python/grass/temporal/temporal_algebra.py", line 858, in setup_common_granularity
    if stds.check_temporal_topology() is False:
  File "etc/python/grass/temporal/abstract_space_time_dataset.py", line 540, in check_temporal_topology
    dbif=dbif)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 847, in count_temporal_topology_relationships
    tb.build(maps1, maps2)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 552, in build
    vector.RTreeSearch2(tree, rect, list_)
ArgumentError: argument 1: <type 'exceptions.TypeError'>: expected LP_struct_RTree instance instead of LP_struct_RTree

======================================================================
ERROR: test_tmap_map (__main__.TestTemporalRasterAlgebra)
Test STDS + single map with and without timestamp
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_raster_algebra_grs.py", line 337, in test_tmap_map
    ret = tra.setup_common_granularity(expression=expr,  lexer = tgis.TemporalRasterAlgebraLexer())
  File "etc/python/grass/temporal/temporal_algebra.py", line 858, in setup_common_granularity
    if stds.check_temporal_topology() is False:
  File "etc/python/grass/temporal/abstract_space_time_dataset.py", line 540, in check_temporal_topology
    dbif=dbif)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 847, in count_temporal_topology_relationships
    tb.build(maps1, maps2)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 552, in build
    vector.RTreeSearch2(tree, rect, list_)
ArgumentError: argument 1: <type 'exceptions.TypeError'>: expected LP_struct_RTree instance instead of LP_struct_RTree

----------------------------------------------------------------------
Ran 13 tests in 14.075s
FAILED (errors=13)