[GRASS-dev] [QGIS-Developer] Running grass algorithms in threads
Markus Neteler
neteler at osgeo.org
Wed Aug 15 13:29:24 PDT 2018
On Wed, Aug 15, 2018 at 11:54 AM Rudi von Staden <rudivs at gmail.com> wrote:
>
> Thanks all for your thoughts on this. I suspect the problem may be race conditions being set up between https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/grass7/Grass7Utils.py and https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/grass7/Grass7Algorithm.py. It attempts to use an existing session and shared mapset which could be problematic from the sounds of things. It might be an idea to add an optional parameter to grass algorithms to not use shared mapsets and create a new mapset for each process?
It just came in yesterday :)
See
https://lists.osgeo.org/pipermail/grass-user/2018-August/078936.html
[GRASS-user] New CLI option --tmp-location in 7.5 to enhance --exec
Perhaps this approach will solve the issues?
Best
Markus
More information about the grass-dev
mailing list