On Wed, 26 May 2021 at 15:13, Stefan Blumentrath
<stefan.blumentr...@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
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to