Re: [GRASS-user] Updated trunk to grass77, GUI crashes at start: wxPython/wxWidgets release number mismatch

2018-09-23 Thread Martin Landa
Hi,

ne 23. 9. 2018 v 17:43 odesílatel Hernán De Angelis
 napsal:
> One question: how do I tell GRASS to use python 3, given that both Python 2 
> and 3 are present in the system? I tried using the configure option 
> "--with-python=/usr/bin/python3" but cannot tell if it worked.

https://trac.osgeo.org/grass/wiki/Python3Support#Howtotest

Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Updated trunk to grass77, GUI crashes at start: wxPython/wxWidgets release number mismatch

2018-09-23 Thread Hernán De Angelis

No worries, thanks for that, Anna.

One question: how do I tell GRASS to use python 3, given that both 
Python 2 and 3 are present in the system? I tried using the configure 
option "--with-python=/usr/bin/python3" but cannot tell if it worked.


H.

On 9/23/18 1:42 PM, Anna Petrášová wrote:

Hi,

trunk is now less 'stable' than usually since it contains experimental 
support for Python 3, but it means there can be new bugs even with 
Python 2 (it was announced on mailing lists). If you want more stable 
environment, please use grass 76, but I will also appreciate you 
testing trunk.


Anna

On Sat, Sep 22, 2018, 9:22 AM Hernán De Angelis > wrote:


Please forget the previous email. I solved the problem by building
wxwidgets from source and then reinstalling grass. All works as
expected
now.

/H.


On 9/22/18 2:50 PM, Hernán De Angelis wrote:
> Hi
>
> I have just updated trunk to grass77 (r73379) via SVN. After the
build
> the location selection window opens normally, then, after the
location
> is selected, the greeting window flashes normally but the GUI never
> starts. There are a lot of warning/errors (see below).
>
> I understand that wxwidgets and python may be the culprit. This
wasn't
> the case with my previous installation (grass75) although there
where
> lots of warnings with this. I have not touched wxwidgets or python
> since my previous grass install.
>
> Any hint on a solution will be appreciated.
>
> Thanks in advance.
>
> /H.
>
>
>
--

>
>
> GRASS 7.7.svn (NVtest):~/NV/grassdb > grass77
> Starting GRASS GIS...
> /usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629:
> UserWarning: wxPython/wxWidgets release number mismatch
>   warnings.warn("wxPython/wxWidgets release number mismatch")
> Cleaning up temporary files...
>
>
>   __  ___   __ ___
>  / / __ \/   | / ___/ ___/   / /  _/ ___/
>     / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
>    / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
>    \/_/ |_/_/  |_/// \/___///
>
> Welcome to GRASS GIS 7.7.svn (r72914)
> GRASS GIS homepage: http://grass.osgeo.org
> This version running through:    Bash Shell (/bin/bash)
> Help is available with the command:  g.manual -i
> See the licence terms with:  g.version -c
> See citation options with:   g.version -x
> If required, restart the GUI with:   g.gui wxpython
> When ready to quit enter:    exit
>
> Launching  GUI in the background, please wait...
> GRASS 7.7.svn (NVtest):~/NV/grassdb >
> /usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629:
> UserWarning: wxPython/wxWidgets release number mismatch
>   warnings.warn("wxPython/wxWidgets release number mismatch")
> Traceback (most recent call last):
>   File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line
169, in
> 
>     sys.exit(main())
>   File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line
156, in
> main
>     app = GMApp(workspaceFile)
>   File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line
50, in
> __init__
>     wx.App.__init__(self, False)
>   File
"/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py",
> line 8628, in __init__
>     self._BootstrapApp()
>   File
"/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py",
> line 8196, in _BootstrapApp
>     return _core_.PyApp__BootstrapApp(*args, **kwargs)
>   File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line
101, in
> OnInit
>     from lmgr.frame import GMFrame
>   File "/usr/local/grass-7.7.svn/gui/wxpython/lmgr/frame.py",
line 51,
> in 
>     from lmgr.layertree import LayerTree, LMIcons
>   File
"/usr/local/grass-7.7.svn/gui/wxpython/lmgr/layertree.py", line
> 38, in 
>     from mapdisp.frame import MapFrame
>   File "/usr/local/grass-7.7.svn/gui/wxpython/mapdisp/frame.py",
line
> 33, in 
>     from mapdisp.toolbars import MapToolbar, NvizIcons
>   File "/usr/local/grass-7.7.svn/gui/wxpython/mapdisp/toolbars.py",
> line 22, in 
>     from nviz.main import haveNviz
>   File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/main.py",
line 24,
> in 
>     from nviz import mapwindow
>   File
"/usr/local/grass-7.7.svn/gui/wxpython/nviz/mapwindow.py", line
> 42, in 
>     from nviz.workspace import NvizSettings
>   File
"/usr/local/grass-7.7.svn/gui/wxpython/nviz/workspace.py", line
> 24, in 
>     from nviz import wxnviz
>   File 

Re: [GRASS-user] Updated trunk to grass77, GUI crashes at start: wxPython/wxWidgets release number mismatch

2018-09-23 Thread Anna Petrášová
Hi,

trunk is now less 'stable' than usually since it contains experimental
support for Python 3, but it means there can be new bugs even with Python 2
(it was announced on mailing lists). If you want more stable environment,
please use grass 76, but I will also appreciate you testing trunk.

Anna

On Sat, Sep 22, 2018, 9:22 AM Hernán De Angelis 
wrote:

> Please forget the previous email. I solved the problem by building
> wxwidgets from source and then reinstalling grass. All works as expected
> now.
>
> /H.
>
>
> On 9/22/18 2:50 PM, Hernán De Angelis wrote:
> > Hi
> >
> > I have just updated trunk to grass77 (r73379) via SVN. After the build
> > the location selection window opens normally, then, after the location
> > is selected, the greeting window flashes normally but the GUI never
> > starts. There are a lot of warning/errors (see below).
> >
> > I understand that wxwidgets and python may be the culprit. This wasn't
> > the case with my previous installation (grass75) although there where
> > lots of warnings with this. I have not touched wxwidgets or python
> > since my previous grass install.
> >
> > Any hint on a solution will be appreciated.
> >
> > Thanks in advance.
> >
> > /H.
> >
> >
> >
> --
> >
> >
> > GRASS 7.7.svn (NVtest):~/NV/grassdb > grass77
> > Starting GRASS GIS...
> > /usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629:
> > UserWarning: wxPython/wxWidgets release number mismatch
> >   warnings.warn("wxPython/wxWidgets release number mismatch")
> > Cleaning up temporary files...
> >
> >
> >   __  ___   _____
> >  / / __ \/   | / ___/ ___/   / /  _/ ___/
> > / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
> >/ /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
> >\/_/ |_/_/  |_///   \/___///
> >
> > Welcome to GRASS GIS 7.7.svn (r72914)
> > GRASS GIS homepage:  http://grass.osgeo.org
> > This version running through:Bash Shell (/bin/bash)
> > Help is available with the command:  g.manual -i
> > See the licence terms with:  g.version -c
> > See citation options with:   g.version -x
> > If required, restart the GUI with:   g.gui wxpython
> > When ready to quit enter:exit
> >
> > Launching  GUI in the background, please wait...
> > GRASS 7.7.svn (NVtest):~/NV/grassdb >
> > /usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629:
> > UserWarning: wxPython/wxWidgets release number mismatch
> >   warnings.warn("wxPython/wxWidgets release number mismatch")
> > Traceback (most recent call last):
> >   File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line 169, in
> > 
> > sys.exit(main())
> >   File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line 156, in
> > main
> > app = GMApp(workspaceFile)
> >   File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line 50, in
> > __init__
> > wx.App.__init__(self, False)
> >   File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py",
> > line 8628, in __init__
> > self._BootstrapApp()
> >   File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py",
> > line 8196, in _BootstrapApp
> > return _core_.PyApp__BootstrapApp(*args, **kwargs)
> >   File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line 101, in
> > OnInit
> > from lmgr.frame import GMFrame
> >   File "/usr/local/grass-7.7.svn/gui/wxpython/lmgr/frame.py", line 51,
> > in 
> > from lmgr.layertree import LayerTree, LMIcons
> >   File "/usr/local/grass-7.7.svn/gui/wxpython/lmgr/layertree.py", line
> > 38, in 
> > from mapdisp.frame import MapFrame
> >   File "/usr/local/grass-7.7.svn/gui/wxpython/mapdisp/frame.py", line
> > 33, in 
> > from mapdisp.toolbars import MapToolbar, NvizIcons
> >   File "/usr/local/grass-7.7.svn/gui/wxpython/mapdisp/toolbars.py",
> > line 22, in 
> > from nviz.main import haveNviz
> >   File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/main.py", line 24,
> > in 
> > from nviz import mapwindow
> >   File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/mapwindow.py", line
> > 42, in 
> > from nviz.workspace import NvizSettings
> >   File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/workspace.py", line
> > 24, in 
> > from nviz import wxnviz
> >   File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/wxnviz.py", line
> > 51, in 
> > from grass.lib.gis import *
> >   File "/usr/local/grass-7.7.svn/etc/python/grass/lib/gis.py", line
> > 988, in 
> > G_asprintf = _variadic_function(_func,_restype,_argtypes)
> > TypeError: __init__() takes exactly 5 arguments (4 given)
> >
> > ___
> > grass-user mailing list
> > grass-user@lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-user
> ___
> grass-user mailing list
> 

Re: [GRASS-user] Updated trunk to grass77, GUI crashes at start: wxPython/wxWidgets release number mismatch

2018-09-22 Thread Hernán De Angelis
Please forget the previous email. I solved the problem by building 
wxwidgets from source and then reinstalling grass. All works as expected 
now.


/H.


On 9/22/18 2:50 PM, Hernán De Angelis wrote:

Hi

I have just updated trunk to grass77 (r73379) via SVN. After the build 
the location selection window opens normally, then, after the location 
is selected, the greeting window flashes normally but the GUI never 
starts. There are a lot of warning/errors (see below).


I understand that wxwidgets and python may be the culprit. This wasn't 
the case with my previous installation (grass75) although there where 
lots of warnings with this. I have not touched wxwidgets or python 
since my previous grass install.


Any hint on a solution will be appreciated.

Thanks in advance.

/H.


-- 



GRASS 7.7.svn (NVtest):~/NV/grassdb > grass77
Starting GRASS GIS...
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: 
UserWarning: wxPython/wxWidgets release number mismatch

  warnings.warn("wxPython/wxWidgets release number mismatch")
Cleaning up temporary files...


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

Welcome to GRASS GIS 7.7.svn (r72914)
GRASS GIS homepage:  http://grass.osgeo.org
This version running through:    Bash Shell (/bin/bash)
Help is available with the command:  g.manual -i
See the licence terms with:  g.version -c
See citation options with:   g.version -x
If required, restart the GUI with:   g.gui wxpython
When ready to quit enter:    exit

Launching  GUI in the background, please wait...
GRASS 7.7.svn (NVtest):~/NV/grassdb > 
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: 
UserWarning: wxPython/wxWidgets release number mismatch

  warnings.warn("wxPython/wxWidgets release number mismatch")
Traceback (most recent call last):
  File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line 169, in 


    sys.exit(main())
  File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line 156, in 
main

    app = GMApp(workspaceFile)
  File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line 50, in 
__init__

    wx.App.__init__(self, False)
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", 
line 8628, in __init__

    self._BootstrapApp()
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", 
line 8196, in _BootstrapApp

    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line 101, in 
OnInit

    from lmgr.frame import GMFrame
  File "/usr/local/grass-7.7.svn/gui/wxpython/lmgr/frame.py", line 51, 
in 

    from lmgr.layertree import LayerTree, LMIcons
  File "/usr/local/grass-7.7.svn/gui/wxpython/lmgr/layertree.py", line 
38, in 

    from mapdisp.frame import MapFrame
  File "/usr/local/grass-7.7.svn/gui/wxpython/mapdisp/frame.py", line 
