<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi all,</p>
<p>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.</p>
<p>Does anybody confirm?</p>
<p>All the best.
</p>
<p>
</p>
<p>[0]
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; color:#ff0000;">An error has occurred while executing Python code:</span>
</p>
<p style=" margin-top:14px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:large; font-weight:600;">processing.gui.wrappers.InvalidParameterValue </span></p>
<pre style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace';">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
</span></pre>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
<span style=" font-weight:600;">Python version:</span> 3.6.7 (default, Oct 21 2018, 08:08:16) [GCC 8.2.0]
<span style=" font-weight:600;">QGIS version:</span> 3.4.1-Madeira Madeira, f7bba750bc
</p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:medium; font-weight:600;">Python Path:</span></p>
<ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px;
margin-right: 0px; -qt-list-indent: 1;">
<li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">/usr/local/src/qgis/QGIS/build-qgis341/output/python</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">/home/paolo/.local/share/QGIS/QGIS3/profiles/Ghent course/python</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">/home/paolo/.local/share/QGIS/QGIS3/profiles/Ghent course/python/plugins</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">/usr/local/src/qgis/QGIS/build-qgis341/output/python/plugins</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">/usr/lib/python36.zip</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">/usr/lib/python3.6</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">/usr/lib/python3.6/lib-dynload</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">/usr/local/lib/python3.6/dist-packages</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">/usr/lib/python3/dist-packages</li>
<li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">/home/paolo/.local/share/QGIS/QGIS3/profiles/Ghent course/python</li>
<li style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">/home/paolo/Desktop/processing/modeler_twi</li>
</ul>
<p><style type="text/css">
p, li { white-space: pre-wrap; }
</style></p>
<pre class="moz-signature" cols="72">--
Paolo Cavallini - <a class="moz-txt-link-abbreviated" href="http://www.faunalia.eu">www.faunalia.eu</a>
QGIS.ORG Chair:
<a class="moz-txt-link-freetext" href="http://planet.qgis.org/planet/user/28/tag/qgis%20board/">http://planet.qgis.org/planet/user/28/tag/qgis%20board/</a></pre>
</body>
</html>