[GRASS-dev] [GRASS GIS] #1051: wxgui: SEARCH_PATH corruption

GRASS GIS trac at osgeo.org
Mon May 3 11:22:15 EDT 2010


#1051: wxgui: SEARCH_PATH corruption
----------------------+-----------------------------------------------------
 Reporter:  msieczka  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect    |      Status:  new                      
 Priority:  major     |   Milestone:  6.4.0                    
Component:  wxGUI     |     Version:  svn-releasebranch64      
 Keywords:            |    Platform:  All                      
      Cpu:  All       |  
----------------------+-----------------------------------------------------
 1. In wxgui wizard, create a location with 2 mapsets inside (mapset1,
 mapset2).

 2. Enter mapset2.

 3. Settings > GRASS working environment > Mapset access: mark mapset1.

 The mapset search path in mapset2 is wrong:

 {{{
 $ g.gisenv get=MAPSET
 mapset2

 g.mapsets -p
 mapset1 PERMANENT mapset2
 }}}

 If maps of the same names exist in mapset1 and mapset2, GRASS will pick
 the one from mapset1 although the current mapset is mapset2. This might
 lead to various troubles.

 The bug is propably in gui/wxpython/gui_modules/preferences.py.

 g.mapsets.tcl (g.mapsets -s) doesn't have this bug.

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


More information about the grass-dev mailing list