Re: [GRASS-user] [GRASS-dev] experimental Python 3 support in trunk

2018-09-03 Thread Martin Landa
Hi, po 3. 9. 2018 v 20:47 odesílatel Markus Neteler napsal: my first attempt to start GRASS fails with: (grasspy3) martin@debian:~/src/grass7_trunk$ ./bin.x86_64-pc-linux-gnu/grass77 -text Traceback (most recent call last): File "./bin.x86_64-pc-linux-gnu/grass77", line 2162, in main()

Re: [GRASS-user] experimental Python 3 support in trunk

2018-09-03 Thread Markus Neteler
On Mon, Sep 3, 2018 at 3:48 PM Anna Petrášová wrote: > On Mon, Sep 3, 2018 at 2:28 AM Markus Neteler wrote: ... >> Could you please post a few lines how to properly do the testing with >> virtualenv? > > https://trac.osgeo.org/grass/wiki/Python3Support#Howtotest Thanks. I took liberty to expand

Re: [GRASS-user] experimental Python 3 support in trunk

2018-09-03 Thread Rich Shepard
On Mon, 3 Sep 2018, Anna Petrášová wrote: https://trac.osgeo.org/grass/wiki/Python3Support#Howtotest Anna, I don't use virtualenvs because my projects are small and often single-project-specific. Installed here are these python3 packages: python3-3.6.5-i586-1_SBo

Re: [GRASS-user] experimental Python 3 support in trunk

2018-09-03 Thread Rich Shepard
On Mon, 3 Sep 2018, Anna Petrášová wrote: https://trac.osgeo.org/grass/wiki/Python3Support#Howtotest also, we have now new small dependency - Python 'six' package Anna, On my Slackware-14.2 systems I have both six (for Python2) and python3-six installed. Rich

Re: [GRASS-user] [GRASS-dev] experimental Python 3 support in trunk

2018-09-03 Thread Martin Landa
Hi, po 3. 9. 2018 v 15:48 odesílatel Anna Petrášová napsal: >> > I committed the experimental support of Python 3 to trunk (grass77) by >> > Sanjeet (GSoC 2018). great, thanks for hard work! Python3 support will be crucial for GRASS in a near feature. Will help with testing. Martin -- Martin

Re: [GRASS-user] issue with grass_session on MacOSX: Cannot find GRASS GIS start script

2018-09-03 Thread Jón Eiríksson
Hi again, - replace the python script with the following (apologies version confusion): #!/usr/bin/env python #-*- coding:utf-8 -*- from grass.script import core as grass from grass.script import db as grass from grass_session import Session from grass.script import core as gcore # create a

Re: [GRASS-user] issue with grass_session on MacOSX: Cannot find GRASS GIS start script

2018-09-03 Thread Jón Eiríksson
Hi, I do not know if this is helpful, but the following worked, - after being confronted with the same error message: [1] See: https://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly#Important_notes [2] The following worked for me with Michael Bartons 7.3

[GRASS-user] issue with grass_session on MacOSX: Cannot find GRASS GIS start script

2018-09-03 Thread Moritz Lennert
Hi, A student has been confronted with the following error trying to use grass_session on Mac: ** from grass_session import Session GRASSBIN: /Applications/GRASS-$GRASS_MMVER.app/Contents/MacOS cmd: /Applications/GRASS-$GRASS_MMVER.app/Contents/MacOS --config path out:

Re: [GRASS-user] experimental Python 3 support in trunk

2018-09-03 Thread Anna Petrášová
On Mon, Sep 3, 2018 at 2:28 AM Markus Neteler wrote: > On Mon, Sep 3, 2018 at 4:21 AM Anna Petrášová > wrote: > > > > Hi, > > > > I committed the experimental support of Python 3 to trunk (grass77) by > Sanjeet (GSoC 2018). > > This is excellent, thanks for much for your hard work, Sanjeet,

Re: [GRASS-user] experimental Python 3 support in trunk

2018-09-03 Thread Rich Shepard
On Sun, 2 Sep 2018, Anna Petrášová wrote: I committed the experimental support of Python 3 to trunk (grass77) by Sanjeet (GSoC 2018). In the first stage of testing, we need to make sure GRASS can compile and run with Python 2 without problems. Python 3 support is highly experimental, we are

Re: [GRASS-user] Understanding Raster Map Input Files

2018-09-03 Thread Pedro Venâncio
Hi Vidura, Just like Moritz said, you need to start by the basics about GRASS. That said, it is better to create new raster layers than change the existing ones. To test other wind speed and direction, moisture, etc, just create new rasters with r.mapcalc

Re: [GRASS-user] [GRASS-dev] experimental Python 3 support in trunk

2018-09-03 Thread Moritz Lennert
Le Mon, 3 Sep 2018 08:27:53 +0200, Markus Neteler a écrit : > On Mon, Sep 3, 2018 at 4:21 AM Anna Petrášová > wrote: > > > > Hi, > > > > I committed the experimental support of Python 3 to trunk (grass77) > > by Sanjeet (GSoC 2018). > > This is excellent, thanks for much for your hard work,

Re: [GRASS-user] experimental Python 3 support in trunk

2018-09-03 Thread Markus Neteler
On Mon, Sep 3, 2018 at 4:21 AM Anna Petrášová wrote: > > Hi, > > I committed the experimental support of Python 3 to trunk (grass77) by > Sanjeet (GSoC 2018). This is excellent, thanks for much for your hard work, Sanjeet, Anna and all involved! > In the first stage of testing, we need to make