[GRASS-dev] Re: [GRASS GIS] #548: grass7 - v.reclass with sqlite driver: "Cannot step: SQL logic error or missing database"

GRASS GIS trac at osgeo.org
Tue Sep 6 02:52:03 EDT 2011


#548: grass7 - v.reclass with sqlite driver: "Cannot step: SQL logic error or
missing database"
------------------------------+---------------------------------------------
 Reporter:  mlennert          |       Owner:  grass-dev@…              
     Type:  defect            |      Status:  new                      
 Priority:  normal            |   Milestone:  7.0.0                    
Component:  Database          |     Version:  svn-trunk                
 Keywords:  v.reclass sqlite  |    Platform:  Unspecified              
      Cpu:  Unspecified       |  
------------------------------+---------------------------------------------

Comment(by mmetz):

 Replying to [comment:10 mmetz]:
 >
 > Debugging a bit, the problem of v.reclass with the sqlite driver seems
 to be that the same database is opened twice (once by each driver
 instance), which causes database locking, therefore it is not possible to
 use one driver instance to fetch records from one table and use another
 driver instance to insert records into another table, all in the same
 sqlite database.

 Now it's possible, the other driver just has to wait a little bit until
 the first driver is finished.

 Fixed in r45156, r48157, r48158 (7.0, 6.5, 6.4.2, respectively).

 Markus M

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



More information about the grass-dev mailing list