[QGIS-Developer] QGIS Server and native Processing algorithms

Alexander Bruy alexander.bruy at gmail.com
Wed Jul 10 01:18:53 PDT 2019


I have Processing initialization code in my plugin. Looks like local issue
as on another machine same code works fine.

Thanks and sorry for the noise.

ср, 10 лип. 2019 о 10:49 David Marteau <dmarteau at 3liz.com> пише:
>
>
>
> Le 10 juil. 2019 à 08:44, Alessandro Pasotti <apasotti at gmail.com> a écrit :
>
>
> did you call QgsApplication.processingRegistry().addProvider(QgsNativeAlgorithms()) ?
>
>
> You may need to call the above, before calling  'Processing.initialize()'
>
>
> On Wed, Jul 10, 2019 at 8:42 AM Alexander Bruy <alexander.bruy at gmail.com> wrote:
>>
>> Hi,
>>
>> I need to access Processing algorithms from the QGIS Server plugin.
>> But any attempt to call any Processing algorithm failed with following
>> error message in
>> the logs
>>
>> CRITICAL Processing[2960]: Error: Algorithm native:clip not found
>>
>> In the same time I can access analysis classes like QgsHillshadeFilter
>> or QgsZonalStatistics.
>>
>> Is it possible to access Processing algorithms from server plugins?
>>
>> Thanks
>> --
>> Alexander Bruy
>> _______________________________________________
>> 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
>
>
>
> --
> Alessandro Pasotti
> w3:   www.itopen.it
> _______________________________________________
> 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
>
>


-- 
Alexander Bruy


More information about the QGIS-Developer mailing list