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)

On Sep 18, 2016 6:57 PM, "Richard Duivenvoorde" <rdmaili...@duif.net> wrote:

> On 18-09-16 13:24, Mathieu Pellerin wrote:
> > This error means that your python files have not passed through 2to3.
> > Make sure PORT_PLUGINS flag is turned on.
> >
> > Also right now, the make script only runs 2to3 against the python code
> > inside the output directory, it does *not* do so for the python code
> > copied to your install location during "make install". You either can
> > run QGIS from your output directory, or (as a temporary ugly hack) copy
> > the content of the python folder in your output directory onto your
> > installation's /share/qgis/python directory.
>
> Ah cool, yes you are right. From output is ok.
>
> Apparently the 2to3 just works but the script is ran after the install
> step? Because the vector.py in the output dir IS fixed...
>
> Regards,
>
> Richard Duivenvoorde
>
>
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to