[GRASS-dev] [GRASS GIS] #2711: v.patch -e crashes

GRASS GIS trac at osgeo.org
Sat Jul 18 11:21:30 PDT 2015


#2711: v.patch -e crashes
-------------------------------+---------------------------------
 Reporter:  hellik             |      Owner:  grass-dev@…
     Type:  defect             |     Status:  new
 Priority:  normal             |  Milestone:  7.0.1
Component:  Vector             |    Version:  svn-releasebranch70
 Keywords:  v.patch, wingrass  |        CPU:  x86-32
 Platform:  MSWindows Vista    |
-------------------------------+---------------------------------
 {{{
 v.patch -e --verbose input=geology at PERMANENT,streams at PERMANENT
 output=testvpatchwithattributes
 D1/3: G_set_program_name(): v.patch
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/user1
 D2/3: G_file_name(): path = J:\gisdata/nc_spm_08_grass7/user
 1/vector/testvpatchwithattributes
 D1/3: G_find_vector2(): name=geology at PERMANENT mapset=
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology
 D1/3: Vect__open_old(): name = geology at PERMANENT, mapset = ,
 layer = NULL, update = 0, head_only = 1, is_tmp = 0
 D1/3: Vect__open_old(): is_tmp = 0 (check
 GRASS_VECTOR_TEMPORARY)
 D1/3: Vect_set_thresh(): thresh = 0.000000
 D3/3: dig_init_plus()
 D1/3: dig_spidx_init(), 2 dims
 D3/3: dig_cidx_init()
 D1/3: G_find_vector2(): name=geology mapset=PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology
 D1/3: Map: name = geology, mapset = PERMANENT, temporary = 0
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/frmt
 D1/3: Vector format: 0 (native)
 D1/3: Vect_set_thresh(): thresh = 0.000000
 D1/3: Vect__read_head(): vector = geology at PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/head
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/head
 D2/3:   file open: read (mode = r)
 D1/3: Vect_set_thresh(): thresh = 0.000000
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/user1/WIND
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/user1/WIND
 D2/3:   file open: read (mode = r)
 D2/3: G__read_Cell_head
 D2/3: G__read_Cell_head_array
 D3/3: region item: proj:       99
 D3/3: region item: zone:       0
 D3/3: region item: north:      228500
 D3/3: region item: south:      215000
 D3/3: region item: east:       645000
 D3/3: region item: west:       630000
 D3/3: region item: cols:       1500
 D3/3: region item: rows:       1350
 D3/3: region item: e-w resol:  10
 D3/3: region item: n-s resol:  10
 D3/3: region item: top:        1.000000000000000
 D3/3: region item: bottom:     0.000000000000000
 D3/3: region item: cols3:      1500
 D3/3: region item: rows3:      1350
 D3/3: region item: depths:     1
 D3/3: region item: e-w resol3: 10
 D3/3: region item: n-s resol3: 10
 D3/3: region item: t-b resol:  1
 D1/3: Level request = 2
 D1/3: Vect_open_topo(): name = geology mapset = PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/topo
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/topo
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/topo
 D2/3:   file open: read (mode = r)
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/coor
 D1/3: get coor info:
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/coor
 D1/3: Vect_coor_info(): Info->size = 9016555, Info->mtime =
 1198044380
 D2/3: Topo header: file version 5.1 , supported from GRASS
 version 5.1
 D2/3:   byte order 0
 D2/3:   header size 142
 D2/3: topo off_t size = 4
 D2/3:   with_z 0
 D2/3:   coor size 9016555
 D1/3: Topo head: coor size = 9016555, coor mtime = 0
 D1/3: dig_load_plus()
 D2/3: dig_free_plus()
 D2/3: dig_free_plus_nodes()
 D2/3: dig_free_plus_lines()
 D2/3: dig_free_plus_areas()
 D2/3: dig_free_plus_isles()
 D2/3: dig_cidx_free()
 D3/3: dig_init_plus()
 D1/3: dig_spidx_init(), 2 dims
 D3/3: dig_cidx_init()
 D2/3: Topo header: file version 5.1 , supported from GRASS
 version 5.1
 D2/3:   byte order 0
 D2/3:   header size 142
 D2/3: topo off_t size = 4
 D2/3:   with_z 0
 D2/3:   coor size 9016555
 D1/3: Vect_open_sidx(): name = geology mapset= PERMANENT
 mode = old
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/sidx
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/sidx
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/sidx
 D2/3:   file open: read (mode = r)
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/coor
 D1/3: get coor info:
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/coor
 D1/3: Vect_coor_info(): Info->size = 9016555, Info->mtime =
 1198044380
 D1/3: dig_spidx_init(), 2 dims
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/user1/.tmp/unknown/6992.0
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/user1/.tmp/unknown/6992.1
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/user1/.tmp/unknown/6992.2
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/user1/.tmp/unknown/6992.3
 D2/3: Spidx header: file version 5.1 , supported from GRASS
 version 5.1
 D2/3:   byte order 0
 D2/3:   header size 113
 D2/3:   with_z 0
 D2/3:   coor size 9016555
 D1/3: Sidx head: coor size = 9016555, coor mtime = 0
 D2/3: Vect_cidx_open(): name = geology mapset= PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/cidx
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/cidx
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/cidx
 D2/3:   file open: read (mode = r)
 D3/3: dig_read_cidx()
 D2/3: dig_cidx_free()
 D3/3: dig_cidx_init()
 D3/3: Cidx header: file version 5.0 , supported from GRASS
 version 5.0
 D3/3:   byte order 0
 D3/3:   header size 9
 D1/3: Vect__open_old(): vector opened on level 2
 D1/3: Vect_read_dblinks(): map = geology, mapset = PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/dbln
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/dbln
 D2/3:   file open: read (mode = r)
 D1/3: dbln: 1/geology|geology|cat|$GISDBASE/$LOCATION_NAME/$
 MAPSET/sqlite/sqlite.db|sqlite
 D3/3: Field number <1>, name <geology>
 D3/3: Vect_check_dblink: field 1, name geology
 D1/3: field = 1 name = geology, table = geology, key = cat,
 database =
 $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db, driver =
 sqlite
 D1/3: Dblinks read
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/hist
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/hist
 D2/3:   file open: read (mode = r)
 D1/3: Vect_close(): name = geology, mapset = PERMANENT,
 format = 0, level = 2, is_tmp = 0
 D1/3: spatial index file closed
 D1/3: close history file
 D1/3: G_find_vector2(): name=streams at PERMANENT mapset=
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams
 D1/3: Vect__open_old(): name = streams at PERMANENT, mapset = ,
 layer = NULL, update = 0, head_only = 1, is_tmp = 0
 D1/3: Vect__open_old(): is_tmp = 0 (check
 GRASS_VECTOR_TEMPORARY)
 D1/3: Vect_set_thresh(): thresh = 0.000000
 D3/3: dig_init_plus()
 D1/3: dig_spidx_init(), 2 dims
 D3/3: dig_cidx_init()
 D1/3: G_find_vector2(): name=streams mapset=PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams
 D1/3: Map: name = streams, mapset = PERMANENT, temporary = 0
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/frmt
 D1/3: Vector format: 0 (native)
 D1/3: Vect_set_thresh(): thresh = 0.000000
 D1/3: Vect__read_head(): vector = streams at PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/head
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/head
 D2/3:   file open: read (mode = r)
 D1/3: Vect_set_thresh(): thresh = 0.000000
 D1/3: Level request = 2
 D1/3: Vect_open_topo(): name = streams mapset = PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/topo
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/topo
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/topo
 D2/3:   file open: read (mode = r)
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/coor
 D1/3: get coor info:
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/coor
 D1/3: Vect_coor_info(): Info->size = 2747992, Info->mtime =
 1198044376
 D2/3: Topo header: file version 5.1 , supported from GRASS
 version 5.1
 D2/3:   byte order 0
 D2/3:   header size 142
 D2/3: topo off_t size = 4
 D2/3:   with_z 0
 D2/3:   coor size 2747992
 D1/3: Topo head: coor size = 2747992, coor mtime = 0
 D1/3: dig_load_plus()
 D2/3: dig_free_plus()
 D2/3: dig_free_plus_nodes()
 D2/3: dig_free_plus_lines()
 D2/3: dig_free_plus_areas()
 D2/3: dig_free_plus_isles()
 D2/3: dig_cidx_free()
 D3/3: dig_init_plus()
 D1/3: dig_spidx_init(), 2 dims
 D3/3: dig_cidx_init()
 D2/3: Topo header: file version 5.1 , supported from GRASS
 version 5.1
 D2/3:   byte order 0
 D2/3:   header size 142
 D2/3: topo off_t size = 4
 D2/3:   with_z 0
 D2/3:   coor size 2747992
 D1/3: Vect_open_sidx(): name = streams mapset= PERMANENT
 mode = old
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/sidx
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/sidx
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/sidx
 D2/3:   file open: read (mode = r)
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/coor
 D1/3: get coor info:
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/coor
 D1/3: Vect_coor_info(): Info->size = 2747992, Info->mtime =
 1198044376
 D1/3: dig_spidx_init(), 2 dims
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/user1/.tmp/unknown/6992.4
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/user1/.tmp/unknown/6992.5
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/user1/.tmp/unknown/6992.6
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/user1/.tmp/unknown/6992.7
 D2/3: Spidx header: file version 5.1 , supported from GRASS
 version 5.1
 D2/3:   byte order 0
 D2/3:   header size 113
 D2/3:   with_z 0
 D2/3:   coor size 2747992
 D1/3: Sidx head: coor size = 2747992, coor mtime = 0
 D2/3: Vect_cidx_open(): name = streams mapset= PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/cidx
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/cidx
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/cidx
 D2/3:   file open: read (mode = r)
 D3/3: dig_read_cidx()
 D2/3: dig_cidx_free()
 D3/3: dig_cidx_init()
 D3/3: Cidx header: file version 5.0 , supported from GRASS
 version 5.0
 D3/3:   byte order 0
 D3/3:   header size 9
 D1/3: Vect__open_old(): vector opened on level 2
 D1/3: Vect_read_dblinks(): map = streams, mapset = PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/dbln
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/dbln
 D2/3:   file open: read (mode = r)
 D1/3: dbln: 1/streams|streams|cat|$GISDBASE/$LOCATION_NAME/$
 MAPSET/sqlite/sqlite.db|sqlite
 D3/3: Field number <1>, name <streams>
 D3/3: Vect_check_dblink: field 1, name streams
 D1/3: field = 1 name = streams, table = streams, key = cat,
 database =
 $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db, driver =
 sqlite
 D1/3: Dblinks read
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/hist
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/hist
 D2/3:   file open: read (mode = r)
 D1/3: Vect_close(): name = streams, mapset = PERMANENT,
 format = 0, level = 2, is_tmp = 0
 D1/3: spatial index file closed
 D1/3: close history file
 D1/3: Vect__open_old(): name = geology at PERMANENT, mapset = ,
 layer = NULL, update = 0, head_only = 1, is_tmp = 0
 D1/3: Vect__open_old(): is_tmp = 0 (check
 GRASS_VECTOR_TEMPORARY)
 D1/3: Vect_set_thresh(): thresh = 0.000000
 D3/3: dig_init_plus()
 D1/3: dig_spidx_init(), 2 dims
 D3/3: dig_cidx_init()
 D1/3: G_find_vector2(): name=geology mapset=PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology
 D1/3: Map: name = geology, mapset = PERMANENT, temporary = 0
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/frmt
 D1/3: Vector format: 0 (native)
 D1/3: Vect_set_thresh(): thresh = 0.000000
 D1/3: Vect__read_head(): vector = geology at PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/head
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/head
 D2/3:   file open: read (mode = r)
 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 = geology, mapset = PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/dbln
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/dbln
 D2/3:   file open: read (mode = r)
 D1/3: dbln: 1/geology|geology|cat|$GISDBASE/$LOCATION_NAME/$
 MAPSET/sqlite/sqlite.db|sqlite
 D3/3: Field number <1>, name <geology>
 D3/3: Vect_check_dblink: field 1, name geology
 D1/3: field = 1 name = geology, table = geology, key = cat,
 database =
 $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db, driver =
 sqlite
 D1/3: Dblinks read
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/hist
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/geology/hist
 D2/3:   file open: read (mode = r)
 D1/3: Vect_get_field(): field = 1
 D1/3: Vect_get_dblink(): link = 0
 D3/3: Vect_subst_var(): in =
 $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db, map =
 geology, mapset = PERMANENT
 D3/3:   ->
 J:\gisdata\nc_spm_08_grass7\PERMANENT\sqlite\sqlite.db
 D3/3: db_start_driver_open_database(): drvname='sqlite', dbn
 ame='J:\gisdata\nc_spm_08_grass7\PERMANENT\sqlite\sqlite.db'
 D2/3: dbDbmscap(): opendir [C:\Program Files\GRASS GIS
 7.0.1svn\driver\db\]
 D3/3: win_spawn: args = C:\Windows\system32\cmd.exe /c
 ""C:\Program Files\GRASS GIS 7.0.1svn\driver\db\sqlite.exe""
 D1/3: db_d_init_error(): SQLite
 D3/3:
 db_driver_open_database()
 D3/3: name =
 'J:\gisdata\nc_spm_08_grass7\PERMANENT\sqlite\sqlite.db'
 D2/3: name2 =
 'J:\gisdata\nc_spm_08_grass7\PERMANENT\sqlite\sqlite.db'
 D2/3: path to db is
 J:\gisdata\nc_spm_08_grass7\PERMANENT\sqlite
 D3/3: describe_table()
 D3/3: sqltype = 3
 D3/3: litetype = 1
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: sqltype = 3
 D3/3: litetype = 1
 D3/3: sqltype = 3
 D3/3: litetype = 1
 D3/3: sqltype = 1
 D3/3: litetype = 3
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: nkcols = 8
 D3/3: sqltype = 3
 D3/3: litetype = 1
 D3/3: col: cat, nkcols 0, litetype : 1, sqltype 3
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: col: onemap_pro, nkcols 1, litetype : 2, sqltype 6
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: col: PERIMETER, nkcols 2, litetype : 2, sqltype 6
 D3/3: sqltype = 3
 D3/3: litetype = 1
 D3/3: col: GEOL250_, nkcols 3, litetype : 1, sqltype 3
 D3/3: sqltype = 3
 D3/3: litetype = 1
 D3/3: col: GEOL250_ID, nkcols 4, litetype : 1, sqltype 3
 D3/3: sqltype = 1
 D3/3: litetype = 3
 D3/3: col: GEO_NAME, nkcols 5, litetype : 3, sqltype 1
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: col: SHAPE_area, nkcols 6, litetype : 2, sqltype 6
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: col: SHAPE_len, nkcols 7, litetype : 2, sqltype 6
 D3/3: db_close_database()
 D2/3: db_close_database() result: 0  (0 means success)
 D1/3: Vect_close(): name = geology, mapset = PERMANENT,
 format = 0, level = 1, is_tmp = 0
 D1/3: close history file
 D1/3: Vect__open_old(): name = streams at PERMANENT, mapset = ,
 layer = NULL, update = 0, head_only = 1, is_tmp = 0
 D1/3: Vect__open_old(): is_tmp = 0 (check
 GRASS_VECTOR_TEMPORARY)
 D1/3: Vect_set_thresh(): thresh = 0.000000
 D3/3: dig_init_plus()
 D1/3: dig_spidx_init(), 2 dims
 D3/3: dig_cidx_init()
 D1/3: G_find_vector2(): name=streams mapset=PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams
 D1/3: Map: name = streams, mapset = PERMANENT, temporary = 0
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/frmt
 D1/3: Vector format: 0 (native)
 D1/3: Vect_set_thresh(): thresh = 0.000000
 D1/3: Vect__read_head(): vector = streams at PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/head
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/head
 D2/3:   file open: read (mode = r)
 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 = streams, mapset = PERMANENT
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/dbln
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/dbln
 D2/3:   file open: read (mode = r)
 D1/3: dbln: 1/streams|streams|cat|$GISDBASE/$LOCATION_NAME/$
 MAPSET/sqlite/sqlite.db|sqlite
 D3/3: Field number <1>, name <streams>
 D3/3: Vect_check_dblink: field 1, name streams
 D1/3: field = 1 name = streams, table = streams, key = cat,
 database =
 $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db, driver =
 sqlite
 D1/3: Dblinks read
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/hist
 D2/3: G_file_name(): path =
 J:\gisdata/nc_spm_08_grass7/PERMANENT/vector/streams/hist
 D2/3:   file open: read (mode = r)
 D1/3: Vect_get_field(): field = 1
 D1/3: Vect_get_dblink(): link = 0
 D3/3: Vect_subst_var(): in =
 $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db, map =
 streams, mapset = PERMANENT
 D3/3:   ->
 J:\gisdata\nc_spm_08_grass7\PERMANENT\sqlite\sqlite.db
 D3/3: db_start_driver_open_database(): drvname='sqlite', dbn
 ame='J:\gisdata\nc_spm_08_grass7\PERMANENT\sqlite\sqlite.db'
 D2/3: dbDbmscap(): opendir [C:\Program Files\GRASS GIS
 7.0.1svn\driver\db\]
 D3/3: win_spawn: args = C:\Windows\system32\cmd.exe /c
 ""C:\Program Files\GRASS GIS 7.0.1svn\driver\db\sqlite.exe""
 D1/3: db_d_init_error(): SQLite
 D3/3:
 db_driver_open_database()
 D3/3: name =
 'J:\gisdata\nc_spm_08_grass7\PERMANENT\sqlite\sqlite.db'
 D2/3: name2 =
 'J:\gisdata\nc_spm_08_grass7\PERMANENT\sqlite\sqlite.db'
 D2/3: path to db is
 J:\gisdata\nc_spm_08_grass7\PERMANENT\sqlite
 D3/3: describe_table()
 D3/3: sqltype = 3
 D3/3: litetype = 1
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: sqltype = 1
 D3/3: litetype = 3
 D3/3: sqltype = 3
 D3/3: litetype = 1
 D3/3: sqltype = 1
 D3/3: litetype = 3
 D3/3: sqltype = 1
 D3/3: litetype = 3
 D3/3: sqltype = 1
 D3/3: litetype = 3
 D3/3: sqltype = 1
 D3/3: litetype = 3
 D3/3: nkcols = 14
 D3/3: sqltype = 3
 D3/3: litetype = 1
 D3/3: col: cat, nkcols 0, litetype : 1, sqltype 3
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: col: FNODE_, nkcols 1, litetype : 2, sqltype 6
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: col: TNODE_, nkcols 2, litetype : 2, sqltype 6
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: col: LPOLY_, nkcols 3, litetype : 2, sqltype 6
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: col: RPOLY_, nkcols 4, litetype : 2, sqltype 6
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: col: LENGTH, nkcols 5, litetype : 2, sqltype 6
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: col: FULL_HYDRO, nkcols 6, litetype : 2, sqltype 6
 D3/3: sqltype = 6
 D3/3: litetype = 2
 D3/3: col: FULL_HYD_1, nkcols 7, litetype : 2, sqltype 6
 D3/3: sqltype = 1
 D3/3: litetype = 3
 D3/3: col: FTYPE, nkcols 8, litetype : 3, sqltype 1
 D3/3: sqltype = 3
 D3/3: litetype = 1
 D3/3: col: FCODE, nkcols 9, litetype : 1, sqltype 3
 D3/3: sqltype = 1
 D3/3: litetype = 3
 D3/3: col: NAME, nkcols 10, litetype : 3, sqltype 1
 D3/3: sqltype = 1
 D3/3: litetype = 3
 D3/3: col: RCH_CODE, nkcols 11, litetype : 3, sqltype 1
 D3/3: sqltype = 1
 D3/3: litetype = 3
 D3/3: col: I_vs_P, nkcols 12, litetype : 3, sqltype 1
 D3/3: sqltype = 1
 D3/3: litetype = 3
 D3/3: col: USGSstrm, nkcols 13, litetype : 3, sqltype 1
 D3/3: db_close_database()
 D2/3: db_close_database() result: 0  (0 means success)
 (Sat Jul 18 20:19:26 2015) Befehl ausgeführt (1 Min 7 Sek)
 }}}

 tested with

 {{{
 System Info
 GRASS Version: 7.0.1svn
 GRASS SVN Revision: 65608
 Erstellungsdatum: 2015-07-18
 Build Platform: i686-pc-mingw32
 GDAL/OGR: 1.11.2
 PROJ.4: 4.8.0
 GEOS: 3.4.2
 SQLite: 3.7.17
 Python: 2.7.4
 wxPython: 2.8.12.1
 Platform: Windows-Vista-6.0.6002-SP2
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2711>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list