#30: error when digitizing new feature
----------------------+-----------------------------------------------------
Reporter: zanollim | Owner: grass-dev@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/