[bug #2883] (thuban) Identify/Search: KeyError on unclassified point layers

Request Tracker thuban-bugs at intevation.de
Mon Jan 3 17:19:33 CET 2005


this bug's URL: http://intevation.de/rt/webrt?serial_num=2883
-------------------------------------------------------------------------

Subject: Identify/Search: KeyError on unclassified point layers

Thuban Version: CVS as of 2005-01-03 16:00 GMT

Performing Identify or Search on unclassified point layers causes a KeyError:

Identify:

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

Search:
Traceback (most recent call last):
  File "Thuban/UI/view.py", line 206, in _do_redraw
    if self.render_iter.next():
  File "Thuban/UI/view.py", line 272, in _render_iterator
    for cont in renderer.draw_selection_incrementally(layer, shapes):
  File "Thuban/UI/renderer.py", line 170, in draw_selection_incrementally
    value = table.ReadValue(shape.ShapeID(), field)
  File "Thuban/Model/transientdb.py", line 595, in ReadValue
    row_is_ordinal = row_is_ordinal)
  File "Thuban/Model/transientdb.py", line 248, in ReadValue
    return self.ReadRowAsDict(row)[self.column_map[col].name]
KeyError

 

-------------------------------------------- Managed by Request Tracker




More information about the Thuban-devel mailing list

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