Opened 15 years ago

Closed 15 years ago

#30 closed defect (fixed)

error when digitizing new feature

Reported by: zanollim Owned by: martinl
Priority: minor Milestone: 6.4.0
Component: Python Version: svn-trunk
Keywords: wxgui, digitization Cc: grass-dev@…
CPU: Unspecified Platform: Unspecified


I have a simple polygon layer with some polygons.
Sometimes if I try to digitize a new feature
(line, boundary, point or centroid) the feature is drawn
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/", line 812, in MouseActions
  File "/usr/src/grass_trunk/dist.i686-pc-linux-gnu/etc/wx/gui_modules/", line 927, in OnLeftDown
  File "/usr/src/grass_trunk/dist.i686-pc-linux-gnu/etc/wx/gui_modules/", line 2703, in __init__
    self.UpdateDialog(cat, queryCoords, qdist)
  File "/usr/src/grass_trunk/dist.i686-pc-linux-gnu/etc/wx/gui_modules/", line 2892, in UpdateDialog
    nselected = self.mapDBInfo.SelectFromTable(layer, where="cat=%d" %  File "/usr/src/grass_trunk/dist.i686-pc-linux-gnu/etc/wx/gui_modules/", line 3138, in SelectFromTable
    value = self.tables[table][name]['ctype'] (value)
ValueError: empty string for float()

Change History (2)

comment:1 by martinl, 15 years ago

Cc: grass-dev@… added
Keywords: wxgui digitization added
Owner: changed from grass-dev@… to martinl
Status: newassigned

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


comment:2 by zanollim, 15 years ago

Resolution: fixed
Status: assignedclosed

ok fixed, now it seems work correctly.

Regards, michele

Note: See TracTickets for help on using tickets.