Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyhon error when opening Import into PostGIS from Processing #20300

Closed
qgib opened this issue Jan 31, 2015 · 4 comments
Closed

pyhon error when opening Import into PostGIS from Processing #20300

qgib opened this issue Jan 31, 2015 · 4 comments
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

Comments

@qgib
Copy link
Contributor

qgib commented Jan 31, 2015

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)

@qgib
Copy link
Contributor Author

qgib commented Jan 31, 2015

Author Name: Luca Lanteri (Luca Lanteri)


I've the same problem from many (but not all) qgis processing algorithm (eg: join attribute table, count point in polygon)

@qgib
Copy link
Contributor Author

qgib commented Jan 31, 2015

Author Name: Luca Lanteri (Luca Lanteri)


The problem is due to some layer with local italian character (accented chars)

@qgib
Copy link
Contributor Author

qgib commented Feb 2, 2015

Author Name: Giovanni Manghi (@gioman)


fixed with

#1878


  • resolution was changed from to fixed/implemented
  • assigned_to_id was changed from Victor Olaya to Giovanni Manghi
  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Feb 2, 2015

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Feedback to Closed

@qgib qgib added 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 labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant