To complete the description, the gisrc contains: LOCATION_NAME: startLocation MAPSET: PERMANENT DIGITIZER: none GISDBASE: /tmp/tmp9YVf_N OVERWRITE: 1 DEBUG: 0 GUI: text
2015-02-18 19:26 GMT+01:00 G. Allegri <[email protected]>: > Hi Markus, > I wrote the details in another recent email and I forgot to write the > here, sorry. > GRASS 7.0.0 RC1 on Ubuntu 14.04. > I'm creating a temporary database with an empty start location, with no > CRS defined (proj code 0, i.e. XY). > My location contains only the the WIND and DEFAULT_WIND files with the > following content: > > proj: 0 > zone: 0 > north: 1 > south: 0 > east: 1 > west: 0 > cols: 1 > rows: 1 > e-w resol: 1 > n-s resol: 1 > top: 1 > bottom: 0 > cols3: 1 > rows3: 1 > depths: 1 > e-w resol3: 1 > n-s resol3: 1 > t-b resol: 1 > > The env variables I'm using are: > > export PYTHONPATH='/usr/lib/grass70/etc/python' > export GISRC='/tmp/tmp9YVf_N/gisrc' > export GRASS_VERSION='7.0.0' > 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' > export GIS_LOCK=$$ > export LD_LIBRARY_PATH='/usr/lib/grass70/lib' > export GISBASE='/usr/lib/grass70' > > Whatevere shapefile I try to import I obtain a segfault. > This is the test command: > > :/ v.in.ogr dsn="/mnt/data/centroids.shp" output=centroids > location=workLocation -ie > > If I add the VAR file with: > > DB_DRIVER: sqlite > DB_DATABASE: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db > > eveythign works fine. > giovanni > > 2015-02-18 18:08 GMT+01:00 Markus Neteler <[email protected]>: > >> On Wed, Feb 18, 2015 at 3:24 PM, G. Allegri <[email protected]> wrote: >> > I'm getting segmentation faults in case I run a command on a location >> > missing the VAR file. >> >> On which OS, which GRASS version? >> >> > I thought it was optional, as it's said here: >> > >> http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly#GRASS_databases >> >> Please post a reproducible example, thanks. >> >> Markus >> > > > > -- > Giovanni Allegri > http://about.me/giovanniallegri > Twitter: https://twitter.com/_giohappy_ > blog: http://blog.spaziogis.it > GEO+ geomatica in Italia http://bit.ly/GEOplus > -- Giovanni Allegri http://about.me/giovanniallegri Twitter: https://twitter.com/_giohappy_ blog: http://blog.spaziogis.it GEO+ geomatica in Italia http://bit.ly/GEOplus
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
