[GRASS-dev] [GRASS GIS] #479: wxgui mapset access module broken

GRASS GIS trac at osgeo.org
Thu Feb 5 16:47:06 EST 2009


#479: wxgui mapset access module broken
-------------------------+--------------------------------------------------
 Reporter:  cmbarton     |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect       |      Status:  new                      
 Priority:  major        |   Milestone:  6.5.0                    
Component:  wxGUI        |     Version:  svn-develbranch6         
 Keywords:  g.mapsets    |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 Trying to use the wxPython module to set mapset access raises an error in
 develbranch_6 compiled today from the SVN. I'm guessing that this is the
 same across 6.4 and 7. Here is the error as tested on the Spearfish
 PERMANENT location.

 PERMANENT spatialtech2008 test1 test2 test3 user1
 Traceback (most recent call last):
   File "/Applications/Grass/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/wxgui.py", line 363, in OnMapsets

 dlg = preferences.MapsetAccess(parent=self, id=wx.ID_ANY)
   File "/Applications/Grass/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/gui_modules/preferences.py", line 1736, in
 __init__

 self.mapsetlb.LoadData()
   File "/Applications/Grass/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/gui_modules/preferences.py", line 1815, in
 LoadData

 stat_info = os.stat(mapsetPath)
 OSError
 :
 [Errno 2] No such file or directory:
 '/Users/Shared/grassdata/spearfish60_test/PERMANENT
 spatialtech2008 test1 test2 test3 user1 '

 Michael

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


More information about the grass-dev mailing list