[GRASS-dev] [GRASS GIS] #2528: r.shade not in menu

GRASS GIS trac at osgeo.org
Mon Jan 5 14:19:49 PST 2015


#2528: r.shade not in menu
--------------------------+-------------------------------------------------
  Reporter:  cmbarton     |       Owner:  grass-dev@…              
      Type:  defect       |      Status:  reopened                 
  Priority:  normal       |   Milestone:  7.0.0                    
 Component:  wxGUI        |     Version:  unspecified              
Resolution:               |    Keywords:  toolboxes, menu, r.shade 
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------

Comment(by cmbarton):

 Workarounds:

 1. a) Make GRASS,
 b) make binary package (bindist),
 c) start binary (gui crashes)
 d) cd to wxpython folder inside binary package from the GRASS terminal
 (e.g.,
 /Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython),
 and run make)

 Failed to update xml for me

 2.  a) Make GRASS,
 b) make binary package (make bindist),
 c) start binary (gui crashes),
 d) cd to wxpython folder inside binary package from the GRASS terminal
 (e.g.,
 /Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython),
 e) run the following

 python core/toolboxes.py > xml/menudata.xml
 python core/toolboxes.py "module_tree" > xml/module_tree_menudata.xml

 f) Next, copy the newly created menudata.xml and module_tree_menudata.xml
 files from the binary package back to the compiled but not packaged
 distribution (in ../dist.x86_64-apple-darwin13.0.0),
 g) rerun bindist to make a new package

 This works

 3. reuse the menudata.xml and module_tree_menudata.xml files in a new
 GRASS compilation before doing a binary distribution with the (apparently
 erroneous) assumption that these menu xml files dynamically updated when
 GRASS was run.

 Failed to update xml files

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2528#comment:9>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list