❌ Test failed
Test | test_aggregation_relative |
Testsuite | ./temporal/t.rast.aggregate |
Test file | ./temporal/t.rast.aggregate/testsuite/test_aggregation_relative.py |
Status | FAILED |
Return code | 1 |
Number of tests | 4 |
Successful tests | 0 |
Failed tests | 8 |
Percent successful | 0% |
Test duration | 0:00:10.532390 |
... (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)