[GRASS-dev] [GRASS GIS] #30: error when digitizing new feature

GRASS GIS trac at osgeo.org
Tue Jan 29 05:27:17 EST 2008


#30: error when digitizing new feature
----------------------+-----------------------------------------------------
 Reporter:  zanollim  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect    |      Status:  new                      
 Priority:  minor     |   Milestone:  6.4.0                    
Component:  Python    |     Version:  svn-trunk                
 Keywords:            |  
----------------------+-----------------------------------------------------
 I have a simple polygon layer with some polygons.[[BR]]
 Sometimes if I try to digitize a new feature[[BR]]
 (line, boundary, point or centroid) the feature is drawn[[BR]]
 but I have also this error:
 {{{
 Traceback (most recent call last):
   File "/usr/src/grass_trunk/dist.i686-pc-linux-
 gnu/etc/wx/gui_modules/mapdisp.py", line 812, in MouseActions
     self.OnLeftDown(event)
   File "/usr/src/grass_trunk/dist.i686-pc-linux-
 gnu/etc/wx/gui_modules/mapdisp.py", line 927, in OnLeftDown
     action="add")
   File "/usr/src/grass_trunk/dist.i686-pc-linux-
 gnu/etc/wx/gui_modules/dbm.py", line 2703, in __init__
     self.UpdateDialog(cat, queryCoords, qdist)
   File "/usr/src/grass_trunk/dist.i686-pc-linux-
 gnu/etc/wx/gui_modules/dbm.py", line 2892, in UpdateDialog
     nselected = self.mapDBInfo.SelectFromTable(layer, where="cat=%d" %
 self.cat)  File "/usr/src/grass_trunk/dist.i686-pc-linux-
 gnu/etc/wx/gui_modules/dbm.py", line 3138, in SelectFromTable
     value = self.tables[table][name]['ctype'] (value)
 ValueError: empty string for float()
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/30>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list