On 03/15/2015 07:26 AM, Pedro Camargo
wrote:
Hi Sittichai and Micha,
I just came back from a conference, thus back to this issue.
I tried many configurations for the code, including the
following
gisdbase = os.path.join(os.getenv('APPDATA', 'grassdata'))
and
gisdbase = os.path.join('J:/ MY_PROJECT/GRASS/')
I'm not an expert in python, but I think you need something like:
gisdbase = os.path.join("J:/","MY_PROJECT","GRASS")
Then, of course, run the grass.init function
and
gisdbase='J:\MY_PROJECT\GRASS'
and
gisdbase = os.path.join(os.getenv('APPDATA')+
"/GRASS6/grassrc6")
For all these, the output was the same, and created a file
in the temp folder as below.
c:\users\pedro\appdata\local\temp\tmprdjnow
-1073741515
Any other suggestions?
Thanks a lot,
Pedro
This mail was received via Mail-SeCure System.
|
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user