Thanks Adon !! I installed python 2.7 and it worked like a charmed !<div><br><br><div class="gmail_quote">2011/2/16 Adon Metcalfe <span dir="ltr"><<a href="mailto:adon.metcalfe@gmail.com">adon.metcalfe@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">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)<div>
<br></div><div>For more see <a href="http://www.python.org/dev/peps/pep-3110/" target="_blank">http://www.python.org/dev/peps/pep-3110/</a></div>
<div><br></div><div><a href="http://www.python.org/dev/peps/pep-3110/" target="_blank"></a>To fix that specific error you change it to:</div><div><br></div><div>except Exception as E:</div><div><br></div><div>though I'm sure there will be other gotchas<br>
<br><div class="gmail_quote"><div><div></div><div class="h5">On 16 February 2011 11:07, Ricardo Bayley <span dir="ltr"><<a href="mailto:ricardo.bayley@gmail.com" target="_blank">ricardo.bayley@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Hi folks,<div><br></div><div>I am trying to run the build.py on a windows XP --> python 3.1</div><div><br></div><div>I get an error:</div><div><br></div><div>File "C:\OpenLayers-2.10\build\build.py", line 16</div>
<div> excpet Exception, E:</div><div> ^</div><div><br></div><div>Syntax Error: Invalid Syntax...</div><div><br></div><div>Seems like the "," should be a hint, but I dont know any python whatsoever... any clues ?</div>
<div><br></div><div><br></div><div><br></div><div>Best regards</div><div><br></div><div><br></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Adon Metcalfe<br>Labyrinth Data Services Pty Ltd<br><a href="http://www.labyrinthdata.net.au" target="_blank">http://www.labyrinthdata.net.au</a><br>
</div>
</blockquote></div><br></div>