[GRASS-user] grass-python scripting error

Milton Cezar Ribeiro miltinho.astronauta at gmail.com
Mon May 25 09:52:28 EDT 2009


Hi Glynn,

I will try this, but was thinking, as my plataform is not win32 (I am
running amd64 or x64) if with the change :
     if sys.platform == "win32":  ....
if it will also work for my case?!
Cheers

milton
2009/5/25 Glynn Clements <glynn at gclements.plus.com>

>
> 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>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20090525/5920fdcb/attachment.html


More information about the grass-user mailing list