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

#479: wxgui mapset access module broken
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@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&gt;
GRASS GIS <http://grass.osgeo.org>

#479: wxgui mapset access module broken
--------------------------+-------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords: g.mapsets
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by cmbarton):

  * status: new => closed
  * resolution: => fixed

Comment:

Fixed in r35797 for develbranch_6 and backported to trunk and release
branch.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/479#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>