<div dir="ltr">To complete the description, the gisrc contains:<div><br></div><div><div>LOCATION_NAME: startLocation</div><div>MAPSET: PERMANENT</div><div>DIGITIZER: none</div><div>GISDBASE: /tmp/tmp9YVf_N</div><div>OVERWRITE: 1</div><div>DEBUG: 0</div><div>GUI: text</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-18 19:26 GMT+01:00 G. Allegri <span dir="ltr"><<a href="mailto:giohappy@gmail.com" target="_blank">giohappy@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Markus,<div>I wrote the details in another recent email and I forgot to write the here, sorry.</div><div>GRASS 7.0.0 RC1 on Ubuntu 14.04.</div><div>I'm creating a temporary database with an empty start location, with no CRS defined (proj code 0, i.e. XY).</div><div>My location contains only the the WIND and DEFAULT_WIND files with the following content:</div><div><br></div><div><div>proj:       0</div><div>zone:       0</div><div>north:      1</div><div>south:      0</div><div>east:       1</div><div>west:       0</div><div>cols:       1</div><div>rows:       1</div><div>e-w resol:  1</div><div>n-s resol:  1</div><div>top:        1</div><div>bottom:     0</div><div>cols3:      1</div><div>rows3:      1</div><div>depths:     1</div><div>e-w resol3: 1</div><div>n-s resol3: 1</div><div>t-b resol:  1</div></div><div><br></div><div>The env variables I'm using are:</div><div><br></div><div><div>export PYTHONPATH='/usr/lib/grass70/etc/python'</div><div>export GISRC='/tmp/tmp9YVf_N/gisrc'</div><div>export GRASS_VERSION='7.0.0'</div><div>export PATH='/usr/lib/grass70/bin:/usr/lib/grass70/scripts:/home/giova/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'</div><div>export GIS_LOCK=$$</div><div>export LD_LIBRARY_PATH='/usr/lib/grass70/lib'</div><div>export GISBASE='/usr/lib/grass70'</div></div><div><br></div><div>Whatevere shapefile I try to import I obtain a segfault.</div><div>This is the test command: </div><div><br></div><div>:/ v.in.ogr dsn="/mnt/data/centroids.shp" output=centroids location=workLocation -ie<br></div><div><br></div><div>If I add the VAR file with:</div><div><br></div><div><div>DB_DRIVER: sqlite</div><div>DB_DATABASE: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db</div></div><div><br></div><div>eveythign works fine.</div><div>giovanni</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2015-02-18 18:08 GMT+01:00 Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Wed, Feb 18, 2015 at 3:24 PM, G. Allegri <<a href="mailto:giohappy@gmail.com" target="_blank">giohappy@gmail.com</a>> wrote:<br>
> I'm getting segmentation faults in case I run a command on a location<br>
> missing the VAR file.<br>
<br>
</span>On which OS, which GRASS version?<br>
<span><br>
> I thought it was optional, as it's said here:<br>
> <a href="http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly#GRASS_databases" target="_blank">http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly#GRASS_databases</a><br>
<br>
</span>Please post a reproducible example, thanks.<br>
<span><font color="#888888"><br>
Markus<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="">-- <br><div><div dir="ltr">Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a><div>Twitter: <a href="https://twitter.com/_giohappy_" target="_blank">https://twitter.com/_giohappy_</a></div><div>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a></div></div></div>
</span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a><div>Twitter: <a href="https://twitter.com/_giohappy_" target="_blank">https://twitter.com/_giohappy_</a></div><div>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a></div></div></div>
</div>