[GRASS-user] GUI fails to launch in GRASS 7.2 on fedora24

Salim Al Razzaz salim.razzaz at gmail.com
Mon Dec 5 12:51:03 PST 2016


Hi list,

I compiled GRASS 7.2 (tried both the svn and RC2) on my fedora 24 machine. Directly
after the location/mapset wizard, I get the error below when the GUI fails to launch.
Is there a workaround anyone aware of?


Launching <wxpython> GUI in the background, please wait...
GRASS 7.2.0svn (workshop):~/programs/grass-7.2.svn_src_snapshot_2016_12_03 >
Traceback (most recent call last):
  File "/usr/local/grass-7.2.0svn/gui/wxpython/wxgui.py", line 158, in <module>
    sys.exit(main())
  File "/usr/local/grass-7.2.0svn/gui/wxpython/wxgui.py", line 145, in main
    app = GMApp(workspaceFile)
  File "/usr/local/grass-7.2.0svn/gui/wxpython/wxgui.py", line 48, in __init__
    wx.App.__init__(self, False)
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py", line 8628, in
__init__
    self._BootstrapApp()
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py", line 8196, in
_BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/grass-7.2.0svn/gui/wxpython/wxgui.py", line 92, in OnInit
    workspace=self.workspaceFile)
  File "/usr/local/grass-7.2.0svn/gui/wxpython/lmgr/frame.py", line 146, in __init__
    'tools': LMToolsToolbar(parent=self),
  File "/usr/local/grass-7.2.0svn/gui/wxpython/lmgr/toolbars.py", line 143, in __init__
    self.InitToolbar(self._toolbarData())
  File "/usr/local/grass-7.2.0svn/gui/wxpython/lmgr/toolbars.py", line 183, in
_toolbarData
    self.parent.pyshell.OnSimpleEditor),
AttributeError: 'NoneType' object has no attribute 'OnSimpleEditor'
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
PyAssertionError: C++ assertion "GetEventHandler() == this" failed at
./src/common/wincmn.cpp(478) in ~wxWindowBase(): any pushed event handlers must have
been removed
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
wx._core.PyAssertionError: C++ assertion "GetEventHandler() == this" failed at
./src/common/wincmn.cpp(478) in ~wxWindowBase(): any pushed event handlers must have
been removed

Salim



More information about the grass-user mailing list