<div dir="ltr"><div>Also maybe use the `Run Selected Steps` option to check your outputs as you go, if you aren't already doing that. </div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Kind regards</div><div>Em<br></div></div></div></div><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, 14 Jan 2026 at 22:10, kirk via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto">Good Morning.</div><div dir="auto"><br></div><div dir="auto">A quick error check is to write the output of each function so that you can confirm all is working as it should. </div><div dir="auto"><br></div><div dir="auto">Your error coukd be a faulty input into the algorithm D, in your case the ressult of A or B or the vector input..</div><div dir="auto"><br></div><div dir="auto">Kirk Schmidt</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div id="m_-468109037441312043composer_signature" dir="auto"><div style="font-size:14px;color:rgb(144,144,144)" dir="auto">Sent from my Galaxy</div></div><div dir="auto"><br></div><div><br></div><div align="left" dir="auto" style="font-size:100%;color:rgb(0,0,0)"><div>-------- Original message --------</div><div>From: celati Laurent via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>> </div><div>Date: 2026-01-14 5:28 a.m. (GMT-04:00) </div><div>To: qgis-user <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>> </div><div>Subject: [Qgis-user] QGIS modeler error message : "Unable to evaluate the expression for the extra parameter : no root node!" </div><div><br></div></div><div dir="ltr"><div>Dear all,</div><div><br></div><div>I'm working with QGIS 3.4. This is my first QGIS model. I'm facing to
an error message during the running of the modeler. If I understand the
error message, the error seems to occur during the step "D" on my
little screenshot (below) showing the modeler. For information, I've
defined a conditional branch. In addition to the screenshot of the
modeler, I paste also the error message.<div><div>
<p>Modeler explanation :</p>
<ul><li>The output of the algorithm A is a raster clipped with a polygon (an area of interest)</li><li>For the algorithm B (difference vector processing between 2 input
layers), I've setted a dependency so that it only triggers if a
condition is met (we can see the conditional branch 'C' on the
screenshot).</li><li>Algorithm D (clip raster with a polygon) takes as input the raster
output/result of the algorithm A. And as a mask layer, the vector result
of algorithm B (difference). For this algorithm D, I've still enable
the same dependency setted for the algorithm B.</li><li>For algorithm E (raster polygonization),we can see there are 2
possible raster inputs. The output of the algorithm A and the output of
the algorithm D. Thus, as input to algorithm E, I set the following
expression (pre-calculated value):</li></ul></div></div></div><div><pre><code> if (@exclude_forest_zones , @cut_raster_segmentation_by_mask_vector_NO_foret_OUTPUT , @cut_raster_segmentation_by_study_area_vector_OUTPUT)</code></pre><br><img style="margin-right: 0px;" height="431" width="762" alt="image.png" src="cid:ii_19bbe0a3517cb971f161" name="m_-468109037441312043_com_samsung_android_email_attachmentprovider_1_13049_RAW_1768392247666"></div><div><br></div><div><br></div><div>
When I run the modeler, I get an error message that seems to be related to algorithm D. Below is the error message: </div><div><br></div><div>
<pre><code>"Unable to evaluate the expression for the extra parameter to clip the raster segmentation by the NO forest mask: no root node! Execution failed after 8 seconds."</code></pre></div><div><br></div><div><img style="margin-right: 0px;" height="237" width="687" alt="image.png" src="cid:ii_19bbe0a3517cb971f162" name="m_-468109037441312043_com_samsung_android_email_attachmentprovider_1_13050_RAW_1768392247667"></div><div>
For information, I paste below the overview of the algorithm D :
<br></div><div><br><img style="margin-right: 0px;" height="381" width="681" alt="image.png" src="cid:ii_19bbe0a3518cb971f163" name="m_-468109037441312043_com_samsung_android_email_attachmentprovider_1_13051_RAW_1768392247667"><br><br></div><div>
And I paste below for information the overview of the algorithm E :
As you can see on the screenshot, I haven't defined any dependencies for algorithm this algo E. </div><div><br></div><div><img style="margin-right: 0px;" height="297" width="682" alt="image.png" src="cid:ii_19bbe0a3518cb971f164" name="m_-468109037441312043_com_samsung_android_email_attachmentprovider_1_13052_RAW_1768392247667"></div><div><br></div><div>Thanks so much for your valuable help.</div><div><br></div><div><br><br></div><div><br></div><div><br></div><div><br></div></div>
</div>_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>