Greetings<div>I have sent this email a few days ago but I didn't get any answer. Could anyone please help me or give me a tip?<br><br><div class="gmail_quote">On Tue, Aug 3, 2010 at 5:51 PM, Helena Herrera <span dir="ltr"><<a href="mailto:helenaherrera1980@gmail.com">helenaherrera1980@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><br></div><div>I have a Python Script (for GRASS6.4) where I run this:</div><div>grass.run_command("g.mapset", mapset = t_mapset) <span style="white-space:pre-wrap">        </span></div>
<div>
<span style="white-space:pre-wrap">(to change active mapset)</span></div><div><span style="white-space:pre-wrap">But I get all this in the command output:</span></div><div><span style="white-space:pre-wrap">Erasing monitors...
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.png,
GRASS_WIDTH=768, GRASS_HEIGHT=501
Cleaning up temporary files...
Your shell continues to use the history for the old mapset
You can switch the history by commands:
history -w; history -r /usr/local/share/grassdata/Place/National/.bash_history; HISTFILE=/usr/local/share/grassdata/Place/National/.bash_history</span></div><div><span style="white-space:pre-wrap"><br>
</span></div><div><span style="white-space:pre-wrap">It seems to be running ok without any impact but:</span></div><div><span style="white-space:pre-wrap">1- Why is this happening?</span></div>
<div><span style="white-space:pre-wrap">2- How can I avoid this?</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Thanks</span></div>
<div><span style="white-space:pre-wrap">Helena</span></div>
</blockquote></div><br></div>