[GRASS-user] grass-python scripting error

Glynn Clements glynn at gclements.plus.com
Mon May 25 07:35:20 EDT 2009


Milton Cezar Ribeiro wrote:

> I am trying to play with grass & python, and I am trying to
> reproduce the first example available at
> http://grass.osgeo.org/wiki/GRASS_and_Python
> with the following adaptation:

> To try this I started MSYS, started GRASS with -gui option,
> and then typed the name of the script (python_grass03.py): The error looks
> like:

>   File "C:\OSGeo4W\apps\grass\grass-6.4.0RC4\etc\python\grass.py", line 208, in parser
>     os.execvp("g.parser", [name] + argv)

> OSError: [Errno 2] No such file or directory

This is a known problem which has been fixed in SVN:

	http://trac.osgeo.org/grass/changeset/37075

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list