[GRASS-user] ERROR mapset <mapname> not found

Achim Kisseler ak7 at jupiter.uni-freiburg.de
Thu Apr 1 05:05:50 EDT 2010


>> Could it be that the mapset is locked? If yes, where can I find out and
>> how can I change that?
>
> A mapset is locked by creating a ".gislock" file in the mapset
> directory (note the leading "."). But the error which you report
> doesn't sound like a locked mapset.

right, thats not the problem.

>
> It would help if you specified the exact command which you run and the
> exact error message (copied and pasted, not re-typed) which it
> generates.

here I use the gui: Config -> GRASS working enviroment -> mapset access

>
> Are you sure that the directory is actually a mapset, i.e. does it
> contain the WIND and VAR files? Do these files have the correct
> ownership and permissions?

Yes, I'm sure.


 >>>>>>>>EDIT>>>>>>>>


Now I used the command line:

--%<--
g.mapsets addmapset=mapname
--%<--

and it worked!

But now: the gui doesnt work anymore:

--%<--
Traceback (most recent call last):
   File "/usr/local/grass-6.5.svn/etc/wxpython/wxgui.py",
line 257, in OnMapsets

dlg = preferences.MapsetAccess(parent=self, id=wx.ID_ANY)
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/pr
eferences.py", line 2137, in __init__

self.mapsetlb.CheckItem(self.all_mapsets.index(mset), True)
ValueError
:
list.index(x): x not in list
--%<--

BTW:
g.mapsets -s
shows the tcltc dialog!?

Thats ok for me, because it works, but WHY does this happen?


Thanks everyone very much for the hints,
Achim




More information about the grass-user mailing list