Opened 10 years ago

Closed 10 years ago

#2538 closed defect (worksforme)

wxgui: doesn't start, throws ImportError: cannot import name TYPE_AREA

Reported by: mlennert Owned by: grass-dev@…
Priority: critical Milestone:
Component: wxGUI Version: svn-trunk
Keywords: wxGUI startup Cc:
CPU: Unspecified Platform: Unspecified

Description

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.

Any explanation ?

Moritz

Change History (3)

comment:1 by annakrat, 10 years ago

I have no problems, have you tried make distclean?

in reply to:  1 ; comment:2 by mlennert, 10 years ago

Replying to 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.

in reply to:  2 comment:3 by mlennert, 10 years ago

Resolution: worksforme
Status: newclosed

Replying to mlennert:

Replying to 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.

Note: See TracTickets for help on using tickets.