DHI-GRAS / qgis-processing-workflow

Plugin for QGIS Processing for creating processing workflows - private development version
GNU General Public License v3.0
5 stars 1 forks source link

Wrong processing workflows path #7

Closed j08lue closed 8 years ago

j08lue commented 8 years ago

is .qgis2/python/plugins\processing_workflow\workflows

should be .qgis2\processing\workflows

image

j08lue commented 8 years ago

Fixed. However, if the path is already set (in Windows registry) from an earlier installation, it only gets updated if the old target directory does not exist anymore (see https://github.com/DHI-GRAS/processing_workflow/commit/28378d52c944ecc66b7cf4ca3f6adf7e01b9a31d).

radosuav commented 8 years ago

In case of WOIS installation maybe it could be handled in activateProcessingProviders function (https://github.com/TIGER-NET/WOIS_Installer/blob/master/woisInstaller.py#L584).

In case of standalone plugin installation it's up to the user anyway to decide where they want to keep the workflows.

j08lue commented 8 years ago

Ah, so was it wrong to change it here https://github.com/DHI-GRAS/processing_workflow/commit/9fe562c928d4c2b91345a16eab4c5713292ebdd8 ?

radosuav commented 8 years ago

It was good :) The default path should be .qgis2\processing\workflows.

I just meant it in relation to your previous comment about path only being updated if the old directory does not exist anymore.

But now that I think about it, WOIS installer deletes the old processing_workflow plugin so .qgis2/python/plugins\processing_workflow\workflows won't exist and the proper workflows' path should be set without any more modifications.

j08lue commented 8 years ago

:-) yay