[QGIS-Developer] QgsAbstractProcessingParameterWidgetWrapper problems in Processing

DelazJ delazj at gmail.com
Tue Sep 11 09:42:50 PDT 2018


Hi Matteo,

See https://issues.qgis.org/issues/19813. How recent is your build?

Regards,
Harrissou

Le mar. 11 sept. 2018 à 18:13, Matteo Ghetta <matteo.ghetta at faunalia.eu> a
écrit :

> 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
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180911/20c3ae5a/attachment.html>


More information about the QGIS-Developer mailing list