[QGIS-Developer] Retrieve folder path from Processing scripts

Nyall Dawson nyall.dawson at gmail.com
Tue May 29 03:33:53 PDT 2018


On 29 May 2018 at 18:08, matteo <matteo.ghetta at gmail.com> wrote:
> Hi devs,
>
> fighting with this problem I might have found a small bug (if someone
> can confirm this).
>
> So with `QgsProcessingParameterFolderDestination` and
> `parameterAsString` Processing takes the path only if the path is added
> manually OR if the user choose the path from the button BUT types
> something in the box.
>
> If the path is taken directly from the button I always get a temporary path
>
> If someone wants to give a try I have prepared a copy/paste script for
> testing here:
>
> https://pastebin.com/DEHvD0nr
>
> If confirmed I can open a ticket

I can't confirm - what platform are you seeing this on?

Nyall

>
> Thanks
>
> Matteo
> _______________________________________________
> 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


More information about the QGIS-Developer mailing list