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

#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&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#30: error when digitizing new feature
-----------------------+----------------------------------------------------
  Reporter: zanollim | Owner: martinl
      Type: defect | Status: assigned
  Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxgui, digitization
-----------------------+----------------------------------------------------
Changes (by martinl):

  * keywords: => wxgui, digitization
  * status: new => assigned
  * owner: grass-dev@lists.osgeo.org => martinl
* cc: grass-dev@lists.osgeo.org (added)

Comment:

Now should be fixed in trunk, r29977. Can you reproduce problematic
behaviour and confirm that it is fixed now?

Martin

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/30#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#30: error when digitizing new feature
-----------------------+----------------------------------------------------
  Reporter: zanollim | Owner: martinl
      Type: defect | Status: closed
  Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: fixed | Keywords: wxgui, digitization
-----------------------+----------------------------------------------------
Changes (by zanollim):

  * status: assigned => closed
  * resolution: => fixed

Comment:

ok fixed, now it seems work correctly.

Regards,
michele

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/30#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/