[QGIS-Developer] Error in Processing modeller

Paolo Cavallini cavallini at faunalia.it
Thu Nov 22 10:47:44 PST 2018


Hi all,

when creating a model in Processing (QGIS 3.4.1), if one param is
missing (band number in gdal contour, BTW this should default at 1), an
error is thrown [0] before showing the proper error message.

Does anybody confirm?

All the best.

[0]

An error has occurred while executing Python code:

processing.gui.wrappers.InvalidParameterValue

Traceback (most recent call last):   File
"/usr/local/src/qgis/QGIS/build-qgis341/output/python/plugins/processing/gui/wrappers.py",
line 208, in widgetValue     return self.value()   File
"/usr/local/src/qgis/QGIS/build-qgis341/output/python/plugins/processing/gui/wrappers.py",
line 1764, in value     return self.comboValue(validator)   File
"/usr/local/src/qgis/QGIS/build-qgis341/output/python/plugins/processing/gui/wrappers.py",
line 174, in comboValue     raise InvalidParameterValue()
processing.gui.wrappers.InvalidParameterValue

Python version: 3.6.7 (default, Oct 21 2018, 08:08:16) [GCC 8.2.0] QGIS
version: 3.4.1-Madeira Madeira, f7bba750bc

Python Path:

  * /usr/local/src/qgis/QGIS/build-qgis341/output/python
  * /home/paolo/.local/share/QGIS/QGIS3/profiles/Ghent course/python
  * /home/paolo/.local/share/QGIS/QGIS3/profiles/Ghent course/python/plugins
  * /usr/local/src/qgis/QGIS/build-qgis341/output/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/paolo/.local/share/QGIS/QGIS3/profiles/Ghent course/python
  * /home/paolo/Desktop/processing/modeler_twi

-- 
Paolo Cavallini - www.faunalia.eu
QGIS.ORG Chair:
http://planet.qgis.org/planet/user/28/tag/qgis%20board/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181122/bf5e95e2/attachment.html>


More information about the QGIS-Developer mailing list