[GRASS-dev] ParallelModuleQueue freezes...

Luca Delucchi lucadeluge at gmail.com
Wed May 26 06:59:25 PDT 2021


On Wed, 26 May 2021 at 15:13, Stefan Blumentrath
<Stefan.Blumentrath at nina.no> wrote:
>
> Thanks, Markus.
>
> Seems that the ParallelModuleQueue itself works if it is fed with Module objects, but not if MultiModule objects are put into the queue...
>
> So, I believe I am struggling with the same issue as Luca:
> https://github.com/OSGeo/grass-addons/pull/523#issue-629160914
>

probably yes

> Can it be that returns of the MuliModule should be different? If I understand the source code [1]  correctly, Module returns "self" (a Module object) while MultiModule returns "None". Can that be the root cause?
>

it seems to me that MultiModule returns "None" when it finish
otherwise return self.p (a Process instance)

> Any help is much appreciated...
>

same for my side :-)

> Cheers
> Stefan
>
> 1: https://grass.osgeo.org/grass79/manuals/libpython/_modules/pygrass/modules/interface/module.html#MultiModule
>


-- 
ciao
Luca

www.lucadelu.org


More information about the grass-dev mailing list