<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div></div></div><div><blockquote type="cite" class=""><div class="">Le 10 juil. 2019 à 08:44, Alessandro Pasotti <<a href="mailto:apasotti@gmail.com" class="">apasotti@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><br class=""></div><div class="">did you call QgsApplication.processingRegistry().addProvider(QgsNativeAlgorithms()) ?<br class=""></div></div></div></blockquote><div><br class=""></div><div>You may need to call the above, before calling  'Processing.initialize()'  </div><br class=""><blockquote type="cite" class=""><div class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 10, 2019 at 8:42 AM Alexander Bruy <<a href="mailto:alexander.bruy@gmail.com" class="">alexander.bruy@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br class="">
<br class="">
I need to access Processing algorithms from the QGIS Server plugin.<br class="">
But any attempt to call any Processing algorithm failed with following<br class="">
error message in<br class="">
the logs<br class="">
<br class="">
CRITICAL Processing[2960]: Error: Algorithm native:clip not found<br class="">
<br class="">
In the same time I can access analysis classes like QgsHillshadeFilter<br class="">
or QgsZonalStatistics.<br class="">
<br class="">
Is it possible to access Processing algorithms from server plugins?<br class="">
<br class="">
Thanks<br class="">
-- <br class="">
Alexander Bruy<br class="">
_______________________________________________<br class="">
QGIS-Developer mailing list<br class="">
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" class="">QGIS-Developer@lists.osgeo.org</a><br class="">
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank" class="">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br class="">
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank" class="">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div><br clear="all" class=""><br class="">-- <br class=""><div dir="ltr" class="gmail_signature">Alessandro Pasotti<br class="">w3:   <a href="http://www.itopen.it/" target="_blank" class="">www.itopen.it</a></div>
_______________________________________________<br class="">QGIS-Developer mailing list<br class=""><a href="mailto:QGIS-Developer@lists.osgeo.org" class="">QGIS-Developer@lists.osgeo.org</a><br class="">List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer<br class="">Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer</div></blockquote></div><br class=""></body></html>