Opened 16 years ago
Closed 16 years ago
#479 closed defect (fixed)
wxgui mapset access module broken
Reported by: | cmbarton | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 6.5.0 |
Component: | wxGUI | Version: | svn-develbranch6 |
Keywords: | g.mapsets | Cc: | landa.martin@… |
CPU: | Unspecified | Platform: | Unspecified |
Description
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
Fixed in r35797 for develbranch_6 and backported to trunk and release branch.