Bug report #15681
processing: exportVectorLayer() function broken under python3
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | Victor Olaya | ||
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: | Yes | Copied to github as #: | 23604 |
Description
Processing's exportVectorLayer() function (dataobject.py's line 296) is broken under master as the code calls decode() on a str object, which isn't python3-compatible. This breaks grass, otb, etc. algorithms against memory layers.
Here's a directly link to the broken line: https://github.com/qgis/QGIS/blob/master/python/plugins/processing/tools/dataobjects.py#L328
History
#1 Updated by Alexander Bruy almost 8 years ago
- Resolution set to fixed/implemented
- Status changed from Open to Closed
Already fixed in master