#2538: wxgui: doesn't start, throws ImportError: cannot import name TYPE_AREA
---------------------------+------------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone:
Component: wxGUI | Version: svn-trunk
Keywords: wxGUI startup | Platform: Unspecified
Cpu: Unspecified |
---------------------------+------------------------------------------------
In trunk, launching g.gui in a terminal to start the wxgui, I get
{{{
Traceback (most recent call last):
File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-unknown-
linux-gnu/gui/wxpython/wxgui.py", line 37, in <module>
from lmgr.frame import GMFrame
File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-unknown-
linux-gnu/gui/wxpython/lmgr/frame.py", line 50, in <module>
from lmgr.layertree import LayerTree, LMIcons
File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-unknown-
linux-gnu/gui/wxpython/lmgr/layertree.py", line 37, in <module>
from mapdisp.frame import MapFrame
File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-unknown-
linux-gnu/gui/wxpython/mapdisp/frame.py", line 34, in <module>
from vdigit.toolbars import VDigitToolbar
File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-unknown-
linux-gnu/gui/wxpython/vdigit/toolbars.py", line 30, in <module>
from iclass.digit import IClassVDigit
File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-unknown-
linux-gnu/gui/wxpython/iclass/digit.py", line 23, in <module>
from vdigit.wxdisplay import DisplayDriver, TYPE_AREA
ImportError: cannot import name TYPE_AREA
}}}
The weird thing is that in grass7release everything works, and I don't
have the feeling that anything has changed recently in the relevant wxgui
files.
* status: new => closed
* resolution: => worksforme
Comment:
Replying to [comment:2 mlennert]:
> Replying to [comment:1 annakrat]:
> > I have no problems, have you tried make distclean?
>
> Yes. I'll try with a completely fresh svn checkout, though, just to make
sure.
Ok. Don't know what happened to my source tree, but with a fresh checkout
I can start the GUI again. False alarm. Sorry for the noise.