Thanks for catching this, could you please revert it, I can't do it now. I
will look at it later.

On Aug 8, 2017 9:03 AM, "Martin Landa" <landa.mar...@gmail.com> wrote:

Hi,

2017-08-06 23:56 GMT+02:00  <svn_gr...@osgeo.org>:
> Author: annakrat
> Date: 2017-08-06 14:56:32 -0700 (Sun, 06 Aug 2017)
> New Revision: 71332
>
> Modified:
>    grass/trunk/gui/wxpython/core/globalvar.py
>    grass/trunk/gui/wxpython/wxgui.py
> Log:
> wxGUI: fix launching with Phoenix on Mac (splash screen), more robust
version parsing

this commit causes GUI crash on my PC (Debian unstable, python 2.7,
wxpython 3.0.2)

Traceback (most recent call last):
  File "/var/local/src/grass_trunk/dist.x86_64-pc-linux-gnu/gui/
wxpython/wxgui.py",
line 167, in <module>
    sys.exit(main())
  File "/var/local/src/grass_trunk/dist.x86_64-pc-linux-gnu/gui/
wxpython/wxgui.py",
line 154, in main
    app = GMApp(workspaceFile)
  File "/var/local/src/grass_trunk/dist.x86_64-pc-linux-gnu/gui/
wxpython/wxgui.py",
line 48, in __init__
    wx.App.__init__(self, False)
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py",
line 8628, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py",
line 8196, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/var/local/src/grass_trunk/dist.x86_64-pc-linux-gnu/gui/
wxpython/wxgui.py",
line 62, in OnInit
    introImage = wx.Image(introImagePath, wx.BITMAP_TYPE_PNG)
UnboundLocalError: local variable 'wx' referenced before assignment

Any idea? Ma

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

Reply via email to