[Thuban-list] No geodata output
bernhard at intevation.de
Wed Mar 19 10:27:30 CET 2003
On Tue, Mar 18, 2003 at 06:21:55PM +0100, Jan-Oliver Wagner wrote:
> 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?
We might add a workaround faq.
We should add a couple of tests which test the required
version numbers and put out warning for
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030319/7e5f3bf3/attachment.bin
More information about the Thuban-list