Re: ParallelModuleQueue freezes...

Stefan Blumentrath <[email protected]> Thu, 27 May 2021 06:19:07 +0000
Newsgroups gmane.comp.gis.grass.devel
Message-ID <VI1PR02MB5038D7237CA35E63DEA75EBB9E239@VI1PR02MB5038.eurprd02.prod.outlook.com>
The combination ParallelModuleQueue and MultiModule is used in t.rast.neigh=
bors: https://github.com/OSGeo/grass/blob/master/temporal/t.rast.neighbors/=
t.rast.neighbors.py

The testsuite of that module is deactivated for Python > 2.
https://github.com/OSGeo/grass/blob/master/temporal/t.rast.neighbors/testsu=
ite/test_neighbors.py

If you activate it by commenting out line 15. You will see the behavior...

Thanks for looking into this!

Cheers
Stefan


-----Original Message-----
From: Luca Delucchi <[email protected]> =

Sent: torsdag 27. mai 2021 06:07
To: Anna Petr=E1=B9ov=E1 <[email protected]>
Cc: Stefan Blumentrath <[email protected]>; GRASS developers list =
<[email protected]>
Subject: Re: [GRASS-dev] ParallelModuleQueue freezes...

On Thu, 27 May 2021 at 04:07, Anna Petr=E1=B9ov=E1 <[email protected]> =
wrote:
>
> Could you provide an example that is failing? The doctests are running fo=
r me. I spent some time fixing it a couple months ago. I use Python 3.6, I =
wonder if newer Python would cause some issues.
>

https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.=
com%2FOSGeo%2Fgrass-addons%2Fpull%2F523%2Ffiles&amp;data=3D04%7C01%7C%7Cb35=
d171402fc441dfd7508d920c4edc3%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C=
637576852445926368%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu=
MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3Da8JVAn3N77HwODX5FguDQ=
jxI4PbUbkN4ZicO4RYuHqo%3D&amp;reserved=3D0 line 544, the commented lines ar=
e not working for me..
If you want to try t.vi just comment line 543 and uncomment the following l=
ines..

> Anna
>

--
ciao
Luca

https://eur01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fwww.luca=
delu.org%2F&amp;data=3D04%7C01%7C%7Cb35d171402fc441dfd7508d920c4edc3%7C6cef=
373021314901831055b3abf02c73%7C0%7C0%7C637576852445936369%7CUnknown%7CTWFpb=
GZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7=
C1000&amp;sdata=3DRWkoI4e%2BbY9%2F5Ow%2BOMqPtEgHGS2BqWRL4pes%2B%2B5T%2BNA%3=
D&amp;reserved=3D0