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

Hernán De Angelis dhdeangelis at comhem.se
Sat Sep 22 05:50:10 PDT 2018


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 <wxpython> 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 
<module>
     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 <module>
     from lmgr.layertree import LayerTree, LMIcons
   File "/usr/local/grass-7.7.svn/gui/wxpython/lmgr/layertree.py", line 
38, in <module>
     from mapdisp.frame import MapFrame
   File "/usr/local/grass-7.7.svn/gui/wxpython/mapdisp/frame.py", line 
33, in <module>
     from mapdisp.toolbars import MapToolbar, NvizIcons
   File "/usr/local/grass-7.7.svn/gui/wxpython/mapdisp/toolbars.py", 
line 22, in <module>
     from nviz.main import haveNviz
   File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/main.py", line 24, 
in <module>
     from nviz import mapwindow
   File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/mapwindow.py", line 
42, in <module>
     from nviz.workspace import NvizSettings
   File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/workspace.py", line 
24, in <module>
     from nviz import wxnviz
   File "/usr/local/grass-7.7.svn/gui/wxpython/nviz/wxnviz.py", line 51, 
in <module>
     from grass.lib.gis import *
   File "/usr/local/grass-7.7.svn/etc/python/grass/lib/gis.py", line 
988, in <module>
     G_asprintf = _variadic_function(_func,_restype,_argtypes)
TypeError: __init__() takes exactly 5 arguments (4 given)



More information about the grass-user mailing list