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&#39;re running into)<div><br></div><div>For more see <meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.python.org/dev/peps/pep-3110/">http://www.python.org/dev/peps/pep-3110/</a></div>

<div><br></div><div><a href="http://www.python.org/dev/peps/pep-3110/"></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&#39;m sure there will be other gotchas<br>

<br><div class="gmail_quote">On 16 February 2011 11:07, Ricardo Bayley <span dir="ltr">&lt;<a href="mailto:ricardo.bayley@gmail.com">ricardo.bayley@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi folks,<div><br></div><div>I am trying to run the build.py on a windows XP --&gt; python 3.1</div><div><br></div><div>I get an error:</div><div><br></div><div>File &quot;C:\OpenLayers-2.10\build\build.py&quot;, 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 &quot;,&quot; 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>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">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">http://www.labyrinthdata.net.au</a><br>
</div>