unittests_temporal_algebra stderr

etc/python/grass/lib/gis.py:807: DeprecationWarning: classic int division
  ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
/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/mx/DateTime/DateTime.py:563: DeprecationWarning: classic int division
  MaxDateTime = DateTime(_sys.maxint / 366 - 1, 12, 31)
/usr/lib/python2.7/dist-packages/mx/DateTime/DateTime.py:564: DeprecationWarning: classic int division
  MinDateTime = DateTime(-_sys.maxint / 366 + 2, 1, 1)
/usr/lib/python2.7/dist-packages/psycopg2/__init__.py:67: 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:571: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class AbstractDatasetComparisonKeyStartTime(object):
etc/python/grass/temporal/abstract_dataset.py:621: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class AbstractDatasetComparisonKeyEndTime(object):
/usr/lib/python2.7/dist-packages/dateutil/relativedelta.py:15: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class weekday(object):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:31: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzutc(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:54: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzoffset(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:83: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzlocal(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:152: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class _ttinfo(object):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:191: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzfile(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:475: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzrange(datetime.tzinfo):
Default TGIS driver / database set to:
driver: sqlite
database:
/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__lib_python_temporal_unittests_temporal_algebra/tgis/sqlite.db
etc/python/grass/temporal/core.py:544: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator
  if grassenv.has_key("TGIS_DISABLE_MAPSET_CHECK"):
etc/python/grass/temporal/core.py:550: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator
  if grassenv.has_key("TGIS_DISABLE_TIMESTAMP_WRITE"):
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:1627: 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 raster dataset...
   0%Updating space time raster dataset...
 100%
Gathering map information...
   0% 100%
Registering maps in the temporal database...
Registering maps in the space time raster dataset...
   0%Updating space time raster dataset...
 100%
Gathering map information...
   0% 100%
Registering maps in the space time raster dataset...
   0%Updating space time raster dataset...
 100%
Gathering map information...
   0% 100%
Registering maps in the temporal database...
Registering maps in the space time raster dataset...
   0%Updating space time raster dataset...
 100%
Gathering map information...
   0% 100%
 100%
/usr/lib/python2.7/dist-packages/ply/lex.py:716: DeprecationWarning: the cmp argument is not supported in 3.x
  f.sort(lambda x,y: cmp(func_code(x[1]).co_firstlineno,func_code(y[1]).co_firstlineno))
/usr/lib/python2.7/dist-packages/ply/lex.py:724: DeprecationWarning: the cmp argument is not supported in 3.x
  s.sort(lambda x,y: (len(x[1]) < len(y[1])) - (len(x[1]) > len(y[1])))
Generating LALR tables
Generating LALR tables
EEGenerating LALR tables
Generating LALR tables
EEGenerating LALR tables
Generating LALR tables
EEGenerating LALR tables
.Generating LALR tables
Generating LALR tables
.Generating LALR tables
Generating LALR tables
Generating LALR tables
.Generating LALR tables
.Generating LALR tables
.Generating LALR tables
.Generating LALR tables
Generating LALR tables
.Generating LALR tables
Generating LALR tables
.Generating LALR tables
Generating LALR tables
etc/python/grass/temporal/temporal_granularity.py:787: DeprecationWarning: reduce() not supported in 3.x; use functools.reduce()
  return reduce(gcd, list)
.Generating LALR tables
Generating LALR tables
EEGenerating LALR tables
Generating LALR tables
.Generating LALR tables
.Generating LALR tables
.E
======================================================================
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 214, 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 860, in parse
    self.parser.parse(expression)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 269, in parse
    return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 975, in parseopt_notrack
    p.callable(pslice)
  File "etc/python/grass/temporal/temporal_algebra.py", line 2071, in p_statement_assign
    m.inputs["rast"].value = map_i.get_id(),  newident
KeyError: 'rast'

======================================================================
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 61, in tearDown
    self.runModule("t.remove", inputs="R", quiet=True)
  File "etc/python/grass/gunittest/case.py", line 953, 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 231, 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 860, in parse
    self.parser.parse(expression)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 269, in parse
    return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 975, in parseopt_notrack
    p.callable(pslice)
  File "etc/python/grass/temporal/temporal_algebra.py", line 2071, in p_statement_assign
    m.inputs["rast"].value = map_i.get_id(),  newident
KeyError: 'rast'

======================================================================
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 61, in tearDown
    self.runModule("t.remove", inputs="R", quiet=True)
  File "etc/python/grass/gunittest/case.py", line 953, 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 248, 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 860, in parse
    self.parser.parse(expression)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 269, in parse
    return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 975, in parseopt_notrack
    p.callable(pslice)
  File "etc/python/grass/temporal/temporal_algebra.py", line 2071, in p_statement_assign
    m.inputs["rast"].value = map_i.get_id(),  newident
KeyError: 'rast'

======================================================================
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 61, in tearDown
    self.runModule("t.remove", inputs="R", quiet=True)
  File "etc/python/grass/gunittest/case.py", line 953, 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 171, 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 860, in parse
    self.parser.parse(expression)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 269, in parse
    return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 975, in parseopt_notrack
    p.callable(pslice)
  File "etc/python/grass/temporal/temporal_algebra.py", line 2071, in p_statement_assign
    m.inputs["rast"].value = map_i.get_id(),  newident
KeyError: 'rast'

======================================================================
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 61, in tearDown
    self.runModule("t.remove", inputs="R", quiet=True)
  File "etc/python/grass/gunittest/case.py", line 953, 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: tearDownClass (__main__.TestTemporalAlgebra)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 67, in tearDownClass
    cls.runModule("t.remove", flags="rf", inputs="A,B,C,D", quiet=True)
  File "etc/python/grass/gunittest/case.py", line 953, in runModule
    errors=errors)
CalledModuleError: Module run 1 t.remove ended with error
Process ended with non-zero return code t.remove(inputs=['A,B,C,D'], type='strds', flags=u'rf', quiet=True). See the following errors:
Traceback (most recent call last):
  File "scripts/t.remove", line 159, in <module>
    tgis.profile_function(main)
  File "etc/python/grass/temporal/core.py", line 73, in profile_function
    func()
  File "scripts/t.remove", line 143, in main
    remove(type="rast", name=",".join(name_list), run_=True)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 594, in __call__
    self.inputs[key].value = val
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 183, in _set_value
    self._value, self._rawvalue = _check_value(self, value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 91, in _check_value
    raise ValueError(must_val % (param.name, param.values))
ValueError: The Parameter <type>, must be one of the following values: ['raster', '3draster', 'vector', 'oldvector', 'asciivector', 'labels', 'region', 'group', 'all']


----------------------------------------------------------------------
Ran 16 tests in 14.839s
FAILED (errors=9)