Re: ParallelModuleQueue freezes...
Anna Petrášová <[email protected]> Wed, 26 May 2021 22:06:52 -0400
| Newsgroups | gmane.comp.gis.grass.devel |
|---|---|
| Message-ID | <CAE0EDEpw4wVTQF7eL0FCEbAwa=4nXAQkLngdn8ZeeshPwk=+qQ@mail.gmail.com> |
--===============9026740278262213934== Content-Type: multipart/alternative; boundary="0000000000002bf99405c3463724" --0000000000002bf99405c3463724 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. Anna On Tue, May 25, 2021 at 8:33 AM Stefan Blumentrath < [email protected]> wrote: > Dear devs, > > > > Currently, I am trying to run a combination of ParallelModuleQueue and > MultiModule as described here in GRASS 7.8: > > > https://grass.osgeo.org/grass79/manuals/libpython/pygrass.modules.interfa= ce.html?highlight=3Dparallel%20module%20qu#pygrass.modules.interface.module= .ParallelModuleQueue > > > > It seems =E2=80=93 in contrast to the documentation - also the finish_=3D= parameter > needs to be set to True for the modules to run. > > > > However, after finishing the queue, the script stalls and does not seem t= o > get over queue.wait(). > > Just to be clear, also the code from the doc does not seem to work for me= =E2=80=A6 > > > > Any ideas? > > > > Cheers, > > Stefan > _______________________________________________ > grass-dev mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/grass-dev > --0000000000002bf99405c3463724 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Could you provide an example that is failing? The doc= tests 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.</div><d= iv><br></div><div>Anna</div><br><div class=3D"gmail_quote"><div dir=3D"ltr"= class=3D"gmail_attr">On Tue, May 25, 2021 at 8:33 AM Stefan Blumentrath &l= t;<a href=3D"mailto:[email protected]">[email protected]<= /a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0= px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div lang=3D"NO-BOK" style=3D"overflow-wrap: break-word;"> <div class=3D"gmail-m_-1551074299874950414WordSection1"> <p class=3D"MsoNormal">Dear devs,<u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Currently, I am trying to run a= combination of ParallelModuleQueue and MultiModule as described here in GR= ASS 7.8:<u></u><u></u></span></p> <p class=3D"MsoNormal"><a href=3D"https://grass.osgeo.org/grass79/manuals/l= ibpython/pygrass.modules.interface.html?highlight=3Dparallel%20module%20qu#= pygrass.modules.interface.module.ParallelModuleQueue" target=3D"_blank"><sp= an lang=3D"EN-US">https://grass.osgeo.org/grass79/manuals/libpython/pygrass= .modules.interface.html?highlight=3Dparallel%20module%20qu#pygrass.modules.= interface.module.ParallelModuleQueue</span></a><u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">It seems =E2=80=93 in contrast = to the documentation - also the finish_=3D parameter needs to be set to Tru= e for the modules to run.<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">However, after finishing the qu= eue, the script stalls and does not seem to get over queue.wait().<u></u><u= ></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Just to be clear, also the code= from the doc does not seem to work for me=E2=80=A6<u></u><u></u></span></p= > <p class=3D"MsoNormal"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Any ideas?<u></u><u></u></span>= </p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Cheers,<u></u><u></u></span></p= > <p class=3D"MsoNormal"><span lang=3D"EN-US">Stefan<u></u><u></u></span></p> </div> </div> _______________________________________________<br> grass-dev mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">grass-dev@li= sts.osgeo.org</a><br> <a href=3D"https://lists.osgeo.org/mailman/listinfo/grass-dev" rel=3D"noref= errer" target=3D"_blank">https://lists.osgeo.org/mailman/listinfo/grass-dev= </a><br> </blockquote></div></div> --0000000000002bf99405c3463724-- --===============9026740278262213934== 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 --===============9026740278262213934==--