[GRASS-dev] [GRASS GIS] #1796: wingrass7: some db.*-modules fails with dbf as db-backend

GRASS GIS trac at osgeo.org
Sat Nov 24 04:54:25 PST 2012


#1796: wingrass7: some db.*-modules fails with dbf as db-backend
----------------------+-----------------------------------------------------
 Reporter:  hellik    |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  critical  |   Milestone:  7.0.0                    
Component:  Database  |     Version:  svn-trunk                
 Keywords:  dbf       |    Platform:  MSWindows 7              
      Cpu:  x86-64    |  
----------------------+-----------------------------------------------------

Comment(by hellik):

 Replying to [comment:3 hellik]:

 > all db.* are working in mapset A with sqlite as db-backend

 not really...

 tested today opening attribute table with sqlite as db-backend

 {{{
 GRASS 7.0.svn> D2/3: dbDbmscap(): opendir
 [C:\OSGeo4W\apps\grass\grass-7.0.svn\d
 river\db\]
 D2/3: dbDbmscap(): opendir
 [C:\OSGeo4W\apps\grass\grass-7.0.svn\driver\db\]
 D3/3: win_spawn: args = C:\windows\system32\cmd.exe /c
 "C:\OSGeo4W\apps\grass\gr
 ass-7.0.svn\driver\db\sqlite.exe"
 D1/3: db_d_init_error(): SQLite
 D3/3:
 db_driver_open_database()
 D3/3: name = 'C:\grassdata\srtm41gar\rstreamanalysis\sqlite\sqlite.db'
 D2/3: name2 = 'C:\grassdata\srtm41gar\rstreamanalysis\sqlite\sqlite.db'
 D3/3: describe_table()
 D3/3: sqltype = 3
 D3/3: litetype = 1
 D3/3: sqltype = 1
 D3/3: litetype = 3
 D3/3: sqltype = 3
 D3/3: litetype = 1
 D3/3: nkcols = 3
 D3/3: sqltype = 3
 D3/3: litetype = 1
 D2/3: col: cat, nkcols 0, litetype : 1, sqltype 3
 D3/3: sqltype = 1
 D3/3: litetype = 3
 D2/3: col: stream_type, nkcols 1, litetype : 3, sqltype 1
 D3/3: sqltype = 3
 D3/3: litetype = 1
 D2/3: col: type_code, nkcols 2, litetype : 1, sqltype 3
 }}}

 ?

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1796#comment:4>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list