[Qgis-developer] Python3 and cStringIO in processing
nirvn.asia at gmail.com
Sun Sep 18 05:03:52 PDT 2016
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" <rdmailings at 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...
> Richard Duivenvoorde
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer