[GRASS-dev] [GRASS GIS] #2397: $GISBASE/etc/gui to $GISBASE/gui

GRASS GIS trac at osgeo.org
Tue Aug 19 21:26:40 PDT 2014


#2397: $GISBASE/etc/gui to $GISBASE/gui
---------------------------+------------------------------------------------
 Reporter:  babayoshihiko  |       Owner:  grass-dev@…              
     Type:  defect         |      Status:  new                      
 Priority:  minor          |   Milestone:  7.0.0                    
Component:  wxGUI          |     Version:  unspecified              
 Keywords:                 |    Platform:  MacOSX                   
      Cpu:  OSX/Intel      |  
---------------------------+------------------------------------------------
 GRASS cannot find grass.ico in $GISBASE/etc/gui/icons during startup.

 Since 7.0.0beta3, it seems $GISBASE/etc/gui has moved to $GISBASE/gui.
 However, $GISBASE/gui/wxpython/core/globalvar.py, which is created during
 the build process, still contains lines:


 {{{
 ETCDIR = os.path.join(os.getenv("GISBASE"), "etc")
 ETCICONDIR = os.path.join(os.getenv("GISBASE"), "etc", "gui", "icons")
 ETCWXDIR = os.path.join(ETCDIR, "gui", "wxpython")
 ETCIMGDIR = os.path.join(ETCDIR, "gui", "images")
 ETCSYMBOLDIR = os.path.join(ETCDIR, "gui", "images", "symbols")
 }}}


 I've been looking around the source's corresponding file , i.e.
 gui/wxpython/core/globalvar.py:


 {{{
 ETCDIR   = os.path.join(os.getenv("GISBASE"), "etc")
 GUIDIR   = os.path.join(os.getenv("GISBASE"), "gui")
 WXGUIDIR = os.path.join(GUIDIR, "wxpython")
 ICONDIR  = os.path.join(GUIDIR, "icons")
 IMGDIR   = os.path.join(GUIDIR, "images")
 SYMBDIR  = os.path.join(IMGDIR, "symbols")
 }}}


 but fixing this file doesn't solve the issue.

 My OS is MacOSX 10.9 and all the depending libraries are installed by
 Fink.

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



More information about the grass-dev mailing list