[Thuban-list] No geodata output
Jan-Oliver Wagner
jan at intevation.de
Tue Mar 18 18:21:55 CET 2003
On Tue, Mar 18, 2003 at 05:41:52PM +0100, Alexander Pucher wrote:
> I just took it off from the SuSe DVD.
>
> Thi sis my output:
>
> pucher at david:/download/Thuban-0.2.0/test> python
> Python 2.2 (#1, Mar 26 2002, 15:46:04)
> [GCC 2.95.3 20010315 (SuSE)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> x = False
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> NameError: name 'False' is not defined
According to the Python documentation False and True were
introduced in Python 2.3 and backported to version 2.2.1.
Thus Alex discovered, that Thuban has the requirement
Python 2.2.1 instead of just Python 2.2.
Either you have to install the newer version or you can
add something like
False = 0
True = 1
in the code.
We'll have to fix this problem: We should make Python 2.2.1 an
official requirement. I don't think we should work around
False/True in case 2.2 is used to execut Thuban.
Any other opinions?
Jan
--
Jan-Oliver Wagner http://intevation.de/~jan/
Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/
More information about the Thuban-list
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)