Bug report #12117

Split vector layer does not work if "unique id filed" has non ascii chars in it

Added by Giovanni Manghi over 4 years ago. Updated over 4 years ago.

Status:Closed
Priority:Normal
Assignee:Giovanni Manghi
Category:Processing/QGIS
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:20311

Description

Uncaught error while executing algorithm
Traceback (most recent call last):
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py", line 232, in execute
self.processAlgorithm(progress)
File "/usr/share/qgis/python/plugins/processing/algs/qgis/VectorSplit.py", line 73, in processAlgorithm
fName = '{0}_{1}.shp'.format(baseName, unicode(i).strip())
UnicodeEncodeError: 'ascii' codec can't encode character u'\\xc7' in position 6: ordinal not in range(128)

Associated revisions

Revision 3c2a92b9
Added by Alexander Bruy over 4 years ago

Merge pull request #1879 from gioman/fix_processing_encoding_split_vector_layer

[processing] fix enconding in Split Vector layer tool when splitting attribute has non ASCII chars (fix #12117)

History

#2 Updated by Alexander Bruy over 4 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF