[GRASS-user] g.mapset unable to read GIS_LOCK env variable

Daniel Victoria wrote:
> Using Grass 6.4.0 from Osgeo4W in WinXP. When I try to change my
> mapset inside a grass section by typing, for example, g.mapset
> PERMANENT at the prompt I get the error:
> -----------------------------
> GRASS 6.4.0svn (utm23)> g.mapset PERMANENT
> ERROR: Unable to read GIS_LOCK environment variable

Glynn Clements wrote:

It's a known issue, although I'm surprised that it hasn't
been fixed already.

Setting GIS_LOCK (to anything) in init.bat should prevent
the error.

I can't remember if I posted it to the list or not, but one thing I
discovered recently is that concurrent session use in WinGrass doesn't
work. The old session takes on the .gisrc of the new one and everything
gets rather confusing for a little while.

Hamish