On Thu, Nov 26, 2015 at 11:17 PM, Luigi Pirelli <[email protected]> wrote:

> processing.alglist('script') to retrieve the list of commands with
> "script" string inside it's name or description
> e.g.
> processing.alglist('ogr')
> returns a lot of elements... if we get one of them
>
​--- >8 ---------------------------- snip

> if the list is is empty => no commands/scripts found with "script"
>

​Thanks Luigi, but I'm not sure how this helps​.

​scripts = Processing.getProviderFromName('scripts')
print scripts.algs​

returns a NON-empty list when run in the Python console but an empty list
when run in a stand-alone script.

Some part of the initialization of the scripts provider seems to fail.

Best wishes,
Anita​
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to