[GRASS-dev] [GRASS GIS] #2538: wxgui: doesn't start, throws ImportError: cannot import name TYPE_AREA

GRASS GIS trac at osgeo.org
Fri Jan 9 05:11:10 PST 2015


#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.

 Any explanation ?

 Moritz

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2538>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list