[GRASS-user] problems running v.centroids
Uwe Fischer
gisfisch at t-online.de
Thu May 12 08:48:02 PDT 2016
Hello List,
I can't get >v.centroids< working in Grass 7.0.3.
When I try I get the following message:
v.centroids --overwrite --quiet input=inputmap output=outputmap cat=1000
Traceback (most recent call last):
File "C:\PROGRA~1\QGISES~1\apps\grass\grass-7.0.3/scripts/v.centroids.py",
line 69, in <module> main()
File "C:\PROGRA~1\QGISES~1\apps\grass\grass-7.0.3/scripts/v.centroids.py",
line 63, in main
grass.exec_command("v.category", type = 'area',**options)
File
"C:\PROGRA~1\QGISES~1\apps\grass\grass-7.0.3\etc\python\grass\script\core.py
", line 536, in exec_command
os.execvpe(prog, args, env)
File "C:\PROGRA~1\QGISES~1\apps\Python27\lib\os.py", line 353, in execvpe
_execvpe(file, args, env)
File "C:\PROGRA~1\QGISES~1\apps\Python27\lib\os.py", line 380, in _execvpe
func(fullname, *argrest)
OSError: [Errno 2] No such file or directory
(Wed May 11 08:00:49 2016) Command finished (0 sec)
I have no idea what that means and where to look for the error.
Furthermore, the final goal is to run v.centroids as part of an external
python script that can be started from outside GRASS.
When I try this, I get the following message:
Process ended with non-zero return code 1. See errors in the (error) output.
What ist the "(error) output" of a python script and where can I find it?
best regards,
Uwe Fischer
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160512/1f01047a/attachment.html>
More information about the grass-user
mailing list