Re: [GRASS-dev] ParallelModuleQueue freezes...

2021-05-28 Thread Anna Petrášová
On Fri, May 28, 2021 at 10:02 AM Stefan Blumentrath <
stefan.blumentr...@nina.no> wrote:

> Some more context.
> The t.rast.neighbors test seems to work with the current dev version
> "2048e1016" from 2021-05-19T09:38:49+00:00
> It fails however, with 7.8.5 from 2020-12-22T15:55:09+00:00 and an older
> development version "35edbf7dc"
> from 2020-06-03T16:03:52+00:00
>
> So, maybe one or more of the recent changes need backporting?
>
> https://github.com/OSGeo/grass/commits/master/python/grass/pygrass/modules/interface/module.py


This one:
https://github.com/OSGeo/grass/pull/1407

The reason I didn't backport it was there has been a small change in API
to make it work. But Python3 support is probably a good reason to backport
it.


>
>
> In the 7_8 release branch, the latest change is from May 2019:
>
> https://github.com/OSGeo/grass/commits/releasebranch_7_8/lib/python/pygrass/modules/interface/module.py
>
> Hope that helps identifying a solution?
>
> Cheers
> Stefan
>
> -Original Message-
> From: Stefan Blumentrath 
> Sent: torsdag 27. mai 2021 23:09
> To: Stefan Blumentrath ; Luca Delucchi <
> lucadel...@gmail.com>; Anna Petrášová 
> Cc: GRASS developers list 
> Subject: RE: [GRASS-dev] ParallelModuleQueue freezes...
>
> See:
>
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fpull%2F1600data=04%7C01%7C%7Cc5fe909715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=5yfxG5gjlYlzgJn6yTP9zbUk7GE1JdcYPxWIQFwUK%2Fo%3Dreserved=0
> Please test.
> Unittests for t.rast.neighbors should work again with this small change...
>
> -Original Message-
> From: grass-dev  On Behalf Of Stefan
> Blumentrath
> Sent: torsdag 27. mai 2021 08:19
> To: Luca Delucchi ; Anna Petrášová <
> kratocha...@gmail.com>
> Cc: GRASS developers list 
> 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.pydata=04%7C01%7C%7Cc5fe909715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=5QyN%2FR1cXgoWWGS2lgjKi8%2BeLX77w37bfMQzcP6O4bM%3Dreserved=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.pydata=04%7C01%7C%7Cc5fe909715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=nQTdDIGmefI6F37zdjhyMDBYUrIxVaC%2FiA5FzeUK2KU%3Dreserved=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 
> Sent: torsdag 27. mai 2021 06:07
> To: Anna Petrášová 
> Cc: Stefan Blumentrath ; GRASS developers
> list 
> Subject: Re: [GRASS-dev] ParallelModuleQueue freezes...
>
> On Thu, 27 May 2021 at 04:07, Anna Petrášová 
> 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%2Ffilesdata=04%7C01%7C%7Cc5fe909715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=KT5h55J89LLXhK7uEujAmIwfksjPGyXEy2u7gYIc2Ns%3Dreserved=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%2Fdata=04%7C01%7C%7Cc5fe909715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=hM8CpSgjw7SFjGKxM9SFfWI3G8U3nr8eeCqedZORdso%3Dreserved=0
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
>
> 

Re: [GRASS-dev] ParallelModuleQueue freezes...

2021-05-28 Thread Anna Petrášová
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 <
stefan.blumentr...@nina.no> wrote:

> The combination ParallelModuleQueue and MultiModule is used in
> t.rast.neighbors:
> 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/testsuite/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 
> Sent: torsdag 27. mai 2021 06:07
> To: Anna Petrášová 
> Cc: Stefan Blumentrath ; GRASS developers
> list 
> Subject: Re: [GRASS-dev] ParallelModuleQueue freezes...
>
> On Thu, 27 May 2021 at 04:07, Anna Petrášová 
> 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%2Ffilesdata=04%7C01%7C%7Cb35d171402fc441dfd7508d920c4edc3%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576852445926368%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=a8JVAn3N77HwODX5FguDQjxI4PbUbkN4ZicO4RYuHqo%3Dreserved=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%2Fdata=04%7C01%7C%7Cb35d171402fc441dfd7508d920c4edc3%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576852445936369%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=RWkoI4e%2BbY9%2F5Ow%2BOMqPtEgHGS2BqWRL4pes%2B%2B5T%2BNA%3Dreserved=0
>
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] ParallelModuleQueue freezes...

2021-05-28 Thread Stefan Blumentrath
Some more context.
The t.rast.neighbors test seems to work with the current dev version
"2048e1016" from 2021-05-19T09:38:49+00:00
It fails however, with 7.8.5 from 2020-12-22T15:55:09+00:00 and an older 
development version "35edbf7dc"
from 2020-06-03T16:03:52+00:00

So, maybe one or more of the recent changes need backporting?
https://github.com/OSGeo/grass/commits/master/python/grass/pygrass/modules/interface/module.py

In the 7_8 release branch, the latest change is from May 2019:
https://github.com/OSGeo/grass/commits/releasebranch_7_8/lib/python/pygrass/modules/interface/module.py

Hope that helps identifying a solution?

Cheers
Stefan

