<p dir="ltr">Yep. The probem has to do with make install copying python files from the source tree not the output directory (therefore not benefiting from 2to3)</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Sep 18, 2016 6:57 PM, "Richard Duivenvoorde" <<a href="mailto:rdmailings@duif.net">rdmailings@duif.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 18-09-16 13:24, Mathieu Pellerin wrote:<br>
> This error means that your python files have not passed through 2to3.<br>
> Make sure PORT_PLUGINS flag is turned on.<br>
><br>
> Also right now, the make script only runs 2to3 against the python code<br>
> inside the output directory, it does *not* do so for the python code<br>
> copied to your install location during "make install". You either can<br>
> run QGIS from your output directory, or (as a temporary ugly hack) copy<br>
> the content of the python folder in your output directory onto your<br>
> installation's /share/qgis/python directory.<br>
<br>
Ah cool, yes you are right. From output is ok.<br>
<br>
Apparently the 2to3 just works but the script is ran after the install<br>
step? Because the vector.py in the output dir IS fixed...<br>
<br>
Regards,<br>
<br>
Richard Duivenvoorde<br>
<br>
</blockquote></div></div>