test_aggregation_relative

./temporal/t.rast.aggregate – test_aggregation_relative

Test failed

Testtest_aggregation_relative
Testsuite./temporal/t.rast.aggregate
Test file./temporal/t.rast.aggregate/testsuite/test_aggregation_relative.py
StatusFAILED
Return code1
Number of tests4
Successful tests0
Failed tests8
Percent successful0%
Test duration0:00:10.532390

Supplementary files

Standard error output (stderr)

... (lines omitted)
FAIL: test_3 (__main__.TestAggregationRelative)
Simple test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.aggregate/testsuite/test_aggregation_relative.py", line 113, in test_3
    nprocs=4, verbose=True)
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.aggregate> module ended with non-zero return code (1)
Called: t.rast_aggregate(input='A', output='B', basename='b', suffix='gran', granularity='9', method='maximum', offset=0, nprocs=4, file_limit=1000, sampling=['contains'], verbose=True)
See the following errors:
Traceback (most recent call last):
  File "scripts/t.rast.aggregate", line 219, in <module>
    main()
  File "scripts/t.rast.aggregate", line 196, in main
    overwrite=gcore.overwrite(), file_limit=file_limit)
  File "etc/python/grass/temporal/aggregation.py", line 230, in aggregate_by_topology
    topo_builder.build(mapsA=granularity_list, mapsB=map_list, spatial=spatial)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 552, in build
    vector.RTreeSearch2(tree, rect, list_)
ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: expected LP_struct_RTree instance instead of LP_struct_RTree


======================================================================
FAIL: test_4 (__main__.TestAggregationRelative)
Simple test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.aggregate/testsuite/test_aggregation_relative.py", line 140, in test_4
    nprocs=4, verbose=True)
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.aggregate> module ended with non-zero return code (1)
Called: t.rast_aggregate(input='A', output='B', basename='b', suffix='gran', granularity='21', method='average', offset=0, nprocs=4, file_limit=1000, sampling=['contains'], verbose=True)
See the following errors:
Traceback (most recent call last):
  File "scripts/t.rast.aggregate", line 219, in <module>
    main()
  File "scripts/t.rast.aggregate", line 196, in main
    overwrite=gcore.overwrite(), file_limit=file_limit)
  File "etc/python/grass/temporal/aggregation.py", line 230, in aggregate_by_topology
    topo_builder.build(mapsA=granularity_list, mapsB=map_list, spatial=spatial)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 552, in build
    vector.RTreeSearch2(tree, rect, list_)
ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: expected LP_struct_RTree instance instead of LP_struct_RTree


----------------------------------------------------------------------
Ran 4 tests in 9.578s
FAILED (failures=4, errors=4)