Re: [GRASS-dev] [GRASS GIS] #3723: winGRASS7.7.svn - core.py - python 3 issues (was: winGRASS7.7.svn - python 3 issues)

2019-01-01 Thread GRASS GIS
#3723: winGRASS7.7.svn - core.py - python 3 issues
--+
  Reporter:  hellik   |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  blocker  |  Milestone:  7.8.0
 Component:  Python   |Version:  svn-trunk
Resolution:   |   Keywords:  python3, py3, wingrass
   CPU:  Unspecified  |   Platform:  MSWindows
--+
Changes (by hellik):

 * priority:  normal => blocker
 * milestone:   => 7.8.0


-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3722: migrate grass svn repositories to git

2019-01-01 Thread GRASS GIS
#3722: migrate grass svn repositories to git
--+-
  Reporter:  martinl  |  Owner:  grass-dev@…
  Type:  task | Status:  new
  Priority:  major|  Milestone:
 Component:  Default  |Version:  unspecified
Resolution:   |   Keywords:  svn, git, migration
   CPU:  Unspecified  |   Platform:  Unspecified
--+-

Comment (by martinl):

 Replying to [comment:2 martinl]:
 > Replying to [comment:1 martinl]:
 > > * choice of issue tracker
 > > 1. stay with trac
 >
 > see https://trac.osgeo.org/osgeo/ticket/2233

 first test with trac and git at

 http://geo102.fsv.cvut.cz:8091/grass

 more specific

 http://geo102.fsv.cvut.cz:8091/grass/browser/grass

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3723: winGRASS7.7.svn - python 3 issues

2019-01-01 Thread GRASS GIS
#3723: winGRASS7.7.svn - python 3 issues
--+
  Reporter:  hellik   |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:
 Component:  Python   |Version:  svn-trunk
Resolution:   |   Keywords:  python3, py3, wingrass
   CPU:  Unspecified  |   Platform:  MSWindows
--+

Comment (by hellik):

 Replying to [comment:1 hellik]:
 > Replying to [ticket:3723 hellik]:
 > > from os import environb as environ
 > > ImportError: cannot import name 'environb' from 'os'
 (C:\OSGEO4~1\apps\Python37\lib\os.py)
 > > }}}
 >
 > regarding the environb issue, see
 >
 > https://docs.python.org/3/library/os.html
 >
 > {{{
 >  os.environb¶
 >
 > Bytes version of environ: a mapping object representing the
 environment as byte strings. environ and environb are synchronized (modify
 environb updates environ, and vice versa).
 >
 > environb is only available if supports_bytes_environ is True.
 > }}}
 >
 > https://docs.python.org/3/library/os.html#os.supports_bytes_environ
 >
 > {{{
 >  os.supports_bytes_environ
 >
 > True if the native OS type of the environment is bytes (eg. False on
 Windows).
 > }}}
 >
 > it seems this isn't available in windows
 >

 see (GRASS related):

 https://stackoverflow.com/questions/52269281/fix-import-error-on-using-
 environb-in-python#

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3719: prepare OSGeo4W environment for winGRASS 7.8 with python 3

2019-01-01 Thread GRASS GIS
#3719: prepare OSGeo4W environment for winGRASS 7.8 with python 3
--+--
  Reporter:  hellik   |  Owner:  grass-dev@…
  Type:  enhancement  | Status:  new
  Priority:  critical |  Milestone:  7.8.0
 Component:  Python   |Version:  svn-trunk
Resolution:   |   Keywords:  python3, py3
   CPU:  All  |   Platform:  MSWindows
--+--

Comment (by hellik):

 Replying to [comment:25 martinl]:
 > let's close ticket when wingrass daily builds (osgeo4w and standalone)
 will be functional.

 see #3723 for first detected python3 issues in winGRASS

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3723: winGRASS7.7.svn - python 3 issues

