[GRASS-dev] [GRASS GIS] #1358: WinGRASS 6.4.1: SQLite driver errors: `Unable to open database'

GRASS GIS trac at osgeo.org
Thu Jul 25 07:59:14 PDT 2013


#1358: WinGRASS 6.4.1: SQLite driver errors: `Unable to open database'
-------------------------------------+--------------------------------------
 Reporter:  rvanderweide             |       Owner:  grass-dev@…              
     Type:  defect                   |      Status:  new                      
 Priority:  minor                    |   Milestone:  6.4.4                    
Component:  Database                 |     Version:  6.4.1 RCs                
 Keywords:  wingrass, SQLite driver  |    Platform:  MSWindows 7              
      Cpu:  x86-64                   |  
-------------------------------------+--------------------------------------

Comment(by mlennert):

 Replying to [comment:14 mlennert]:
 > Sorry, I had read your remark to quickly:
 >
 > Replying to [comment:12 mmetz]:
 > > The sqlite mapset has the default settings
 > {{{
 > DB_DRIVER: sqlite
 > DB_DATABASE: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite.db
 > }}}
 >
 > In the NC dataset downloaded by the wingrass7 installer, there is no
 sqlite mapset. I tried the user1 mapset which does not have the sqlite/
 directory, not an sqlite.db file. I created a sqlite/ directory (but not
 the sqlite.db file) to test whether the sqlite driver might not be able to
 create the directory, but that didn't help.

 Strike that. I got confused between two different GISDBASEs while trying
 to rule out space in directory names issues. Actually once the sqlite
 directory is created, g.copy works as expected, and so the sqlite driver
 seems to correctly create the sqlite.db file if it is absent, but it does
 not create the directory.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1358#comment:17>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list