[GRASS-user] Error in a script that calls g.mapset

Helena Herrera helenaherrera1980 at gmail.com
Tue Aug 10 04:21:04 EDT 2010


hello

I'm sorry for bothering you but I have sent this question last week and I
didn't get any answer.

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/20100810/4fd3ed98/attachment.html


More information about the grass-user mailing list