[QGIS-Developer] QgsAbstractProcessingParameterWidgetWrapper problems in Processing

Matteo Ghetta matteo.ghetta at faunalia.eu
Tue Sep 11 09:13:20 PDT 2018


Hi devs,

I get his error with the random points in extent algorithm:

AttributeError: 'QgsAbstractProcessingParameterWidgetWrapper' object has
no attribute 'value'
Traceback (most recent call last):
  File
"/home/matteo/lavori/QGIS/build-qgis3-3D/output/python/plugins/processing/gui/ProcessingToolbox.py",
line 218, in executeAlgorithm
    dlg = AlgorithmDialog(alg)
  File
"/home/matteo/lavori/QGIS/build-qgis3-3D/output/python/plugins/processing/gui/AlgorithmDialog.py",
line 74, in __init__
    self.setMainWidget(self.getParametersPanel(alg, self))
  File
"/home/matteo/lavori/QGIS/build-qgis3-3D/output/python/plugins/processing/gui/AlgorithmDialog.py",
line 81, in getParametersPanel
    return ParametersPanel(parent, alg)
  File
"/home/matteo/lavori/QGIS/build-qgis3-3D/output/python/plugins/processing/gui/ParametersPanel.py",
line 100, in __init__
    self.initWidgets()
  File
"/home/matteo/lavori/QGIS/build-qgis3-3D/output/python/plugins/processing/gui/ParametersPanel.py",
line 221, in initWidgets
    wrapper.postInitialize(list(self.wrappers.values()))
  File
"/home/matteo/lavori/QGIS/build-qgis3-3D/output/python/plugins/processing/gui/wrappers.py",
line 802, in postInitialize
    self.widget.setUnitParameterValue(wrapper.value())
AttributeError: 'QgsAbstractProcessingParameterWidgetWrapper' object has
no attribute 'value'


I don't know if this happens also with other Processing algorithms

Cheers

Matteo
-- 
Matteo Ghetta - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the QGIS-Developer mailing list