Bug report #8644

Models with utf-8 description can't be executed

Added by Borys Jurgiel about 11 years ago. Updated over 9 years ago.

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/Core
Affected QGIS version:2.0.1 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 #:17376

Description

Can't run models with utf-8 characters in description:

AlgorithmExecutionDialog.__init__(self, alg, self.scrollArea)
File "/home/borys/sources/qgis/build/output/python/plugins/processing/gui/AlgorithmExecutionDialog.py", line 98, in init
if self.alg.helpFile():
File "/home/borys/sources/qgis/build/output/python/plugins/processing/modeler/ModelerAlgorithm.py", line 685, in helpFile
return h2h.getHtmlFile(self, helpfile)
File "/home/borys/sources/qgis/build/output/python/plugins/processing/gui/Help2Html.py", line 54, in getHtmlFile
tempHtml.write(s)
UnicodeEncodeError: 'ascii' codec can't encode character u'\\u015b' in position 110: ordinal not in range(128)

History

#1 Updated by Salvatore Larosa over 10 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

Fixed in e4c60ad

#2 Updated by Giovanni Manghi over 9 years ago

  • Category changed from 94 to Processing/Core

Also available in: Atom PDF