[GRASSLIST:2318] Re: GIS ERROR: error while writing to temp file: No such file or directory

Glynn Clements glynn.clements at virgin.net
Thu Jan 22 00:47:22 EST 2004


Edmund Blackadder wrote:

> While using i.ortho.photo and after giving the command for the 
> rectification to start, i received  a mail stating:
> 
> GIS ERROR: error while writing to temp file: No such file or directory
> 
> Any ideas on how to solve this?

The error indicates that the temporary file couldn't be created.

Temporary files are created using the template:

	<database>/<location>/<mapset>/.tmp/<hostname>/<pid>.<unique>

where:

<database>, <location> and <mapset> are the values entered in the
startup screen; these correspond to the GRASS variables GISDBASE,
LOCATION_NAME and MAPSET respectively (run "g.gisenv" to check their
values).

<hostname> is the system's hostname, according to either gethostname()
(if it exists) or uname() (otherwise).

<pid> is the process ID of the process which is creating the file.

<unique> is a unique integer which is added to ensure that filenames
are unique.

Some questions:

1. Does the temporary files directory (.../.tmp/<hostname>) exist?

2. Do you have write permission for that directory?

3. Are there any files in that directory for which you don't have
write permission?

4. Do you have write permission for the mapset directory?

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list