[GRASS-dev] Re: [GRASS GIS] #1229: Error in db.droptable

GRASS GIS trac at osgeo.org
Sat Sep 17 16:02:57 EDT 2011


#1229: Error in db.droptable
--------------------------+-------------------------------------------------
 Reporter:  akbgf         |       Owner:  grass-dev@…              
     Type:  defect        |      Status:  new                      
 Priority:  normal        |   Milestone:  7.0.0                    
Component:  Database      |     Version:  svn-trunk                
 Keywords:  db.droptable  |    Platform:  Linux                    
      Cpu:  x86-32        |  
--------------------------+-------------------------------------------------

Comment(by lucadelu):

 I try with r48337 and NC datasete I got this error

 {{{
 db.droptable hospitals
 dbmi: db_drop_table() not implemented
 }}}

 I grep db_drop_table and I found

 lib/python/ctypes/dbmi.py

 {{{
 # /home/luca/compilati/grass70_new/dist.i686-pc-linux-
 gnu/include/grass/dbmidefs.h: 123
 if hasattr(_libs['grass_dbmiclient.7.0.svn'], 'db_drop_table'):
     db_drop_table = _libs['grass_dbmiclient.7.0.svn'].db_drop_table
     db_drop_table.restype = c_int
     db_drop_table.argtypes = [POINTER(dbDriver), POINTER(dbString)]
 }}}


 cheers
 Luca

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



More information about the grass-dev mailing list