Re: [GRASS-user] python 'NamError' r.landscape.evol

2020-05-01 Thread Helmut Kudrnovsky
Maria Cecilia Zalazar wrote
> Hello. In previous (win)grass versions I was able to work with
> r.landscape.evol addon. Now with 7.8.2 wingrass version appears a python
> NameError:
> 
> 
> 
> *r.landscape.evol elev=DEM_21x21@PERMANENT initbdrk=0 smoothing=no
> prefx=levol_test outdem=elevation_test outsoil=soildepth_test number=1*
> 
> *Traceback (most recent call last):*
> 
> *  File "C:\Users\USUARIO\AppData\Roaming\GRASS7\addons/scrip*
> 
> *ts/r.landscape.evol.py http://r.landscape.evol.py/;, line 665, in
> 
> *
> 
> *f = file(statsout, 'wt')*
> 
> *NameError: name 'file' is not defined*
> 
> 
> 
> It seems that the script was written in Python < 3 and ‘file()’ is not
> supported in Python 3. Is possible that the addon needs to transform into
> valid Python 3.x code?
> 
> Thanks for your help!

some hints e.g. here:

https://stackoverflow.com/questions/28121163/python-3-doesnt-have-the-file-function/28121192





-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] python 'NamError' r.landscape.evol

2020-05-01 Thread Maria Cecilia Zalazar
Hello. In previous (win)grass versions I was able to work with
r.landscape.evol addon. Now with 7.8.2 wingrass version appears a python
NameError:



*r.landscape.evol elev=DEM_21x21@PERMANENT initbdrk=0 smoothing=no
prefx=levol_test outdem=elevation_test outsoil=soildepth_test number=1*

*Traceback (most recent call last):*

*  File "C:\Users\USUARIO\AppData\Roaming\GRASS7\addons/scrip*

*ts/r.landscape.evol.py ", line 665, in
*

*f = file(statsout, 'wt')*

*NameError: name 'file' is not defined*



It seems that the script was written in Python < 3 and ‘file()’ is not
supported in Python 3. Is possible that the addon needs to transform into
valid Python 3.x code?

Thanks for your help!
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Let's talk about releases - 7.8.3, 7.10, 8.0

2020-05-01 Thread Vaclav Petras
On Thu, Apr 30, 2020 at 10:47 PM Rich Shepard 
wrote:

> On Thu, 30 Apr 2020, Vaclav Petras wrote:
>
> > I though it would be a good idea to video meet next week and talk about
> > what would be the best way of releasing GRASS GIS in the future. As
> > always, both contributors and users are invited to share ideas and
> > opinions.
> >
> > I'm thinking to meet for one hour. Here is a Doodle poll for the date and
> > times:
>
> Vaclav,
>
> What would be the agenda? Will you and the other devs present options while
> every participant contributes they opinion? What are the issues with the
> current way of releasing GRASS upgrades? Are you looking for solutions to
> those issues or a choice among a few solutions?
>

There was couple related discussions in the past here and there (see
below), so it's time to discuss this properly.

https://grasswiki.osgeo.org/wiki/Talk:GRASS_GIS_Community_Sprint_Prague_2019#Also_discussed
https://github.com/OSGeo/grass/pull/333#issuecomment-584859963
https://lists.osgeo.org/pipermail/grass-dev/2020-April/094340.html
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user