[GRASS-user] Database driver problem

Markus Neteler neteler at osgeo.org
Thu Oct 1 08:50:09 EDT 2009


On Sun, Sep 27, 2009 at 11:45 AM, grassyjohn <jf_walsh at hotmail.com> wrote:
>
> I've tried importing the spearfish_contours files via File-->Import Vector
> Map-->Multiple Formats Using OGR and get this message
>
> Invalid argument: can't _spawnl
> Unable to start driver <sqlite>
>
> Unable open database
> <D:/GIS_DataBase/Spearfish60/user1/dbf/spearfish_contours.db> by driver
> <sqlite>
>
> I've tried using dbf and ogr database drivers but the result is the same.
>
> I'm using GRASS 6.4 on Windows XP.  Has anyone come across the problem?

I could try here on XP, same issue. with g.gisenv and DEBUG=3 I see


g.remove vect=vegetazione_Monte_madonna_UTM32 at Monte_Madonna
Removing vector <vegetazione_Monte_madonna_UTM32 at Monte_Madonna>
D3/3: Delete vector 'vegetazione_Monte_madonna_UTM32'
D1/3: dbln file: C:\grassdata/UTM32N/Monte_Madonna/vector/ve
getazione_Monte_madonna_UTM32/dbln
D1/3: Vect_open_old(): name =
vegetazione_Monte_madonna_UTM32 mapset= Monte_Madonna update
= 0
D1/3: Vect_set_thresh(): thresh = 0.000000
D3/3: dig_init_plus()
D1/3: dig_spidx_init()
D3/3: dig_cidx_init()
D1/3: open format file:
'Monte_Madonna/vector/vegetazione_Monte_madonna_UTM32/frmt'
D1/3: Vector format: 0 (native)
D1/3: Vect_set_thresh(): thresh = 0.000000
D1/3: Vect__read_head(): vector =
vegetazione_Monte_madonna_UTM32 at Monte_Madonna
D1/3: Vect_set_thresh(): thresh = 0.000000
D1/3: Level request = 1
D1/3: Vect_open_old(): vector opened on level 1
D1/3: Vect_read_dblinks(): map =
vegetazione_Monte_madonna_UTM32, mapset = Monte_Madonna
D3/3: Searching for FID column in OGR DB
D1/3: dbln file: C:\grassdata/UTM32N/Monte_Madonna/vector/ve
getazione_Monte_madonna_UTM32/dbln
D1/3: dbln: 1 vegetazione_Monte_madonna_UTM32 cat
$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ dbf
D3/3: Field number <1>, name <(null)>
D3/3: Vect_check_dblink: field 1
D1/3: field = 1 name = (null), table =
vegetazione_Monte_madonna_UTM32, key = cat, database =
$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/, driver = dbf
D1/3: Dblinks read
D1/3: Vect_get_dblink(): link = 0
D3/3: Vect_subst_var(): in =
$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/, map =
vegetazione_Monte_madonna_UTM32, mapset = Monte_Madonna
D3/3:   -> C:\grassdata/UTM32N/Monte_Madonna/dbf/
D3/3: Delete drv:db:table 'dbf:C:\grassdata/UTM32N/Monte_Mad
onna/dbf/:vegetazione_Monte_madonna_UTM32'
D3/3: db_start_driver_open_database():
  drvname = dbf, dbname =
C:\grassdata/UTM32N/Monte_Madonna/dbf/
D2/3: opendir C:/GRASS-6-SVN\driver\db\
Invalid argument: can't _spawnl
Unable to start driver <dbf>
Unable open database <C:\grassdata/UTM32N/Monte_Madonna/dbf/> by driver <dbf>
Unable to find table <vegetazione_Monte_madonna_UTM32> linked to
vector map <vegetazione_Monte_madonna_UTM32>
D1/3: Vect_close(): name = vegetazione_Monte_madonna_UTM32,
mapset = Monte_Madonna, format = 0, level = 1
D1/3: close history file
couldn't be removed
<vegetazione_Monte_madonna_UTM32> nothing removed
(Thu Oct 01 11:30:53 2009) Command finished (0 sec)

Could the problem be that \ and / slashes are used?

Markus


More information about the grass-user mailing list