Selection bug

Bernhard Reiter bernhard at intevation.de
Mon Dec 20 10:48:37 CET 2004


Current CVS version gives me trouble when selecting stuff.

Start Thuban.
Open the iceland_sample.thuban session.
Activate identify mode, click on a point,
then move the mouse.

This results in:

Traceback (most recent call last):
  File "/mobilehome/bernhard/hacking/thuban/root/thuban/Extensions/svgexport/test/../../../test/../Thuban/UI/view.py", line 206, in _do_redraw
    if self.render_iter.next():
  File "/mobilehome/bernhard/hacking/thuban/root/thuban/Extensions/svgexport/test/../../../test/../Thuban/UI/view.py", line 272, in _render_iterator
    for cont in renderer.draw_selection_incrementally(layer, shapes):
  File "/mobilehome/bernhard/hacking/thuban/root/thuban/Extensions/svgexport/test/../../../test/../Thuban/UI/renderer.py", line 170, in draw_selection_incrementally
    value = table.ReadValue(shape.ShapeID(), field)
  File "/mobilehome/bernhard/hacking/thuban/root/thuban/Thuban/Model/transientdb.py", line 598, in ReadValue
    row_is_ordinal = row_is_ordinal)
  File "/mobilehome/bernhard/hacking/thuban/root/thuban/Thuban/Model/table.py", line 166, in ReadValue
    return self.dbf.read_attribute(row, self.column_map[col].index)
KeyError

I get many of those when moving the mouse.

Note the strange path, though I have started thuban without extra path
from the root/thuban directory 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20041220/d137ac23/attachment.bin


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)