[bug #2549] (thuban) exception when trying to generate one class

Request Tracker thuban-bugs at intevation.de
Tue Jul 20 11:44:09 CEST 2004


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

Subject: exception when trying to generate one class 

Operating System: GNU/Linux, Debian GNU/Linux Sarge
Thuban version: CVS 
wxPython version: 2.4.2.4
Python version: 2.3.4
PySQLite version: 0.4.3
SQLite version: 2.8.13
GDAL version: 1.2.0
proj version: 4.4.7

the following exception occured when i try to generade classification from 
"Quantiles from Table" with only one class:

Traceback (most recent call last):
  File "/big/home/janschu/project/thuban/Thuban/UI/classgen.py", line 269, in OnOK
    adjusted, self.clazz = \
  File "/big/home/janschu/project/thuban/Thuban/Model/classgen.py", line 114, in generate_quantiles
    quantiles = calculate_quantiles(_list, percents, _range)
  File "/big/home/janschu/project/thuban/Thuban/Model/classgen.py", line 192, in calculate_quantiles
    raise ValueError("percents parameter must have more than one item")
ValueError: percents parameter must have more than one item


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