2019-01-01 Thread GRASS GIS
#3723: winGRASS7.7.svn - python 3 issues
--+
  Reporter:  hellik   |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:
 Component:  Python   |Version:  svn-trunk
Resolution:   |   Keywords:  python3, py3, wingrass
   CPU:  Unspecified  |   Platform:  MSWindows
--+

Comment (by hellik):

 Replying to [ticket:3723 hellik]:
 > from os import environb as environ
 > ImportError: cannot import name 'environb' from 'os'
 (C:\OSGEO4~1\apps\Python37\lib\os.py)
 > }}}

 regarding the environb issue, see

 https://docs.python.org/3/library/os.html

 {{{
  os.environb¶

 Bytes version of environ: a mapping object representing the
 environment as byte strings. environ and environb are synchronized (modify
 environb updates environ, and vice versa).

 environb is only available if supports_bytes_environ is True.
 }}}

 https://docs.python.org/3/library/os.html#os.supports_bytes_environ

 {{{
  os.supports_bytes_environ

 True if the native OS type of the environment is bytes (eg. False on
 Windows).
 }}}

 it seems this isn't available in windows

-- 
Ticket URL: 
GRASS GIS 

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

[GRASS-dev] [GRASS GIS] #3723: winGRASS7.7.svn - python 3 issues

2019-01-01 Thread GRASS GIS
#3723: winGRASS7.7.svn - python 3 issues
+-
 Reporter:  hellik  |  Owner:  grass-dev@…
 Type:  defect  | Status:  new
 Priority:  normal  |  Milestone:
Component:  Python  |Version:  svn-trunk
 Keywords:  python3, py3, wingrass  |CPU:  Unspecified
 Platform:  MSWindows   |
+-
 tested with a self compiled winGRASS7.7.svn with python 3

 {{{
 C:\>g.version -e -g
 version=7.7.svn
 date=2019
 revision=r73896M
 build_date=2019-01-01
 build_platform=x86_64-w64-mingw32
 build_off_t_size=8
 proj4=5.2.0
 gdal=2.4.0
 geos=3.7.0
 sqlite=3.26.0
 }}}

 {{{
 C:\>grass77svn --text
 Starting GRASS GIS...
 WARNING: Concurrent mapset locking is not supported on Windows
 Cleaning up temporary files...

   __  ___   _____
  / / __ \/   | / ___/ ___/   / /  _/ ___/
 / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
/ /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
\/_/ |_/_/  |_///   \/___///

 Welcome to GRASS GIS 7.7.svn (r73896M)
 GRASS GIS homepage:  https://grass.osgeo.org
 This version running through:Command Prompt
 (C:\WINDOWS\system32\cmd.exe)
 Help is available with the command:  g.manual -i
 See the licence terms with:  g.version -c
 See citation options with:   g.version -x
 Start the GUI with:  g.gui wxpython
 When ready to quit enter:exit

 Microsoft Windows [Version 10.0.17763.195]
 (c) 2018 Microsoft Corporation. Alle Rechte vorbehalten.

 C:\>python
 Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit
 (AMD64)] on win32
 Type "help", "copyright", "credits" or "license" for more information.
 >>> exit()
 }}}

 then g.gui wxpython errors in

 {{{
 C:\>g.gui wxpython
 Launching  GUI in the background, please wait...
 Traceback (most recent call last):
   File
 "C:\OSGEO4~1\apps\grass\grass-7.7.svn\etc\python\grass\script\core.py",
 line 41, in 
 import __builtin__
 ModuleNotFoundError: No module named '__builtin__'

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "C:\OSGEO4~1\apps\grass\grass-7.7.svn/gui/wxpython/wxgui.py", line
 27, in 
 from core import globalvar
   File
 "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\core\globalvar.py",
 line 31, in 
 from core.debug import Debug
   File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\core\debug.py",
 line 25, in 
 import grass.script as grass
   File
 "C:\OSGEO4~1\apps\grass\grass-7.7.svn\etc\python\grass\script\__init__.py",
 line 5, in 
 from .core   import *
   File
 "C:\OSGEO4~1\apps\grass\grass-7.7.svn\etc\python\grass\script\core.py",
 line 47, in 
 from os import environb as environ
 ImportError: cannot import name 'environb' from 'os'
 (C:\OSGEO4~1\apps\Python37\lib\os.py)
 }}}

 it seems that core.py hangs around

 {{{
 try:
 # python2
 import __builtin__
 from os import environ
 __builtin__.__dict__['_'] =
 __builtin__.__dict__['_'].__self__.ugettext
 except ImportError:
 # python3
 import builtins as __builtin__
 from os import environb as environ
 unicode = str
 __builtin__.__dict__['_'] = __builtin__.__dict__['_'].__self__.gettext
 }}}

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3719: prepare OSGeo4W environment for winGRASS 7.8 with python 3

