thuban and wxwidgets 2.8

Jachym Cepicky jachym.cepicky at gmail.com
Tue May 22 10:47:55 CEST 2007


hi,

exactly, python 2.5 here

what should I do?

jachym


Bernhard Herzog píše v Út 22. 05. 2007 v 10:41 +0200:
> Hi,
> 
> On Tuesday 22 May 2007 07:52, Jachym Cepicky wrote:
> > Compiling /usr/lib/thuban/Extensions/ogr/ogrshapes.py ...
> >   File "/usr/lib/thuban/Extensions/ogr/ogrshapes.py", line 12
> >     from __future__ import generators
> > SyntaxError: from __future__ imports must occur at the beginning of the
> > file
> 
> This has nothing to do with wxWidgets.  It's a bug in Thuban.  As the error 
> message says, __future__ import have to be at the beginning of the file (the 
> only allows before are comments and the doc-string).  In ogrshapes.py  the 
> __version__ assignment comes before the __future__ import.  Python 2.4 and 
> 2.3 don't give error messages in this case.  Are you using Python 2.5?  It 
> may have become more picky about these things.
> 
>   Bernhard
> 
> _______________________________________________
> Thuban-devel mailing list
> Thuban-devel at intevation.de
> https://intevation.de/mailman/listinfo/thuban-devel
-- 
Jachym Cepicky
e-mail: jachym.cepicky at gmail.com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070522/12640a0d/attachment.bin


More information about the Thuban-devel mailing list

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