pyhon error when opening Import into PostGIS from Processing #20300
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Processing
Relating to QGIS Processing framework or individual Processing algorithms
Author Name: Luca Lanteri (Luca Lanteri)
Original Redmine Issue: 12106
Affected QGIS version: master
Redmine category:processing/qgis
Assignee: Giovanni Manghi
When opening "Import into PostGIS" from Processing I've this python error:
Traceback (most recent call last):
File "/home/luk/bin/qgis2.8_cr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 200, in executeAlgorithm
dlg = AlgorithmDialog(alg)
File "/home/luk/bin/qgis2.8_cr/share/qgis/python/plugins/processing/gui/AlgorithmDialog.py", line 52, in init
self.mainWidget = ParametersPanel(self, alg)
File "/home/luk/bin/qgis2.8_cr/share/qgis/python/plugins/processing/gui/ParametersPanel.py", line 97, in init
self.initWidgets()
File "/home/luk/bin/qgis2.8_cr/share/qgis/python/plugins/processing/gui/ParametersPanel.py", line 122, in initWidgets
widget = self.getWidgetFromParameter(param)
File "/home/luk/bin/qgis2.8_cr/share/qgis/python/plugins/processing/gui/ParametersPanel.py", line 221, in getWidgetFromParameter
item.addItem(self.getExtendedLayerName(layer), layer)
File "/home/luk/bin/qgis2.8_cr/share/qgis/python/plugins/processing/gui/ParametersPanel.py", line 198, in getExtendedLayerName
return '{} [{}]'.format(layer.name(), authid)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in position 10: ordinal not in range(128)
The text was updated successfully, but these errors were encountered: