[GRASS-user] Re: Error while running script that uses g.mapsets

Helena Herrera helenaherrera1980 at gmail.com
Thu Aug 5 12:29:48 EDT 2010


Greetings
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?

On Tue, Aug 3, 2010 at 5:51 PM, Helena Herrera
<helenaherrera1980 at gmail.com>wrote:

>
> I have a Python Script (for GRASS6.4) where I run this:
> grass.run_command("g.mapset", mapset = t_mapset)
> (to change active mapset)
> But I get all this in the command output:
> 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
>
> It seems to be running ok without any impact but:
> 1- Why is this happening?
> 2- How can I avoid this?
>
> Thanks
> Helena
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100805/050926fb/attachment.html


More information about the grass-user mailing list