Hello, now I’m getting closer to the problem (but still have no clue how to solve it). Actually grass seems to work - at least the g.list command works fine with python on the windows machine. The problem is the v.in.ogr command which returns -1073741511 as an error code. I tried Grass 6.4.3, Grass 6.4.4 and Grass 7.0 beta the error is the same every time (of course I updated the environmental settings).
Does anybody have an idea how to solve this? That would be great. Thanks in advance Caro On 23 Jul. 2014, at 13:46 , Carolin von Groote-Bidlingmaier <[email protected]> wrote: > Dear Mailing List Readers, > > I have problems using grass gis with an external python script on windows 7 > 32bit. I don’t get any error messages but nothing happens in grass gis. I > simply try to import a shapefile and nothing happens (but I have the same > problem when trying to list all the existing files in my map set) Everything > works fine on OS X so I assume it's not a matter of wrong python code. When I > do that manually in grass everything works fine. > > Environmental settings: > GISBASE: C:\Program Files\GRASS GIS 6.4.3 > GISRC: C:\Users\<myusername>\AppData\Roaming\GRASS6\grassrc6 (this file > exists and has the following information: > - GISDBASE: E:\data\grass_data > - LOCATION_NAME: Amazon_Brazil > - MAPSET: Amazon > - GRASS_GUI: wxpython > which is the correct grass-location) > GRASS_SH: C:\Program Files\GRASS GIS 6.4.3\msys\bin\sh.exe > LD_LIBRARY_PATH: C:\Program Files\GRASS GIS 6.4.3\lib > PATH: besides other entries C:\Program Files\GRASS GIS 6.4.3\etc;C:\Program > Files\GRASS GIS 6.4.3\lib;C:\Program Files\GRASS GIS 6.4.3\bin;C:\Program > Files\GRASS GIS 6.4.3\extralib;C:\Program Files\GRASS GIS 6.4.3\msys\bin > > > import grass.script as grass works. Are there any suggestions what I made > wrong/forgot? > > Thanks a lot for your help, > Caro >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
