test_raster_algebra_granularity 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/__temporal_t_rast_algebra_test_raster_algebra_granularity/tgis/sqlite.db
But database file does not exist.
Creating temporal database: /grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_rast_algebra_test_raster_algebra_granularity/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 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 space time dataset...
0..Updating space time dataset...
100
Gathering map information...
0..100
100
FEFEFEFEFEFEFEFEFEFE
======================================================================
ERROR: test_1 (__main__.TestTRastAlgebraGranularity)
Simple arithmetik test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 68, in tearDown
    self.runModule("t.remove", flags="rf", 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', flags=u'rf', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_2 (__main__.TestTRastAlgebraGranularity)
Simple arithmetik test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 68, in tearDown
    self.runModule("t.remove", flags="rf", 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', flags=u'rf', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_complex_arith_if_1 (__main__.TestTRastAlgebraGranularity)
Complex arithmetic test with if condition
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 68, in tearDown
    self.runModule("t.remove", flags="rf", 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', flags=u'rf', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_map (__main__.TestTRastAlgebraGranularity)
Test STDS + single map without timestamp
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 68, in tearDown
    self.runModule("t.remove", flags="rf", 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', flags=u'rf', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_simple_arith_hash_1 (__main__.TestTRastAlgebraGranularity)
Simple arithmetic test including the hash operator
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 68, in tearDown
    self.runModule("t.remove", flags="rf", 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', flags=u'rf', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_simple_arith_if_1 (__main__.TestTRastAlgebraGranularity)
Simple arithmetic test with if condition
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 68, in tearDown
    self.runModule("t.remove", flags="rf", 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', flags=u'rf', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_simple_arith_if_2 (__main__.TestTRastAlgebraGranularity)
Simple arithmetic test with if condition
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 68, in tearDown
    self.runModule("t.remove", flags="rf", 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', flags=u'rf', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_simple_arith_td_1 (__main__.TestTRastAlgebraGranularity)
Simple arithmetic test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 68, in tearDown
    self.runModule("t.remove", flags="rf", 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', flags=u'rf', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_neighbors (__main__.TestTRastAlgebraGranularity)
Simple temporal neighborhood computation test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 68, in tearDown
    self.runModule("t.remove", flags="rf", 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', flags=u'rf', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_tmap_map (__main__.TestTRastAlgebraGranularity)
Test STDS + single map with and without timestamp
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 68, in tearDown
    self.runModule("t.remove", flags="rf", 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', flags=u'rf', quiet=True). See errors in the (error) output.

======================================================================
FAIL: test_1 (__main__.TestTRastAlgebraGranularity)
Simple arithmetik test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 81, in test_1
    self.assertModule("t.rast.algebra",  expression=expr, flags="gd", basename="r")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.algebra> module ended with non-zero return code (1)
Called: t.rast_algebra(expression='R = if(C == 9,  A - 1)', basename='r', suffix='num', nprocs=1, flags=u'gd')
See the following errors:
ERROR: Wrong type of input C
Traceback (most recent call last):
  File "scripts/t.rast.algebra", line 132, in <module>
    sys.exit(main())
  File "scripts/t.rast.algebra", line 124, in main
    pc = p.parse(expression, basename, grass.script.overwrite())
  File "etc/python/grass/temporal/temporal_raster_algebra.py", line 112, 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_raster_base_algebra.py", line 1396, in p_s_var_expr_3
    maplist = self.check_stds(t[1])
  File "etc/python/grass/temporal/temporal_algebra.py", line 1226, in check_stds
    self.msgr.fatal(_("Wrong type of input " + str(input)))
  File "etc/python/grass/pygrass/messages/__init__.py", line 269, in fatal
    raise FatalError(message)
grass.exceptions.FatalError: Wrong type of input C


======================================================================
FAIL: test_2 (__main__.TestTRastAlgebraGranularity)
Simple arithmetik test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 98, in test_2
    self.assertModule("t.rast.algebra",  expression=expr, flags="gd", basename="r")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.algebra> module ended with non-zero return code (1)
Called: t.rast_algebra(expression='R = if(D == 11,  A - 1, A + 1)', basename='r', suffix='num', nprocs=1, flags=u'gd')
See the following errors:
ERROR: Wrong type of input D
Traceback (most recent call last):
  File "scripts/t.rast.algebra", line 132, in <module>
    sys.exit(main())
  File "scripts/t.rast.algebra", line 124, in main
    pc = p.parse(expression, basename, grass.script.overwrite())
  File "etc/python/grass/temporal/temporal_raster_algebra.py", line 112, 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_raster_base_algebra.py", line 1396, in p_s_var_expr_3
    maplist = self.check_stds(t[1])
  File "etc/python/grass/temporal/temporal_algebra.py", line 1226, in check_stds
    self.msgr.fatal(_("Wrong type of input " + str(input)))
  File "etc/python/grass/pygrass/messages/__init__.py", line 269, in fatal
    raise FatalError(message)
grass.exceptions.FatalError: Wrong type of input D


======================================================================
FAIL: test_complex_arith_if_1 (__main__.TestTRastAlgebraGranularity)
Complex arithmetic test with if condition
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 178, in test_complex_arith_if_1
    self.assertModule("t.rast.algebra",  expression=expr, flags="gd", basename="r")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.algebra> module ended with non-zero return code (1)
Called: t.rast_algebra(expression='R = if(start_date(A) < "2001-03-01" && A#A == 1, A+C, A-C)', basename='r', suffix='num', nprocs=1, flags=u'gd')
See the following errors:
ERROR: Wrong type of input A
Traceback (most recent call last):
  File "scripts/t.rast.algebra", line 132, in <module>
    sys.exit(main())
  File "scripts/t.rast.algebra", line 124, in main
    pc = p.parse(expression, basename, grass.script.overwrite())
  File "etc/python/grass/temporal/temporal_raster_algebra.py", line 112, 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 2676, in p_t_var_expr_time
    maplist = self.check_stds(t[3])
  File "etc/python/grass/temporal/temporal_algebra.py", line 1226, in check_stds
    self.msgr.fatal(_("Wrong type of input " + str(input)))
  File "etc/python/grass/pygrass/messages/__init__.py", line 269, in fatal
    raise FatalError(message)
grass.exceptions.FatalError: Wrong type of input A


======================================================================
FAIL: test_map (__main__.TestTRastAlgebraGranularity)
Test STDS + single map without timestamp
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 208, in test_map
    self.assertModule("t.rast.algebra",  expression=expr, flags="gd", basename="r")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.algebra> module ended with non-zero return code (1)
Called: t.rast_algebra(expression='R = A + map(singletmap)', basename='r', suffix='num', nprocs=1, flags=u'gd')
See the following errors:
ERROR: Wrong type of input A
Traceback (most recent call last):
  File "scripts/t.rast.algebra", line 132, in <module>
    sys.exit(main())
  File "scripts/t.rast.algebra", line 124, in main
    pc = p.parse(expression, basename, grass.script.overwrite())
  File "etc/python/grass/temporal/temporal_raster_algebra.py", line 112, 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_raster_base_algebra.py", line 1112, in p_arith2_operation_numeric1
    maplist = self.check_stds(t[1])
  File "etc/python/grass/temporal/temporal_algebra.py", line 1226, in check_stds
    self.msgr.fatal(_("Wrong type of input " + str(input)))
  File "etc/python/grass/pygrass/messages/__init__.py", line 269, in fatal
    raise FatalError(message)
grass.exceptions.FatalError: Wrong type of input A


======================================================================
FAIL: test_simple_arith_hash_1 (__main__.TestTRastAlgebraGranularity)
Simple arithmetic test including the hash operator
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 115, in test_simple_arith_hash_1
    self.assertModule("t.rast.algebra",  expression=expr, flags="gd", basename="r")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.algebra> module ended with non-zero return code (1)
Called: t.rast_algebra(expression='R = A + (A # A)', basename='r', suffix='num', nprocs=1, flags=u'gd')
See the following errors:
ERROR: Wrong type of input A
Traceback (most recent call last):
  File "scripts/t.rast.algebra", line 132, in <module>
    sys.exit(main())
  File "scripts/t.rast.algebra", line 124, in main
    pc = p.parse(expression, basename, grass.script.overwrite())
  File "etc/python/grass/temporal/temporal_raster_algebra.py", line 112, 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 2495, in p_t_hash
    maplistA   = self.check_stds(t[1])
  File "etc/python/grass/temporal/temporal_algebra.py", line 1226, in check_stds
    self.msgr.fatal(_("Wrong type of input " + str(input)))
  File "etc/python/grass/pygrass/messages/__init__.py", line 269, in fatal
    raise FatalError(message)
grass.exceptions.FatalError: Wrong type of input A


======================================================================
FAIL: test_simple_arith_if_1 (__main__.TestTRastAlgebraGranularity)
Simple arithmetic test with if condition
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 148, in test_simple_arith_if_1
    self.assertModule("t.rast.algebra",  expression=expr, flags="gd", basename="r")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.algebra> module ended with non-zero return code (1)
Called: t.rast_algebra(expression='R = if(start_date(A) >= "2001-02-01", A + A)', basename='r', suffix='num', nprocs=1, flags=u'gd')
See the following errors:
ERROR: Wrong type of input A
Traceback (most recent call last):
  File "scripts/t.rast.algebra", line 132, in <module>
    sys.exit(main())
  File "scripts/t.rast.algebra", line 124, in main
    pc = p.parse(expression, basename, grass.script.overwrite())
  File "etc/python/grass/temporal/temporal_raster_algebra.py", line 112, 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 2676, in p_t_var_expr_time
    maplist = self.check_stds(t[3])
  File "etc/python/grass/temporal/temporal_algebra.py", line 1226, in check_stds
    self.msgr.fatal(_("Wrong type of input " + str(input)))
  File "etc/python/grass/pygrass/messages/__init__.py", line 269, in fatal
    raise FatalError(message)
grass.exceptions.FatalError: Wrong type of input A


======================================================================
FAIL: test_simple_arith_if_2 (__main__.TestTRastAlgebraGranularity)
Simple arithmetic test with if condition
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 163, in test_simple_arith_if_2
    self.assertModule("t.rast.algebra",  expression=expr, flags="gd", basename="r")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.algebra> module ended with non-zero return code (1)
Called: t.rast_algebra(expression='R = if(A#A == 1, A - A)', basename='r', suffix='num', nprocs=1, flags=u'gd')
See the following errors:
ERROR: Wrong type of input A
Traceback (most recent call last):
  File "scripts/t.rast.algebra", line 132, in <module>
    sys.exit(main())
  File "scripts/t.rast.algebra", line 124, in main
    pc = p.parse(expression, basename, grass.script.overwrite())
  File "etc/python/grass/temporal/temporal_raster_algebra.py", line 112, 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 2495, in p_t_hash
    maplistA   = self.check_stds(t[1])
  File "etc/python/grass/temporal/temporal_algebra.py", line 1226, in check_stds
    self.msgr.fatal(_("Wrong type of input " + str(input)))
  File "etc/python/grass/pygrass/messages/__init__.py", line 269, in fatal
    raise FatalError(message)
grass.exceptions.FatalError: Wrong type of input A


======================================================================
FAIL: test_simple_arith_td_1 (__main__.TestTRastAlgebraGranularity)
Simple arithmetic test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 131, in test_simple_arith_td_1
    self.assertModule("t.rast.algebra",  expression=expr, flags="gd", basename="r")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.algebra> module ended with non-zero return code (1)
Called: t.rast_algebra(expression='R = A + td(A:D)', basename='r', suffix='num', nprocs=1, flags=u'gd')
See the following errors:
ERROR: Wrong type of input A
Traceback (most recent call last):
  File "scripts/t.rast.algebra", line 132, in <module>
    sys.exit(main())
  File "scripts/t.rast.algebra", line 124, in main
    pc = p.parse(expression, basename, grass.script.overwrite())
  File "etc/python/grass/temporal/temporal_raster_algebra.py", line 112, 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 2752, in p_expr_t_select
    maplistA     = self.check_stds(t[1])
  File "etc/python/grass/temporal/temporal_algebra.py", line 1226, in check_stds
    self.msgr.fatal(_("Wrong type of input " + str(input)))
  File "etc/python/grass/pygrass/messages/__init__.py", line 269, in fatal
    raise FatalError(message)
grass.exceptions.FatalError: Wrong type of input A


======================================================================
FAIL: test_temporal_neighbors (__main__.TestTRastAlgebraGranularity)
Simple temporal neighborhood computation test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 193, in test_temporal_neighbors
    self.assertModule("t.rast.algebra",  expression=expr, flags="gd", basename="r")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.algebra> module ended with non-zero return code (1)
Called: t.rast_algebra(expression='R = (A[0,0,-1] : D) + (A[0,0,1] : D)', basename='r', suffix='num', nprocs=1, flags=u'gd')
See the following errors:
ERROR: Wrong type of input A
Traceback (most recent call last):
  File "scripts/t.rast.algebra", line 132, in <module>
    sys.exit(main())
  File "scripts/t.rast.algebra", line 124, in main
    pc = p.parse(expression, basename, grass.script.overwrite())
  File "etc/python/grass/temporal/temporal_raster_algebra.py", line 112, 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_raster_algebra.py", line 137, in p_ts_neighbour_operation
    maplist = self.check_stds(t[1])
  File "etc/python/grass/temporal/temporal_algebra.py", line 1226, in check_stds
    self.msgr.fatal(_("Wrong type of input " + str(input)))
  File "etc/python/grass/pygrass/messages/__init__.py", line 269, in fatal
    raise FatalError(message)
grass.exceptions.FatalError: Wrong type of input A


======================================================================
FAIL: test_tmap_map (__main__.TestTRastAlgebraGranularity)
Test STDS + single map with and without timestamp
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 223, in test_tmap_map
    self.assertModule("t.rast.algebra",  expression=expr, flags="gd", basename="r")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.algebra> module ended with non-zero return code (1)
Called: t.rast_algebra(expression='R = tmap(singletmap) + A + map(singletmap)', basename='r', suffix='num', nprocs=1, flags=u'gd')
See the following errors:
ERROR: Wrong type of input A
Traceback (most recent call last):
  File "scripts/t.rast.algebra", line 132, in <module>
    sys.exit(main())
  File "scripts/t.rast.algebra", line 124, in main
    pc = p.parse(expression, basename, grass.script.overwrite())
  File "etc/python/grass/temporal/temporal_raster_algebra.py", line 112, 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_raster_base_algebra.py", line 1043, in p_arith2_operation
    maplistB = self.check_stds(t[3])
  File "etc/python/grass/temporal/temporal_algebra.py", line 1226, in check_stds
    self.msgr.fatal(_("Wrong type of input " + str(input)))
  File "etc/python/grass/pygrass/messages/__init__.py", line 269, in fatal
    raise FatalError(message)
grass.exceptions.FatalError: Wrong type of input A


----------------------------------------------------------------------
Ran 10 tests in 48.870s
FAILED (failures=10, errors=10)