[bug #4559] (thuban) call to non existent method/procedure call in render.py

Request Tracker thuban-bugs at intevation.de
Thu Jun 8 13:51:24 CEST 2006


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

Subject: call to non existent method/procedure call in render.py

Operating System: MS Windows, xp
Thuban version: other, Thuban 1.1 cvs-20060608
wxPython version: other, wxPython 2.6.3.0
Python version: other, Python 2.4.2
PySQLite version: other, PySQLite 2.2.1
SQLite version: other, SQLite 3.3.5
GDAL version: other, GDAL - not available
proj version: other

My version of Thuban is the windows build that is linked to from the Thuban web site.

If you select an unclassified point shape in its table, it will cause an error when Thuban tries to draw the selected point. The error occurs in line 273 of renderer.py.

Line 273 of renderer.py () is:

     size = lc.GetDefaultSize()

but the procedure/method being called does not exist. Replacing this line with:

     size = lc.GetDefaultGroup().GetProperties().GetSize()

will fix the problem.

Line 273 is in the method: def draw_selection_incrementally

-------------------------------------------- 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)