unittests_temporal_algebra stderr

/usr/lib/python2.7/dist-packages/numpy/core/__init__.py:14: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from . import multiarray
/usr/lib/python2.7/dist-packages/numpy/core/__init__.py:21: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from . import umath
/usr/lib/python2.7/dist-packages/numpy/random/__init__.py:99: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from .mtrand import *
etc/python/grass/pygrass/raster/history.py:13: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class History(object):
/usr/lib/python2.7/dist-packages/mx/DateTime/mxDateTime/__init__.py:9: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from mxDateTime import *
/usr/lib/python2.7/dist-packages/psycopg2/__init__.py:50: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
etc/python/grass/temporal/abstract_dataset.py:569: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class AbstractDatasetComparisonKeyStartTime(object):
etc/python/grass/temporal/abstract_dataset.py:619: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class AbstractDatasetComparisonKeyEndTime(object):
/usr/lib/python2.7/dist-packages/dateutil/relativedelta.py:10: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class weekday(object):
/usr/lib/python2.7/dist-packages/dateutil/relativedelta.py:41: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class relativedelta(object):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:48: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzutc(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:73: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzoffset(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:104: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzlocal(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:175: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class _ttinfo(object):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:215: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzfile(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:507: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzrange(datetime.tzinfo):
Default TGIS driver / database set to:
driver: sqlite
database: $GISDBASE/$LOCATION_NAME/$MAPSET/tgis/sqlite.db
WARNING: Temporal database connection defined as:
/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__lib_python_temporal_unittests_temporal_algebra/tgis/sqlite.db
But database file does not exist.
Creating temporal database: /grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__lib_python_temporal_unittests_temporal_algebra/tgis/sqlite.db
/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
Gathering map information...
0..100
Registering maps in the temporal database...
Registering maps in the space time dataset...
0..Updating space time dataset...
100
Gathering map information...
0..100
Registering maps in the temporal database...
Registering maps in the space time dataset...
0..Updating space time dataset...
100
Gathering map information...
0..100
Registering maps in the space time dataset...
0..Updating space time dataset...
100
Gathering map information...
0..100
Registering maps in the temporal database...
Registering maps in the space time dataset...
0..Updating space time dataset...
100
Gathering map information...
0..100
100
Generating LALR tables
EGenerating LALR tables
EEGenerating LALR tables
EEGenerating LALR tables
EEGenerating LALR tables
EEGenerating LALR tables
EEGenerating LALR tables
EEGenerating LALR tables
EEGenerating LALR tables
EEGenerating LALR tables
EEGenerating LALR tables
EEGenerating LALR tables
EEGenerating LALR tables
EEGenerating LALR tables
EEGenerating LALR tables
EEGenerating LALR tables
EEGenerating LALR tables
EGenerating LALR tables
EEGathering map information...
0..100
Registering maps in the temporal database...
Registering maps in the space time dataset...
0..Updating space time dataset...
100
Gathering map information...
0..100
Registering maps in the temporal database...
Registering maps in the space time dataset...
0..Updating space time dataset...
100
Gathering map information...
0..100
Registering maps in the space time dataset...
0..Updating space time dataset...
100
Gathering map information...
0..100
Registering maps in the temporal database...
Registering maps in the space time dataset...
0..Updating space time dataset...
100
Gathering map information...
0..WARNING: Map is already registered in temporal database. Unable to update raster map <singletmap@__lib_python_temporal_unittests_temporal_algebra>. Overwrite flag is not set.
100
100
E.EEE.E
======================================================================
ERROR: test_merge_function1 (__main__.TestTemporalAlgebra)
Testing the merge function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 385, in test_merge_function1
    self.assertEqual( D.check_temporal_topology(),  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_merge_function2 (__main__.TestTemporalAlgebra)
Testing the merge function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 391, in test_merge_function2
    ta.parse(expression='R = merge(A, B {!:,contains} A)',  stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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 1709, in perform_temporal_selection
    assign_val = assign_val)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1486, 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_merge_function2 (__main__.TestTemporalAlgebra)
Testing the merge function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_extent1 (__main__.TestTemporalAlgebra)
Testing the temporal extent operators.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 223, in test_temporal_extent1
    ta.parse(expression="R = A {:,during,r} C",  stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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_algebra.py", line 1486, 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_extent1 (__main__.TestTemporalAlgebra)
Testing the temporal extent operators.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_extent2 (__main__.TestTemporalAlgebra)
Testing the temporal extent operators.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 241, in test_temporal_extent2
    ta.parse(expression="R = A {:,during,d} C",  stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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_algebra.py", line 1486, 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_extent2 (__main__.TestTemporalAlgebra)
Testing the temporal extent operators.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_extent3 (__main__.TestTemporalAlgebra)
Testing the temporal extent operators.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 259, in test_temporal_extent3
    ta.parse(expression="R = A {:,during,u} C",  stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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_algebra.py", line 1486, 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_extent3 (__main__.TestTemporalAlgebra)
Testing the temporal extent operators.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_hash1 (__main__.TestTemporalAlgebra)
Testing the hash function in conditional statement.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 281, in test_temporal_hash1
    ta.parse(expression="R = if(A # D == 1, A)",  stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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 2499, in p_t_hash
    count_map=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1486, 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_hash1 (__main__.TestTemporalAlgebra)
Testing the hash function in conditional statement.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_hash_operator1 (__main__.TestTemporalAlgebra)
Testing the hash operator function in conditional statement.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 300, in test_temporal_hash_operator1
    basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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 2517, in p_t_hash2
    count_map=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1486, 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_hash_operator1 (__main__.TestTemporalAlgebra)
Testing the hash operator function in conditional statement.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_hash_operator2 (__main__.TestTemporalAlgebra)
Testing the hash operator function in conditional statement.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 319, in test_temporal_hash_operator2
    stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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 2517, in p_t_hash2
    count_map=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1486, 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_hash_operator2 (__main__.TestTemporalAlgebra)
Testing the hash operator function in conditional statement.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_select1 (__main__.TestTemporalAlgebra)
Testing the temporal select operator with equal relations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 74, in test_temporal_select1
    ta.parse(expression="R = A : A",  stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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 2755, in p_expr_t_select
    selectlist = self.perform_temporal_selection(maplistA, maplistB)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1704, in perform_temporal_selection
    assign_val = assign_val)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1486, 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_select1 (__main__.TestTemporalAlgebra)
Testing the temporal select operator with equal relations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_select2 (__main__.TestTemporalAlgebra)
Testing the temporal select operator with equal relations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 91, in test_temporal_select2
    ta.parse(expression="R = A : D",  stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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 2755, in p_expr_t_select
    selectlist = self.perform_temporal_selection(maplistA, maplistB)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1704, in perform_temporal_selection
    assign_val = assign_val)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1486, 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_select2 (__main__.TestTemporalAlgebra)
Testing the temporal select operator with equal relations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_select3 (__main__.TestTemporalAlgebra)
Testing the temporal select operator with equal relations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 108, in test_temporal_select3
    ta.parse(expression="R = A !: D",  stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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 2781, in p_expr_t_not_select
    inverse=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1709, in perform_temporal_selection
    assign_val = assign_val)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1486, 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_select3 (__main__.TestTemporalAlgebra)
Testing the temporal select operator with equal relations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_select_operators1 (__main__.TestTemporalAlgebra)
Testing the temporal select operator. Including temporal relations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 125, in test_temporal_select_operators1
    ta.parse(expression="R = A {:,during} C",  stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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_algebra.py", line 1486, 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_operators1 (__main__.TestTemporalAlgebra)
Testing the temporal select operator. Including temporal relations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_select_operators2 (__main__.TestTemporalAlgebra)
Testing the temporal select operator. Including temporal relations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 142, in test_temporal_select_operators2
    ta.parse(expression="R = A {:,equal|during} C",  stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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_algebra.py", line 1486, 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_operators2 (__main__.TestTemporalAlgebra)
Testing the temporal select operator. Including temporal relations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_select_operators3 (__main__.TestTemporalAlgebra)
Testing the temporal select operator. Including temporal relations
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 160, in test_temporal_select_operators3
    ta.parse(expression="R = A {!:,during} C",  stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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 1709, in perform_temporal_selection
    assign_val = assign_val)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1486, 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_operators3 (__main__.TestTemporalAlgebra)
Testing the temporal select operator. Including temporal relations
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_select_operators4 (__main__.TestTemporalAlgebra)
Testing the temporal select operator. Including temporal relations and
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 178, in test_temporal_select_operators4
    ta.parse(expression="R = A {:,during,d} C",  stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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_algebra.py", line 1486, 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_operators4 (__main__.TestTemporalAlgebra)
Testing the temporal select operator. Including temporal relations and
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_select_operators5 (__main__.TestTemporalAlgebra)
Testing the temporal select operator. Including temporal relations and
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 201, in test_temporal_select_operators5
    ta.parse(expression="R = C {:,contains} A",  stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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_algebra.py", line 1486, 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_operators5 (__main__.TestTemporalAlgebra)
Testing the temporal select operator. Including temporal relations and
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_tmap_function1 (__main__.TestTemporalAlgebra)
Testing the tmap function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 349, in test_tmap_function1
    self.assertEqual( D.check_temporal_topology(),  True)
  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_function2 (__main__.TestTemporalAlgebra)
Testing the tmap function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 355, in test_tmap_function2
    ta.parse(expression='R = A : tmap(singletmap)',  stdstype = 'strds', basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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 2755, in p_expr_t_select
    selectlist = self.perform_temporal_selection(maplistA, maplistB)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1704, in perform_temporal_selection
    assign_val = assign_val)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1486, 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_tmap_function2 (__main__.TestTemporalAlgebra)
Testing the tmap function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 62, in tearDown
    self.runModule("t.remove", 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='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_buff2 (__main__.TestTemporalAlgebraDryRun)
Testing the shift function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 527, in test_buff2
    overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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_algebra.py", line 1486, 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_merge_function1 (__main__.TestTemporalAlgebraDryRun)
Testing the merge function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 461, in test_merge_function1
    overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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_algebra.py", line 1486, 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_merge_function2 (__main__.TestTemporalAlgebraDryRun)
Testing the merge function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 472, in test_merge_function2
    overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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 1709, in perform_temporal_selection
    assign_val = assign_val)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1486, 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_merge_function3 (__main__.TestTemporalAlgebraDryRun)
Testing the merge function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 483, in test_merge_function3
    overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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 1709, in perform_temporal_selection
    assign_val = assign_val)
  File "etc/python/grass/temporal/temporal_algebra.py", line 1486, 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_shift2 (__main__.TestTemporalAlgebraDryRun)
Testing the shift function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 505, in test_shift2
    overwrite=True)
  File "etc/python/grass/temporal/temporal_algebra.py", line 905, 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_algebra.py", line 1486, 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

----------------------------------------------------------------------
Ran 25 tests in 32.749s
FAILED (errors=39)