<HTML>
<HEAD>
<TITLE>g.mapset problems</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I’m trying to use g.mapset in a TclTk script and am having problems. I hope that someone can help with this.<BR>
<BR>
First, when I run it, it sends out text output stderror that seems to lock it up if I try to redirect to /dev/null<BR>
Second, if I try to run it to switch to a new location/mapset, and it doesn’t work, the next time I try to switch the same location/mapset, I get the error...<BR>
<BR>
“cmbarton is currently running GRASS in selected mapset or lock file cannot be checked.”<BR>
<BR>
...even if I am not working in that mapset. Does anyone know what is going on?<BR>
<BR>
Michael<BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human Evolution & Social Change <BR>
Center for Social Dynamics and Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
</SPAN></FONT>
</BODY>
</HTML>