[GRASS-dev] Re: [GRASS GIS] #809: v.db.addtable consistently fails in winGrass

GRASS GIS trac at osgeo.org
Tue Jan 5 20:10:31 EST 2010


#809: v.db.addtable consistently fails in winGrass
------------------------------+---------------------------------------------
  Reporter:  JonBall          |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect           |      Status:  new                      
  Priority:  critical         |   Milestone:  6.4.0                    
 Component:  Vector           |     Version:  svn-releasebranch64      
Resolution:                   |    Keywords:  v.db.addtable, wingrass  
  Platform:  MSWindows Vista  |         Cpu:  x86-64                   
------------------------------+---------------------------------------------
Comment (by hamish):

 hmm, there is still a quoting bug in v.to.db called by v.db.addtable:


 {{{
 Reading features...
  100%
 and: no such driver available
 WARNING: unable to start driver <and>
 ERROR: Unable to open database <C:\Documents> by driver <and>
 }}}

 (the mapset is in C:\Documents and Settings\)


 ah, here we go: Line 634 of lib/vector/Vlib/field.c scanning the dbln file
 does not like spaces in the db path string-

 {{{
   ndef = sscanf(buf, "%s %s %s %s %s", fldstr, tab, col, db, drv);
 }}}


 Hamish

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


More information about the grass-dev mailing list