[GRASS-dev] Working with GRASS without starting it explicitly on windows

Glynn Clements glynn at gclements.plus.com
Thu Feb 27 22:00:44 PST 2014


Pietro wrote:

> I'm trying to start grass grass without starting it explicitly on
> windows, but it is not working, I've attached the script that works on
> linux... in windows the result of the script is:
> 
> C:\Program Files (x86)\GRASS GIS 7.0.svn\extrabin\python.exe
> {}
> 
> the first line is the path to the python interpreter in use and the
> dictionary is the result of the script.core.region function.

Can you add pprint(os.environ) to the end of the script and provide
the result?

Also, has the mapset already been created, i.e. does the file

	C:\Users\Pietro\Desktop\GRASS_FILE\ncb7\user1\WIND

exist?

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


More information about the grass-dev mailing list