<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello,<div><br></div><div>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). </div><div><br></div><div>Does anybody have an idea how to solve this? That would be great.</div><div><br></div><div>Thanks in advance</div><div>Caro</div><div>
<br>

<br><div><div>On 23 Jul. 2014, at 13:46 , Carolin von Groote-Bidlingmaier <<a href="mailto:Carolin.vonGroote-Bidlingmaier@geo.uni-augsburg.de">Carolin.vonGroote-Bidlingmaier@geo.uni-augsburg.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">Dear Mailing List Readers,</span><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);"><br></div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255); position: static; z-index: auto;">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.</div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);"><br></div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">Environmental settings:</div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">GISBASE: C:\Program Files\GRASS GIS 6.4.3</div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">GISRC: C:\Users\<myusername>\AppData\Roaming\GRASS6\grassrc6 (this file exists and has the following information: </div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">- GISDBASE: E:\data\grass_data</div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">- LOCATION_NAME: Amazon_Brazil</div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">- MAPSET: Amazon</div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">- GRASS_GUI: wxpython</div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">which is the correct grass-location)</div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">GRASS_SH: C:\Program Files\GRASS GIS 6.4.3\msys\bin\sh.exe</div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">LD_LIBRARY_PATH: C:\Program Files\GRASS GIS 6.4.3\lib</div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">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</div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);"><br></div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);"><br></div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">import grass.script as grass works. Are there any suggestions what I made wrong/forgot?</div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);"><br></div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">Thanks a lot for your help,</div><div style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);">Caro</div>
<br></div></blockquote></div><br></div></body></html>