[GRASS5] [bug #3362] (grass) r.proj works ONLY when source and target mapset names are identical

Glynn Clements glynn at gclements.plus.com
Wed Jun 22 09:40:16 EDT 2005


Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=3362

> Subject: r.proj works ONLY when source and target mapset names are identical

> mkdir: cannot create directory `/home/grassdata/caves_65/topo/.tmp': No such file or directory
> 
> ERROR: can't make mapset element .tmp/quercus.biol.uni.wroc.pl
>        (/home/grassdata/caves_65/topo/.tmp)
> 
> It is trying to create a .tmp in a non-existant mapset! Like if it
> couldn't read that the source mapset is PERMANENT. Somehow the
> source and target mapset names get mixed.

This is a very good reason not to use G_tempfile() for normal
temporary files.

There is no guarantee that the user can create files or directories
within the source location.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list