Bug report #15425

processing relies on a copy of the python-yaml module that isn't compatible with python3

Added by Mathieu Pellerin - nIRV over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assignee:Matthias Kuhn
Category:Processing/Core
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:23351

Description

Processing currently relies on a copy of the python yaml module that isn't compatible with python3, preventing it from running on a qt5+python3 environment. This will need addressing prior to the release of QGIS 3.0.

History

#1 Updated by Mathieu Pellerin - nIRV over 3 years ago

Note: processing runs fine when switching the PORT_PLUGIN flags to true and the qgis/python/yaml module is replaced by python3-yaml. Nice.

#2 Updated by Mathieu Pellerin - nIRV over 3 years ago

Matthias came up with a simple workaround this issue: -DWITH_INTERNAL_YAML=OFF :)

This will have to be set as the default value when QGIS switches to Qt5 + python 3.

#3 Updated by Mathieu Pellerin - nIRV over 3 years ago

  • Resolution set to fixed/implemented
  • Assignee changed from Victor Olaya to Matthias Kuhn
  • Status changed from Open to Closed

Closing, thanks Matthias (282f406).

Also available in: Atom PDF