[GRASS-user] windows format for temporary file path

Martin Landa landa.martin at gmail.com
Thu Mar 15 16:29:59 EDT 2012


Hi,

2012/3/15 Glynn Clements <glynn at gclements.plus.com>:
>> which, on echo, generated E:\GRASSdata/newLocation/PERMANENT/.tmp/9168.0
>>
>> and in use results in the following error:
>> Illegal filename. Character </> not allowed.
>> <E:\GRASSdata/newLocation/PERMANENT/.tmp/7512.0> is an illegal file name
>
> In what context does the error occur?

btw, probably we could introduce in pythonlib new function for
generating temp map names?

tempmap() -> tmp_argv[0]_pid_num, eg. `temp_r_in_wms_7512.0` (`dot` is
not allowed for vector maps).

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-user mailing list