See:
https://github.com/OSGeo/grass/pull/1600
Please test.
Unittests for t.rast.neighbors should work again with this small change...

-----Original Message-----
From: grass-dev <grass-dev-boun...@lists.osgeo.org> On Behalf Of Stefan 
Blumentrath
Sent: torsdag 27. mai 2021 08:19
To: Luca Delucchi <lucadel...@gmail.com>; Anna Petrášová <kratocha...@gmail.com>
Cc: GRASS developers list <grass-dev@lists.osgeo.org>
Subject: Re: [GRASS-dev] ParallelModuleQueue freezes...

The combination ParallelModuleQueue and MultiModule is used in 
t.rast.neighbors: 
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fblob%2Fmaster%2Ftemporal%2Ft.rast.neighbors%2Ft.rast.neighbors.py&amp;data=04%7C01%7C%7C9ed002957eca4be47b7908d920d75b53%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576931588309077%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=2zjyEI5TAne19FgKv9vZo%2FcNG1SGP0KP7u0G%2FtQdC5Q%3D&amp;reserved=0

The testsuite of that module is deactivated for Python > 2.
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fblob%2Fmaster%2Ftemporal%2Ft.rast.neighbors%2Ftestsuite%2Ftest_neighbors.py&amp;data=04%7C01%7C%7C9ed002957eca4be47b7908d920d75b53%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576931588319065%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=jHctgXkjIEHaZ%2BHveeBo49RnOvzzB%2BRhWq7ri2PY59g%3D&amp;reserved=0

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 <lucadel...@gmail.com> 
Sent: torsdag 27. mai 2021 06:07
To: Anna Petrášová <kratocha...@gmail.com>
Cc: Stefan Blumentrath <stefan.blumentr...@nina.no>; GRASS developers list 
<grass-dev@lists.osgeo.org>
Subject: Re: [GRASS-dev] ParallelModuleQueue freezes...

On Thu, 27 May 2021 at 04:07, Anna Petrášová <kratocha...@gmail.com> wrote:
>
> Could you provide an example that is failing? The doctests are running for 
> 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=https%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass-addons%2Fpull%2F523%2Ffiles&amp;data=04%7C01%7C%7C9ed002957eca4be47b7908d920d75b53%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576931588319065%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=e9%2FkUD2TLUp2AHji07wI56Q0pkF%2Bctld3qtTnsb9%2F34%3D&amp;reserved=0
 line 544, the commented lines are not working for me..
If you want to try t.vi just comment line 543 and uncomment the following 
lines..

> Anna
>

--
ciao
Luca

https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.lucadelu.org%2F&amp;data=04%7C01%7C%7C9ed002957eca4be47b7908d920d75b53%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576931588319065%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=tgQKu%2BWrWIu2PDesyTQ41Hk%2Bp%2FOdeU3itdIrluTwwBA%3D&amp;reserved=0
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgrass-dev&amp;data=04%7C01%7C%7C9ed002957eca4be47b7908d920d75b53%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576931588319065%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=mN%2FeOFVJIQ8PZ2P6GEGM903s44%2BHbcGpodK4yxPxwY4%3D&amp;reserved=0
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to