[Qgis-developer] Python3 and cStringIO in processing

Richard Duivenvoorde rdmailings at duif.net
Sun Sep 18 04:57:06 PDT 2016


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



More information about the Qgis-developer mailing list