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

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

On Mon, Dec 5, 2016 at 9:51 PM, Salim Al Razzaz <salim.razzaz@gmail.com> wrote:

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?

I have Fedora 24 as well and no such issue. A few things to check:

- wxGTK3-3.0.2-30.fc24.x86_64 is the package installed here
- my entire F24 is up to date
- I also updated and recompiled 7.2.svn

Do you also have everything up to date?

Markus

On 12/05/2016 11:47 PM, Markus Neteler wrote:

On Mon, Dec 5, 2016 at 9:51 PM, Salim Al Razzaz <salim.razzaz@gmail.com> wrote:

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?

I have Fedora 24 as well and no such issue. A few things to check:

- wxGTK3-3.0.2-30.fc24.x86_64 is the package installed here
- my entire F24 is up to date
- I also updated and recompiled 7.2.svn

Do you also have everything up to date?

Markus

Hi Markus,

I also have wxGTK3-3.0.2-30.fc24.x86_64 and the system is up to date (xfce spin
however). I have updated my svn copy and recompiled several times the last few day
and the problem is persistent.
Could it be because I recompiled before removing Fedora's repo GRASS 7.0.4?
Otherwise, I will know that something is wrong with my system.

Thank you very much

Salim

On Tue, Dec 6, 2016 at 1:23 PM, Salim Al Razzaz <salim.razzaz@gmail.com> wrote:

On 12/05/2016 11:47 PM, Markus Neteler wrote:

On Mon, Dec 5, 2016 at 9:51 PM, Salim Al Razzaz <salim.razzaz@gmail.com> wrote:

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?

I have Fedora 24 as well and no such issue. A few things to check:

- wxGTK3-3.0.2-30.fc24.x86_64 is the package installed here
- my entire F24 is up to date
- I also updated and recompiled 7.2.svn

Do you also have everything up to date?

Markus

Hi Markus,

I also have wxGTK3-3.0.2-30.fc24.x86_64 and the system is up to date (xfce spin
however). I have updated my svn copy and recompiled several times the last few day
and the problem is persistent.
Could it be because I recompiled before removing Fedora's repo GRASS 7.0.4?
Otherwise, I will know that something is wrong with my system.

Thank you very much

I just fixed it, it was because you have hidden Python shell in gui
settings and the new Python editor was expecting it. If you download
latest trunk or 7.2, it will work.

Anna

Salim
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On 12/06/2016 07:53 PM, Anna Petrášová wrote:

On Tue, Dec 6, 2016 at 1:23 PM, Salim Al Razzaz <salim.razzaz@gmail.com> wrote:

On 12/05/2016 11:47 PM, Markus Neteler wrote:

On Mon, Dec 5, 2016 at 9:51 PM, Salim Al Razzaz <salim.razzaz@gmail.com> wrote:

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?

I have Fedora 24 as well and no such issue. A few things to check:

- wxGTK3-3.0.2-30.fc24.x86_64 is the package installed here
- my entire F24 is up to date
- I also updated and recompiled 7.2.svn

Do you also have everything up to date?

Markus

Hi Markus,

I also have wxGTK3-3.0.2-30.fc24.x86_64 and the system is up to date (xfce spin
however). I have updated my svn copy and recompiled several times the last few day
and the problem is persistent.
Could it be because I recompiled before removing Fedora's repo GRASS 7.0.4?
Otherwise, I will know that something is wrong with my system.

Thank you very much

I just fixed it, it was because you have hidden Python shell in gui
settings and the new Python editor was expecting it. If you download
latest trunk or 7.2, it will work.

Anna

Works like a charm. Thanks a lot

Salim