[OpenLayers-Users] Build.py on windows

Ricardo Bayley ricardo.bayley at gmail.com
Wed Feb 16 10:53:16 EST 2011


Thanks Adon !! I installed python 2.7 and it worked like a charmed !


2011/2/16 Adon Metcalfe <adon.metcalfe at gmail.com>

> Hehe try 2.5-7, I doubt the build has been tested with 3+ (theres a couple
> of ambiguous cases that existed in python 2 that py3k removed that it looks
> like you're running into)
>
> For more see http://www.python.org/dev/peps/pep-3110/
>
> <http://www.python.org/dev/peps/pep-3110/>To fix that specific error you
> change it to:
>
> except Exception as E:
>
> though I'm sure there will be other gotchas
>
> On 16 February 2011 11:07, Ricardo Bayley <ricardo.bayley at gmail.com>wrote:
>
>> Hi folks,
>>
>> I am trying to run the build.py on a windows XP --> python 3.1
>>
>> I get an error:
>>
>> File "C:\OpenLayers-2.10\build\build.py", line 16
>>        excpet Exception, E:
>>                                 ^
>>
>> Syntax Error: Invalid Syntax...
>>
>> Seems like the "," should be a hint, but I dont know any python
>> whatsoever... any clues ?
>>
>>
>>
>> Best regards
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>>
>
>
> --
> Adon Metcalfe
> Labyrinth Data Services Pty Ltd
> http://www.labyrinthdata.net.au
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110216/e27771d9/attachment-0001.html


More information about the Users mailing list