[Thuban-list] No geodata output

Jonathan Coles jonathan at intevation.de
Tue Mar 18 17:32:45 CET 2003


alex,


i have run the following test:

jonathan at salmakis:~$ python2.1
Python 2.1.3 (#1, Sep  7 2002, 15:29:56)
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Type "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
>>>


jonathan at salmakis:~$ python2.2
Python 2.2.1 (#1, Sep  7 2002, 14:34:30)
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> x = False
>>> x
0
>>>


have you built your version of python from the source or are you running
prebuilt binaries?

--jonathan


On Tue, 2003-03-18 at 17:16, Alexander Pucher wrote:
> Hi Jonathan,
> 
> I use version 2.2-105
> 
> alex
> 
> Jonathan Coles wrote:
> 
> >which version of Python are you using? you will need at least version
> >2.2
> >
> >--jonathan
> >
> >On Tue, 2003-03-18 at 17:06, Alexander Pucher wrote:
> >  
> >
> >>Hi,
> >>
> >>first of all, congratiolations to everybody involved in the Thuban 
> >>project for this nice piece of software.  I guess this is what a lot of 
> >>people are looking for as a kind of missing link in the freegis scene!!
> >>
> >>I compiled Thuban on my Linux machine with no errors showing. I can 
> >>start the application, the windows look fine. But when I try to add a 
> >>layer, I get this error:
> >>
> >>File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 209, in 
> >>invoke_command
> >>    command.Execute(self.Context())
> >>  File "/usr/local//lib/thuban/Thuban/UI/command.py", line 121, in Execute
> >>    apply(self.function, (context,) + self.args + args, kw)
> >>  File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 582, in 
> >>call_method
> >>    apply(getattr(context.mainwindow, methodname), args)
> >>  File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 385, in 
> >>AddLayer
> >>    layer = Layer(title, filename)
> >>  File "/usr/local//lib/thuban/Thuban/Model/layer.py", line 150, in __init__
> >>    self.__setClassLock = False
> >>NameError: global name 'False' is not defined
> >>
> >>and nothing shows up??
> >>
> >>Any hints?
> >>
> >>Best regards,
> >>alex
> >>    
> >>
-- 
Jonathan Coles
Intevation GmbH
http://www.intevation.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030318/c75e35e4/attachment.bin


More information about the Thuban-list mailing list

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