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

Processing - clicking on Refactor fields returns a Python error #28527

Closed
qgib opened this issue Dec 3, 2018 · 2 comments
Closed

Processing - clicking on Refactor fields returns a Python error #28527

qgib opened this issue Dec 3, 2018 · 2 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 Dec 3, 2018

Author Name: Filipe Dias (@fsdias)
Original Redmine Issue: 20707
Affected QGIS version: 3.4.2
Redmine category:processing/qgis
Assignee: Nyall Dawson


This is the error. I am using the nightly build of QGIS 3.4.2 (code revision 1abbcb4, date 20181202)

An error has occurred while executing Python code:

AttributeError: 'str' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 247, in executeAlgorithm
dlg = AlgorithmDialog(alg, self.in_place_mode, iface.mainWindow())
File "/usr/share/qgis/python/plugins/processing/gui/AlgorithmDialog.py", line 80, in init
self.setMainWidget(self.getParametersPanel(alg, self))
File "/usr/share/qgis/python/plugins/processing/gui/AlgorithmDialog.py", line 96, in getParametersPanel
return ParametersPanel(parent, alg, self.in_place)
File "/usr/share/qgis/python/plugins/processing/gui/ParametersPanel.py", line 103, in init
self.initWidgets()
File "/usr/share/qgis/python/plugins/processing/gui/ParametersPanel.py", line 140, in initWidgets
wrapper = WidgetWrapperFactory.create_wrapper(param, self.parent)
File "/usr/share/qgis/python/plugins/processing/gui/wrappers.py", line 1776, in create_wrapper
if param.metadata().get('widget_wrapper', {}).get('class', None) is not None:
AttributeError: 'str' object has no attribute 'get'

Python version: 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0]
QGIS version: 3.4.2-Madeira Madeira, 1abbcb4

Python Path:
/usr/share/qgis/python
/home/fd/.local/share/QGIS/QGIS3/profiles/default/python
/home/fd/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python36.zip
/usr/lib/python3.6
/usr/lib/python3.6/lib-dynload
/usr/local/lib/python3.6/dist-packages
/usr/lib/python3/dist-packages
/home/fd/.local/share/QGIS/QGIS3/profiles/default/python

@qgib
Copy link
Contributor Author

qgib commented Dec 3, 2018

Author Name: Nyall Dawson (@nyalldawson)


  • assigned_to_id was configured as Nyall Dawson
  • status_id was changed from Open to In Progress

@qgib
Copy link
Contributor Author

qgib commented Dec 4, 2018

Author Name: Nyall Dawson (@nyalldawson)


Applied in changeset 039a6c5.


  • done_ratio was changed from 0 to 100
  • status_id was changed from In Progress to Closed

@qgib qgib closed this as completed Dec 4, 2018
@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
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