unittests_temporal_vector_algebra

./lib/python/temporal – unittests_temporal_vector_algebra

Test failed

Testunittests_temporal_vector_algebra
Testsuite./lib/python/temporal
Test file./lib/python/temporal/testsuite/unittests_temporal_vector_algebra.py
StatusFAILED
Return code1
Number of tests8
Successful tests0
Failed tests14
Percent successful0%
Test duration0:00:19.273519

Supplementary files

Standard error output (stderr)

... (lines omitted)
======================================================================
ERROR: test_temporal_select (__main__.TestTemporalVectorAlgebra)
Testing the temporal select operator.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_vector_algebra.py", line 61, in tearDown
    self.runModule("t.remove", type="stvds", inputs="R", quiet=True)
  File "etc/python/grass/gunittest/case.py", line 1098, in runModule
    errors=errors)
CalledModuleError: Module run 1 t.remove ended with error
Process ended with non-zero return code t.remove(inputs=['R'], type='stvds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_select_operators (__main__.TestTemporalVectorAlgebra)
Testing the temporal select operator. Including temporal relations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_vector_algebra.py", line 108, in test_temporal_select_operators
    tva.parse(expression="R = A {:,during} C", basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_vector_algebra.py", line 161, in parse
    self.parser.parse(expression)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 331, in parse
    return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 1106, in parseopt_notrack
    p.callable(pslice)
  File "etc/python/grass/temporal/temporal_algebra.py", line 2820, in p_expr_t_select_operator
    inverse=negation)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1704, in perform_temporal_selection
    assign_val = assign_val)
  File "etc/python/grass/temporal/temporal_vector_algebra.py", line 218, in build_spatio_temporal_topology_list
    tb.build(maplistA, maplistB)
  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_select_operators (__main__.TestTemporalVectorAlgebra)
Testing the temporal select operator. Including temporal relations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_vector_algebra.py", line 61, in tearDown
    self.runModule("t.remove", type="stvds", inputs="R", quiet=True)
  File "etc/python/grass/gunittest/case.py", line 1098, in runModule
    errors=errors)
CalledModuleError: Module run 1 t.remove ended with error
Process ended with non-zero return code t.remove(inputs=['R'], type='stvds', quiet=True). See errors in the (error) output.

----------------------------------------------------------------------
Ran 8 tests in 18.372s
FAILED (errors=14)