Re: ParallelModuleQueue freezes...
Anna Petrášová <[email protected]> Fri, 28 May 2021 10:32:42 -0400
| Newsgroups | gmane.comp.gis.grass.devel |
|---|---|
| Message-ID | <CAE0EDErZjqydy9E7_pz_9Kf7w1_6JSbe=Vj7CUaagDaqh_rkPw@mail.gmail.com> |
--===============3283655241746890969== Content-Type: multipart/alternative; boundary="000000000000489ab505c364c06c" --000000000000489ab505c364c06c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Which Python do you have? The test is running just fine for me with 3.6. On Thu, May 27, 2021 at 2:19 AM Stefan Blumentrath < [email protected]> wrote: > The combination ParallelModuleQueue and MultiModule is used in > t.rast.neighbors: > https://github.com/OSGeo/grass/blob/master/temporal/t.rast.neighbors/t.ra= st.neighbors.py > > The testsuite of that module is deactivated for Python > 2. > > https://github.com/OSGeo/grass/blob/master/temporal/t.rast.neighbors/test= suite/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=C3=A1=C5=A1ov=C3=A1 <[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=C3=A1=C5=A1ov=C3=A1 <kratochanna@= 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=3Dhttps%3A%2F%2Fgithu= b.com%2FOSGeo%2Fgrass-addons%2Fpull%2F523%2Ffiles&data=3D04%7C01%7C%7Cb= 35d171402fc441dfd7508d920c4edc3%7C6cef373021314901831055b3abf02c73%7C0%7C0%= 7C637576852445926368%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2= luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3Da8JVAn3N77HwODX5Fgu= DQjxI4PbUbkN4ZicO4RYuHqo%3D&reserved=3D0 > 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=3Dhttp%3A%2F%2Fwww.lu= cadelu.org%2F&data=3D04%7C01%7C%7Cb35d171402fc441dfd7508d920c4edc3%7C6c= ef373021314901831055b3abf02c73%7C0%7C0%7C637576852445936369%7CUnknown%7CTWF= pbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D= %7C1000&sdata=3DRWkoI4e%2BbY9%2F5Ow%2BOMqPtEgHGS2BqWRL4pes%2B%2B5T%2BNA= %3D&reserved=3D0 > --000000000000489ab505c364c06c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Which Python do you have? The test is running just fi= ne for me with 3.6.</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl= ass=3D"gmail_attr">On Thu, May 27, 2021 at 2:19 AM Stefan Blumentrath <<= a href=3D"mailto:[email protected]">[email protected]</a>= > wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The = combination ParallelModuleQueue and MultiModule is used in t.rast.neighbors= : <a href=3D"https://github.com/OSGeo/grass/blob/master/temporal/t.rast.nei= ghbors/t.rast.neighbors.py" rel=3D"noreferrer" target=3D"_blank">https://gi= thub.com/OSGeo/grass/blob/master/temporal/t.rast.neighbors/t.rast.neighbors= .py</a><br> <br> The testsuite of that module is deactivated for Python > 2.<br> <a href=3D"https://github.com/OSGeo/grass/blob/master/temporal/t.rast.neigh= bors/testsuite/test_neighbors.py" rel=3D"noreferrer" target=3D"_blank">http= s://github.com/OSGeo/grass/blob/master/temporal/t.rast.neighbors/testsuite/= test_neighbors.py</a><br> <br> If you activate it by commenting out line 15. You will see the behavior...<= br> <br> Thanks for looking into this!<br> <br> Cheers<br> Stefan<br> <br> <br> -----Original Message-----<br> From: Luca Delucchi <<a href=3D"mailto:[email protected]" target=3D"_= blank">[email protected]</a>> <br> Sent: torsdag 27. mai 2021 06:07<br> To: Anna Petr=C3=A1=C5=A1ov=C3=A1 <<a href=3D"mailto:[email protected]= om" target=3D"_blank">[email protected]</a>><br> Cc: Stefan Blumentrath <<a href=3D"mailto:[email protected]" ta= rget=3D"_blank">[email protected]</a>>; GRASS developers list &= lt;<a href=3D"mailto:[email protected]" target=3D"_blank">grass-dev= @lists.osgeo.org</a>><br> Subject: Re: [GRASS-dev] ParallelModuleQueue freezes...<br> <br> On Thu, 27 May 2021 at 04:07, Anna Petr=C3=A1=C5=A1ov=C3=A1 <<a href=3D"= mailto:[email protected]" target=3D"_blank">[email protected]</a>&g= t; wrote:<br> ><br> > 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.<br> ><br> <br> <a href=3D"https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2= F%2Fgithub.com%2FOSGeo%2Fgrass-addons%2Fpull%2F523%2Ffiles&amp;data=3D0= 4%7C01%7C%7Cb35d171402fc441dfd7508d920c4edc3%7C6cef373021314901831055b3abf0= 2c73%7C0%7C0%7C637576852445926368%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwM= DAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3Da8= JVAn3N77HwODX5FguDQjxI4PbUbkN4ZicO4RYuHqo%3D&amp;reserved=3D0" rel=3D"n= oreferrer" target=3D"_blank">https://eur01.safelinks.protection.outlook.com= /?url=3Dhttps%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass-addons%2Fpull%2F523%2Ffile= s&amp;data=3D04%7C01%7C%7Cb35d171402fc441dfd7508d920c4edc3%7C6cef373021= 314901831055b3abf02c73%7C0%7C0%7C637576852445926368%7CUnknown%7CTWFpbGZsb3d= 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&= amp;amp;sdata=3Da8JVAn3N77HwODX5FguDQjxI4PbUbkN4ZicO4RYuHqo%3D&amp;rese= rved=3D0</a> line 544, the commented lines are not working for me..<br> If you want to try <a href=3D"http://t.vi" rel=3D"noreferrer" target=3D"_bl= ank">t.vi</a> just comment line 543 and uncomment the following lines..<br> <br> > Anna<br> ><br> <br> --<br> ciao<br> Luca<br> <br> <a href=3D"https://eur01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F= %2Fwww.lucadelu.org%2F&amp;data=3D04%7C01%7C%7Cb35d171402fc441dfd7508d9= 20c4edc3%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576852445936369%7C= Unknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiL= CJXVCI6Mn0%3D%7C1000&amp;sdata=3DRWkoI4e%2BbY9%2F5Ow%2BOMqPtEgHGS2BqWRL= 4pes%2B%2B5T%2BNA%3D&amp;reserved=3D0" rel=3D"noreferrer" target=3D"_bl= ank">https://eur01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fwww= .lucadelu.org%2F&amp;data=3D04%7C01%7C%7Cb35d171402fc441dfd7508d920c4ed= c3%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576852445936369%7CUnknow= n%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI= 6Mn0%3D%7C1000&amp;sdata=3DRWkoI4e%2BbY9%2F5Ow%2BOMqPtEgHGS2BqWRL4pes%2= B%2B5T%2BNA%3D&amp;reserved=3D0</a><br> </blockquote></div></div> --000000000000489ab505c364c06c-- --===============3283655241746890969== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ grass-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-dev --===============3283655241746890969==--