2019-01-01 Thread GRASS GIS
#3719: prepare OSGeo4W environment for winGRASS 7.8 with python 3
--+--
  Reporter:  hellik   |  Owner:  grass-dev@…
  Type:  enhancement  | Status:  new
  Priority:  critical |  Milestone:  7.8.0
 Component:  Python   |Version:  svn-trunk
Resolution:   |   Keywords:  python3, py3
   CPU:  All  |   Platform:  MSWindows
--+--

Comment (by martinl):

 let's close ticket when wingrass daily builds (osgeo4w and standalone)
 will be functional.

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3719: prepare OSGeo4W environment for winGRASS 7.8 with python 3

2019-01-01 Thread GRASS GIS
#3719: prepare OSGeo4W environment for winGRASS 7.8 with python 3
--+--
  Reporter:  hellik   |  Owner:  grass-dev@…
  Type:  enhancement  | Status:  new
  Priority:  critical |  Milestone:  7.8.0
 Component:  Python   |Version:  svn-trunk
Resolution:   |   Keywords:  python3, py3
   CPU:  All  |   Platform:  MSWindows
--+--

Comment (by hellik):

 Replying to [comment:23 martinl]:
 > Replying to [comment:21 martinl]:
 > > there is a new issue: `python3-wx` package must be updated (current
 version refers to Python
 >
 > done, new version (4.0.3-2) uploaded.

 thanks.

 locally tested compilation of winGRASS with python 3 support. compilation
 seems to work.

 should we close the ticket then? for python 3 issues of winGRASS itself,
 another ticket should be opened.

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3718: wingrass: include also unversioned libraries

2019-01-01 Thread GRASS GIS
#3718: wingrass: include also unversioned libraries
--+---
  Reporter:  martinl  |  Owner:  martinl
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  7.4.4
 Component:  Packaging|Version:  svn-trunk
Resolution:   |   Keywords:  wingrass
   CPU:  Unspecified  |   Platform:  MSWindows
--+---

Comment (by hellik):

 Replying to [comment:7 martinl]:
 > See related discussion, https://lists.osgeo.org/pipermail/grass-
 dev/2018-December/090823.html

 around 7 years ago there was a thread about versioned/unversioned
 dlls/libs in winGRASS, see

 https://lists.osgeo.org/pipermail/grass-dev/2010-June/050757.html

 see mails before and after.

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3718: wingrass: include also unversioned libraries

2019-01-01 Thread GRASS GIS
#3718: wingrass: include also unversioned libraries
--+---
  Reporter:  martinl  |  Owner:  martinl
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  7.4.4
 Component:  Packaging|Version:  svn-trunk
Resolution:   |   Keywords:  wingrass
   CPU:  Unspecified  |   Platform:  MSWindows
--+---

Comment (by martinl):

 See related discussion, https://lists.osgeo.org/pipermail/grass-
 dev/2018-December/090823.html

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3718: wingrass: include also unversioned libraries

2019-01-01 Thread GRASS GIS
#3718: wingrass: include also unversioned libraries
--+---
  Reporter:  martinl  |  Owner:  martinl
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  7.4.4
 Component:  Packaging|Version:  svn-trunk
Resolution:   |   Keywords:  wingrass
   CPU:  Unspecified  |   Platform:  MSWindows
--+---

Comment (by martinl):

 Replying to [comment:5 neteler]:
 > May I release or is anything still open here?

 yes, still open.

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [release planning] GRASS GIS 7.4.4 - as a "friendship release" for QGIS

2019-01-01 Thread Markus Neteler
Happy New Year to all!

On Sat, Dec 29, 2018 at 11:20 PM Markus Neteler  wrote:
> On Sat, Dec 29, 2018 at 4:15 PM Martin Landa  wrote:
> > so 29. 12. 2018 v 11:26 odesílatel Helmut Kudrnovsky  napsal:
> > > >The question is: do we need a RC cycle or can we release this time
> > > >straight?
> > >
> > > as time is very short, not sure if RC 1 will be tested.
> > >
> > > I'm in favour to release straight.
> >
> > same here, but probably after [1]. It will take few days. Ma
> >
> > [1] https://trac.osgeo.org/grass/ticket/3718

May we release?

> Here the changes so far:
>
>  @73871   2 days  neteler i.atcorr manual: fix sat 
> numbering
> @73869   2 days neteler v.vol.rst: fix user
> warning as cellout is undefined here (trunk r73867)
> @73854   3 days neteler bulk fixing of typos
> in comments (using tools/fix_typos.sh)
> @73845   4 days neteler avoid C++ style comments in C
> @73842   4 days neteler grass.py: minor
> comment and msg fixes; trailing white space removed …
> @73839   4 days martinl wingrass: switch to
> GDAL 2.4.0 in OSGeo4W (g74: merge r73833 and …
> @73825   7 days mmetz v.distance: improve
> iterative search, fix for dmax (backport trunk r73823)
> @73822   8 days mmetz v.distance: speed
> improvement for small dmax (backport trunk r73820)
> @73819   9 days mmetz v.out.ogr: fix #3714,
> segfault with -n (backport trunk r73817)
> @73809   2 weeks hellik d.rast.edit: add
> wxGUI.rdigit reference to manual
> @73804   2 weeks neteler r.mapcalc.simple: added from …
> @73795   3 weeks martinl i.segment: fix r73512
> writing out segment ids (merge …
> @73780   3 weeks neteler r.in.wms: added missing
> .tif extension needed by gdalwarp (GDAL 2.3+), …
> @73761   4 weeks neteler i18N: msg fixes (trunk,
> r73754, r73755, r73757, r73758, r73759)
> @73750   4 weeks martinl grass.py: fix
> inconsistent indentation
> @73744   4 weeks annakrat r.in.lidar man page typo
> (merge from trunk, r73742)
> @73737   4 weeks neteler i18N: sync from Transifex …
> @73717   5 weeks neteler doc/howto_release.txt: minor 
> update
>
> Details:
> https://trac.osgeo.org/grass/changeset?reponame==73871%40grass%2Fbranches%2Freleasebranch_7_4=73714%40grass%2Fbranches%2Freleasebranch_7_4

Sorry, this way around:

https://trac.osgeo.org/grass/changeset?reponame==73714%40grass%2Fbranches%2Freleasebranch_7_4=73871%40grass%2Fbranches%2Freleasebranch_7_4

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

Re: [GRASS-dev] [GRASS GIS] #3718: wingrass: include also unversioned libraries

2019-01-01 Thread GRASS GIS
#3718: wingrass: include also unversioned libraries
--+---
  Reporter:  martinl  |  Owner:  martinl
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  7.4.4
 Component:  Packaging|Version:  svn-trunk
Resolution:   |   Keywords:  wingrass
   CPU:  Unspecified  |   Platform:  MSWindows
--+---

Comment (by neteler):

 May I release or is anything still open here?

-- 
Ticket URL: 
GRASS GIS 

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