[Qgis-developer] Persistent plugin files amended by user, wiped by upgrade

Nathan Woodrow madmanwoo at gmail.com
Tue Mar 22 13:17:54 PDT 2016


You should not store stuff with the plugin itself. Store it in .qgis2 and
make a folder there.  There is API for resolving that folder path.

On Wed, 23 Mar 2016 6:07 am Tom Chadwin <tom.chadwin at nnpa.org.uk> wrote:

> I've got something rather badly wrong in qgis2web. The plugin has a
> /templates folder, and users are encouraged to add their own templates.
> However, a user has just rightly pointed out that because /templates is
> within the plugin folder, changes are lost when upgrading the plugin to a
> new version. He has therefore lost his work.
>
> How can I solve this? Does the plugin install process have permission to
> write to a user's home directory as well as to the plugin folder?
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Persistent-plugin-files-amended-by-user-wiped-by-upgrade-tp5257867.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160322/1ce0b73e/attachment.html>


More information about the Qgis-developer mailing list