33, in 

    from mapdisp.toolbars import MapToolbar, NvizIcons
  File "/usr/local/grass-7.7.svn/gui/wxpython/mapdisp/toolbars.py", 
line 22, in 

    from nviz.main import haveNviz
  File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/main.py", line 24, 
in 

    from nviz import mapwindow
  File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/mapwindow.py", line 
42, in 

    from nviz.workspace import NvizSettings
  File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/workspace.py", line 
24, in 

    from nviz import wxnviz
  File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/wxnviz.py", line 
51, in 

    from grass.lib.gis import *
  File "/usr/local/grass-7.7.svn/etc/python/grass/lib/gis.py", line 
988, in 

    G_asprintf = _variadic_function(_func,_restype,_argtypes)
TypeError: __init__() takes exactly 5 arguments (4 given)

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

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

[GRASS-user] Updated trunk to grass77, GUI crashes at start: wxPython/wxWidgets release number mismatch

2018-09-22 Thread Hernán De Angelis

Hi

I have just updated trunk to grass77 (r73379) via SVN. After the build 
the location selection window opens normally, then, after the location 
is selected, the greeting window flashes normally but the GUI never 
starts. There are a lot of warning/errors (see below).


I understand that wxwidgets and python may be the culprit. This wasn't 
the case with my previous installation (grass75) although there where 
lots of warnings with this. I have not touched wxwidgets or python since 
my previous grass install.


Any hint on a solution will be appreciated.

Thanks in advance.

/H.


--

GRASS 7.7.svn (NVtest):~/NV/grassdb > grass77
Starting GRASS GIS...
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: 
UserWarning: wxPython/wxWidgets release number mismatch

  warnings.warn("wxPython/wxWidgets release number mismatch")
Cleaning up temporary files...


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

Welcome to GRASS GIS 7.7.svn (r72914)
GRASS GIS homepage:  http://grass.osgeo.org
This version running through:    Bash Shell (/bin/bash)
Help is available with the command:  g.manual -i
See the licence terms with:  g.version -c
See citation options with:   g.version -x
If required, restart the GUI with:   g.gui wxpython
When ready to quit enter:    exit

Launching  GUI in the background, please wait...
GRASS 7.7.svn (NVtest):~/NV/grassdb > 
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: 
UserWarning: wxPython/wxWidgets release number mismatch

  warnings.warn("wxPython/wxWidgets release number mismatch")
Traceback (most recent call last):
  File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line 169, in 


    sys.exit(main())
  File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line 156, in main
    app = GMApp(workspaceFile)
  File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line 50, in 
__init__

    wx.App.__init__(self, False)
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", 
line 8628, in __init__

    self._BootstrapApp()
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", 
line 8196, in _BootstrapApp

    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line 101, in 
OnInit

    from lmgr.frame import GMFrame
  File "/usr/local/grass-7.7.svn/gui/wxpython/lmgr/frame.py", line 51, 
in 

    from lmgr.layertree import LayerTree, LMIcons
  File "/usr/local/grass-7.7.svn/gui/wxpython/lmgr/layertree.py", line 
38, in 

    from mapdisp.frame import MapFrame
  File "/usr/local/grass-7.7.svn/gui/wxpython/mapdisp/frame.py", line 
33, in 

    from mapdisp.toolbars import MapToolbar, NvizIcons
  File "/usr/local/grass-7.7.svn/gui/wxpython/mapdisp/toolbars.py", 
line 22, in 

    from nviz.main import haveNviz
  File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/main.py", line 24, 
in 

    from nviz import mapwindow
  File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/mapwindow.py", line 
42, in 

    from nviz.workspace import NvizSettings
  File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/workspace.py", line 
24, in 

    from nviz import wxnviz
  File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/wxnviz.py", line 51, 
in 

    from grass.lib.gis import *
  File "/usr/local/grass-7.7.svn/etc/python/grass/lib/gis.py", line 
988, in 

    G_asprintf = _variadic_function(_func,_restype,_argtypes)
TypeError: __init__() takes exactly 5 arguments (4 given)

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