[GRASS-dev] [GRASS-SVN] r71332 - in grass/trunk/gui/wxpython: . core
Martin Landa
landa.martin at gmail.com
Tue Aug 8 06:03:52 PDT 2017
Hi,
2017-08-06 23:56 GMT+02:00 <svn_grass at 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
More information about the grass-dev
mailing list