test_vector_algebra

./temporal/t.vect.algebra – test_vector_algebra

Test failed

Testtest_vector_algebra
Testsuite./temporal/t.vect.algebra
Test file./temporal/t.vect.algebra/testsuite/test_vector_algebra.py
StatusFAILED
Return code1
Number of tests7
Successful tests2
Failed tests10
Percent successful29%
Test duration0:00:17.047414
Tested modulest.vect.algebra

Supplementary files

Standard error output (stderr)

... (lines omitted)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 975, in parseopt_notrack
    p.callable(pslice)
  File "etc/python/grass/temporal/temporal_vector_algebra.py", line 590, in p_buffer_operation
    m.outputs["output"].value = map_new.get_name()
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 189, in _set_value
    self._value, self._rawvalue = _check_value(self, value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 77, in _check_value
    check_string(value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 47, in check_string
    raise ValueError(msg % (param.name, type(value), value))
ValueError: The Parameter <output> require a string, <type 'unicode'> instead is provided: u'tmp_map_name_11095_5'


======================================================================
FAIL: test_temporal_overlay_operators_3 (__main__.TestTemporalVectorAlgebra)
Testing the spatial overlay operator.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.vect.algebra/testsuite/test_vector_algebra.py", line 177, in test_temporal_overlay_operators_3
    self.assertModule("t.vect.algebra",  expression="R = buff_p(A,2.5) {&,during,l} buff_p(C,2.5)", basename="r")
  File "etc/python/grass/gunittest/case.py", line 1161, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.vect.algebra> module ended with non-zero return code (1)
Called: t.vect_algebra(expression='R = buff_p(A,2.5) {&,during,l} buff_p(C,2.5)', basename='r')
See the following errors:
Traceback (most recent call last):
  File "scripts/t.vect.algebra", line 72, in <module>
    sys.exit(main())
  File "scripts/t.vect.algebra", line 68, in main
    p.parse(expression, basename, grass.script.overwrite())
  File "etc/python/grass/temporal/temporal_vector_algebra.py", line 147, 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_vector_algebra.py", line 590, in p_buffer_operation
    m.outputs["output"].value = map_new.get_name()
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 189, in _set_value
    self._value, self._rawvalue = _check_value(self, value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 77, in _check_value
    check_string(value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 47, in check_string
    raise ValueError(msg % (param.name, type(value), value))
ValueError: The Parameter <output> require a string, <type 'unicode'> instead is provided: u'tmp_map_name_11133_5'


----------------------------------------------------------------------
Ran 7 tests in 14.665s
FAILED (failures=5, errors=5)