[GRASS-dev] [GRASS GIS] #2875: Python testsuite failing with UnicodeDecodeError
GRASS GIS
trac at osgeo.org
Mon Feb 27 01:44:25 PST 2017
#2875: Python testsuite failing with UnicodeDecodeError
--------------------------+-------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.1
Component: Tests | Version: svn-trunk
Resolution: | Keywords:
CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Comment (by marisn):
It seems to work as expected (and tests are still failing):
{{{
python -c 'from grass.pygrass.modules import Module; module =
Module("r.mapcalc", expression="rand_x = rand(1, 200)")'
KĻŪDA: Pseudo-random number generator not seeded
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "dist.x86_64-pc-linux-
gnu/etc/python/grass/pygrass/modules/interface/module.py", line 591, in
__init__
self.__call__(*args, **kargs)
File "dist.x86_64-pc-linux-
gnu/etc/python/grass/pygrass/modules/interface/module.py", line 648, in
__call__
return self.run()
File "dist.x86_64-pc-linux-
gnu/etc/python/grass/pygrass/modules/interface/module.py", line 769, in
run
self.wait()
File "dist.x86_64-pc-linux-
gnu/etc/python/grass/pygrass/modules/interface/module.py", line 790, in
wait
module=self.name, errors=stderr)
grass.exceptions.CalledModuleError: Module run r.mapcalc r.mapcalc
expression=rand_x = rand(1, 200) ended with error
Process ended with non-zero return code 1. See errors in the (error)
output.
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2875#comment:9>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list