test_strds_to_rast3

./temporal/t.rast.to.rast3 – test_strds_to_rast3

Test failed

Testtest_strds_to_rast3
Testsuite./temporal/t.rast.to.rast3
Test file./temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py
StatusFAILED
Return code1
Number of tests7
Successful tests0
Failed tests7
Percent successful0%
Test duration0:00:27.862363

Supplementary files

Standard error output (stderr)

... (lines omitted)
  File "temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py", line 279, in test_months
    self.assertModule("t.rast.to.rast3",  input="precip_d",  output="precip_d")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.to.rast3> module ended with non-zero return code (1)
Called: t.rast_to_rast3(input='precip_d', output='precip_d')
See the following errors:
Traceback (most recent call last):
  File "scripts/t.rast.to.rast3", line 201, in <module>
    main()
  File "scripts/t.rast.to.rast3", line 65, in main
    maps = sp.get_registered_maps_as_objects_by_granularity()
  File "etc/python/grass/temporal/abstract_space_time_dataset.py", line 1086, in get_registered_maps_as_objects_by_granularity
    gran)
  File "etc/python/grass/temporal/abstract_space_time_dataset.py", line 1253, in resample_maplist_by_granularity
    tb.build(gap_list, maps)
  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_years (__main__.TestSTRDSToRast3MultiGran)
Convert STRDS into 3d raster map, granularity5 years
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py", line 251, in test_years
    self.assertModule("t.rast.to.rast3",  input="precip_d",  output="precip_d")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.to.rast3> module ended with non-zero return code (1)
Called: t.rast_to_rast3(input='precip_d', output='precip_d')
See the following errors:
Traceback (most recent call last):
  File "scripts/t.rast.to.rast3", line 201, in <module>
    main()
  File "scripts/t.rast.to.rast3", line 65, in main
    maps = sp.get_registered_maps_as_objects_by_granularity()
  File "etc/python/grass/temporal/abstract_space_time_dataset.py", line 1086, in get_registered_maps_as_objects_by_granularity
    gran)
  File "etc/python/grass/temporal/abstract_space_time_dataset.py", line 1253, in resample_maplist_by_granularity
    tb.build(gap_list, maps)
  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 7 tests in 27.151s
FAILED (failures=7)