-Original Message-
From: Stefan Blumentrath  
Sent: torsdag 27. mai 2021 23:09
To: Stefan Blumentrath ; Luca Delucchi 
; Anna Petrášová 
Cc: GRASS developers list 
Subject: RE: [GRASS-dev] ParallelModuleQueue freezes...

See:
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fpull%2F1600data=04%7C01%7C%7Cc5fe909715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=5yfxG5gjlYlzgJn6yTP9zbUk7GE1JdcYPxWIQFwUK%2Fo%3Dreserved=0
Please test.
Unittests for t.rast.neighbors should work again with this small change...

-Original Message-
From: grass-dev  On Behalf Of Stefan 
Blumentrath
Sent: torsdag 27. mai 2021 08:19
To: Luca Delucchi ; Anna Petrášová 
Cc: GRASS developers list 
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.pydata=04%7C01%7C%7Cc5fe909715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=5QyN%2FR1cXgoWWGS2lgjKi8%2BeLX77w37bfMQzcP6O4bM%3Dreserved=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.pydata=04%7C01%7C%7Cc5fe909715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=nQTdDIGmefI6F37zdjhyMDBYUrIxVaC%2FiA5FzeUK2KU%3Dreserved=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  
Sent: torsdag 27. mai 2021 06:07
To: Anna Petrášová 
Cc: Stefan Blumentrath ; GRASS developers list 

Subject: Re: [GRASS-dev] ParallelModuleQueue freezes...

On Thu, 27 May 2021 at 04:07, Anna Petrášová  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%2Ffilesdata=04%7C01%7C%7Cc5fe909715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=KT5h55J89LLXhK7uEujAmIwfksjPGyXEy2u7gYIc2Ns%3Dreserved=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%2Fdata=04%7C01%7C%7Cc5fe909715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=hM8CpSgjw7SFjGKxM9SFfWI3G8U3nr8eeCqedZORdso%3Dreserved=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-devdata=04%7C01%7C%7Cc5fe909715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=IwP5QxiLzELTGrr393lqAWrlWRhBVg%2FbOhrz9lBHMkw%3Dreserved=0
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] GRASS on IRC

2021-05-28 Thread Jeff McKenna
I had earlier registered the #grass channel on libera.chat, and gave 
MarkusN 'founder' status.  It's a good backup option.  Also, as of 
yesterday there is a new webchat option for libera.chat (connect 
directly through your browser: https://web.libera.chat/ )


-jeff



--
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G
http://gatewaygeo.com/



On 2021-05-28 9:17 a.m., Veronica Andreo wrote:

Ciao Lu,

I was about to ask the same.

I do not use IRC so I cannot really tell what would be the best. QGIS is 
having the same discussion right now. matrix seems like a good option if 
we can use our osgeo credentials. In twitter, I have seen many open 
source projects are moving to https://libera.chat/ 


my 2 cents
Vero



El vie, 28 may 2021 a las 13:20, Luca Delucchi (>) escribió:


Hi all,

there are problem with Freenode [0] where we have #grass channel.

What do you think to move to matrix.osgeo.org
? It works with OSGeo account!


[0] https://diziet.dreamwidth.org/8514.html


-- 
ciao

Luca

www.lucadelu.org 
___
grass-dev mailing list
grass-dev@lists.osgeo.org 
https://lists.osgeo.org/mailman/listinfo/grass-dev



___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev



___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] GRASS on IRC

2021-05-28 Thread Veronica Andreo
Ciao Lu,

I was about to ask the same.

I do not use IRC so I cannot really tell what would be the best. QGIS is
having the same discussion right now. matrix seems like a good option if we
can use our osgeo credentials. In twitter, I have seen many open source
projects are moving to https://libera.chat/

my 2 cents
Vero



El vie, 28 may 2021 a las 13:20, Luca Delucchi ()
escribió:

> Hi all,
>
> there are problem with Freenode [0] where we have #grass channel.
>
> What do you think to move to matrix.osgeo.org? It works with OSGeo
> account!
>
>
> [0] https://diziet.dreamwidth.org/8514.html
>
> --
> ciao
> Luca
>
> www.lucadelu.org
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
>
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] Meet GSoC students

2021-05-28 Thread Vaclav Petras
Join us for the meeting. We are starting in an hour. Here is a Zoom link:

https://ncsu.zoom.us/j/94926662459?pwd=ZVVmZElwWTl3V20ybmVOencvOVFaQT09

On Thu, May 27, 2021 at 12:39 PM Anna Petrášová 
wrote:

> Hi devs,
>
> If anybody is interested to meet new GSoC students, say hello or ask some
> questions regarding their projects, we plan to have a call on Friday May
> 28th 9am EDT (3pm CEST, 13 UTC [1]), I will send the zoom link just
> before the event.
>
> Anna
>
> [1]
> https://www.timeanddate.com/worldclock/meetingdetails.html?year=2021=5=28=13=0=0=207=236=204
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
>
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev


[GRASS-dev] GRASS on IRC

2021-05-28 Thread Luca Delucchi
Hi all,

there are problem with Freenode [0] where we have #grass channel.

What do you think to move to matrix.osgeo.org? It works with OSGeo account!


[0] https://diziet.dreamwidth.org/8514.html

-- 
ciao
Luca

www.lucadelu.org
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev