[GRASS-user] Problems with GRASS python code in osgeo4w
Moskovitz, Bob
Bob.Moskovitz at conservation.ca.gov
Mon Jun 22 19:16:52 EDT 2009
I also wanted to add that I did run the program like this: c:\osgeo4w\apps\grass\grass-6.4.0svn\scripts\m.dipslope.py --help
> -----Original Message-----
> From: grass-user-bounces at lists.osgeo.org
> [mailto:grass-user-bounces at lists.osgeo.org]On Behalf Of Moskovitz, Bob
> Sent: Monday, June 22, 2009 4:07 PM
> To: Glynn Clements
> Cc: Grass-User (E-mail)
> Subject: RE: [GRASS-user] Problems with GRASS python code in osgeo4w
>
>
> There is no etc/python/grass/script/core.py. Just
> etc\python\grass.py. Here is a part of a pdb debug session:
>
> > c:\osgeo4w\apps\grass\grass-~1.0sv\etc\python\grass.py(208)parser()
> -> if sys.platform == "win32":
> (Pdb)
> > c:\osgeo4w\apps\grass\grass-~1.0sv\etc\python\grass.py(209)parser()
> -> try:
> (Pdb)
> > c:\osgeo4w\apps\grass\grass-~1.0sv\etc\python\grass.py(210)parser()
> -> os.execvp("g.parser.exe", [name] + argv)
> (Pdb) p [name] + argv
> ['c:\\osgeo4w\\apps\\grass\\grass-6.4.0svn\\scripts\\m.dipslop
> e.py', 'c:\\osgeo
> 4w\\apps\\grass\\grass-6.4.0svn\\scripts\\m.dipslope.py']
> (Pdb)
>
>
More information about the grass-user
mailing list