#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 martinl):

 Replying to [comment:10 martinl]:
 > Replying to [comment:9 mmetz]:
 >
 > > The bug (newly introduced in r53609) is that the variables $GISDBASE,
 $LOCATION_NAME, $MAPSET have been substituted in the name of the new
 database. Looking at the dbln file of a vector, it reads e.g.
 >
 > hopefully fixed in r54238.

 to fix broken connections, run:

 {{{
 v.db.reconnect.all
 
old_database=/home/neteler/grassdata/nc_spm_latest/nc_spm_08/PERMANENT/sqlite/sqlite.db
 new_driver=sqlite
 new_database='$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db'
 }}}

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

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to