[GRASS-user] Error running g.mapset

Markus Neteler neteler at osgeo.org
Sat Oct 16 04:52:01 EDT 2010


On Sat, Oct 16, 2010 at 8:26 AM, Glynn Clements
<glynn at gclements.plus.com> wrote:
> Markus Neteler wrote:
>> katrin eggert wrote:
>>> I'm running WinGRASS and I'm obtaining a weird error when I run g.mapset:
>>> ERROR: Unable to read GIS_LOCK environment variable
>>>
>>> How can I fix this in Win GRASS?
>>
...
> The underlying bug (init.bat doesn't set GIS_LOCK) is still present in
> 6.5-svn. It isn't applicable to 7.0, where init.sh/init.bat have been
> replaced by a Python script (which does set GIS_LOCK).

I have found this GPL program to the the PID which is needed
to set GIS_LOCK:
http://www.scheibli.com/projects/getpids/

Would that be of interest? Or is %RANDOM% together with something
else sufficient?

Markus


More information about the grass-user mailing list