[GRASS-windows] r.terraflow
Glynn Clements
glynn at gclements.plus.com
Thu Nov 6 19:14:15 EST 2008
Helena Mitasova wrote:
> has anybody tried to run r.terraflow in winGRASS?
>
> It cannot find or create the temp file?
> ami_single_temp_name: mkstemp failed : No such file or directory
> assertion failed: 0 file ami_stream.cc line 54
> is it trying to write into /var/tmp which does not exist in windows?
1. The error message is inaccurate; it doesn't actually call mkstemp()
on Windows, but mktemp().
2. The directory used for temporary files is controlled by the
STREAM_DIR= option (renamed to stream_dir= in 7.0). /var/tmp is just
the default setting.
3. The default value of /var/tmp is inappropriate for Windows. It
should probably use the TMP or TEMP environment variables. There
probably won't be a specific directory which will be writable by all
users.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-windows
mailing list