<div dir="ltr"><div><div>fd@fd-XPS:~$ mkdir /media/fd/Dados/FilipeTrabalho/FCT/FCT/fct/.tmp/fd-XPS/16123.0</div><div>mkdir: cannot create directory ‘/media/fd/Dados/FilipeTrabalho/FCT/FCT/fct/.tmp/fd-XPS/16123.0’: No such file or directory</div></div><div><br></div><div><br></div><div>yes, that's it. Thanks for the help</div><div><br></div><div>Cheers</div><div>F</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 13, 2017 at 4:37 PM, Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 13/04/17 17:05, Filipe Dias wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That directory does not exist. Directing the temporary files to an<br>
existing directory allows the tools to run:<br>
"directory=/home/fd/Desktop/tm<wbr>p".<br>
<br>
I am guessing this is a bug? By the default the tool should send the<br>
temporary files to /tmp or prompt the user to manually insert a path<br>
(currently "directory" is not mandatory)<br>
</blockquote>
<br></span>
By default, the module creates creates a directory using G_tempfile() which creates a temp path in the current mapset directory and G_mkdir() which creates a directory using that path.<br>
<br>
Looking at you path (/media/fd/Dados...) it looks like you're using an external disk ? Maybe the mount options for this disque do not allow the creation of a directory with this name ?<br>
<br>
Try launching 'mkdir /media/fd/Dados/FilipeTrabalho<wbr>/FCT/FCT/fct/.tmp/fd-XPS/<wbr>16123.0' and see what happens?<br>
<br>
Moritz<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
Thanks a lot for the help<br>
<br>
Cheers<br>
<br>
On Thu, Apr 13, 2017 at 12:33 PM, Moritz Lennert<br></span><span class="">
<<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a> <mailto:<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonl<wbr>ine.be</a>>> wrote:<br>
<br>
    Le Thu, 13 Apr 2017 11:18:37 +0100,<br></span>
    Filipe Dias <<a href="mailto:filipesdias@gmail.com" target="_blank">filipesdias@gmail.com</a> <mailto:<a href="mailto:filipesdias@gmail.com" target="_blank">filipesdias@gmail.com</a>><wbr>> a<span class=""><br>
    écrit :<br>
<br>
    > Hi,<br>
    > I don't think so. The Location/Mapset are located in a disk with 59<br>
    > GB of free space. The DEM has 144 MB and corresponds to Portugal's<br>
    > territory. Is there any other possible cause?<br>
<br>
    It seems the module cannot find the temporary directory::<br>
<br>
    /media/fd/Dados/FilipeTrabalho<wbr>/FCT/FCT/fct/.tmp/fd-XPS/<wbr>16123.0<br>
<br>
    Is the path correct ?<br>
<br>
    Moritz<br>
<br>
    ><br>
    ><br>
    > On Thu, Apr 13, 2017 at 11:08 AM, Helmut Kudrnovsky <<a href="mailto:hellik@web.de" target="_blank">hellik@web.de</a><br></span>
    <mailto:<a href="mailto:hellik@web.de" target="_blank">hellik@web.de</a>>><div><div class="h5"><br>
    > wrote:<br>
    ><br>
    > > Filipe Dias-2 wrote<br>
    > > > Hi<br>
    > > > I'm trying to run r.terraflow with with a SRTMGL1 dem but I am<br>
    > > > getting a message that I can't decipher.<br>
    > > > What am I doing wrong?<br>
    > > > Thanks for the help<br>
    > > > Cheers<br>
    > > > F<br>
    > > ><br>
    > > ><br>
    > > > (Thu Apr 13 10:40:03 2017)<br>
    > > ><br>
    > > > r.terraflow elevation=dem_pt@fct filled=filled direction=direc<br>
    > > > swatershed=swater accumulation=accum tci=tci<br>
    > > > Memory manager registering memory in MM_IGNORE_MEMORY_EXCEEDED<br>
    > > > mode. STREAM temporary files in<br>
    > > > /media/fd/Dados/FilipeTrabalho<wbr>/FCT/FCT/fct/.tmp/fd-<br>
    > > > XPS/16123.0  (THESE INTERMEDIATE STREAMS WILL NOT BE DELETED<br>
    > > > IN CASE OF ABNORMAL TERMINATION OF THE PROGRAM. TO SAVE<br>
    > > > SPACE PLEASE DELETE THESE FILES MANUALLY!)<br>
    > > > ami_single_temp_name: G_mkstemp() failed: : No such file or<br>
    > > > directory<br>
    > > > r.terraflow: ami_stream.cpp:93: int<br>
    > > > ami_single_temp_name(const string&, char*): Assertion `0'<br>
    > > > failed.<br>
    > > > (Thu Apr 13 10:40:03 2017) Command finished (0 sec)<br>
    > ><br>
    > > the error comes from:<br>
    > ><br>
    > > <a href="https://trac.osgeo.org/grass/browser/grass/trunk/lib/" rel="noreferrer" target="_blank">https://trac.osgeo.org/grass/b<wbr>rowser/grass/trunk/lib/</a><br>
    <<a href="https://trac.osgeo.org/grass/browser/grass/trunk/lib/" rel="noreferrer" target="_blank">https://trac.osgeo.org/grass/<wbr>browser/grass/trunk/lib/</a>><br>
    > > iostream/ami_stream.cpp#L71<br>
    > ><br>
    > > maybe some disk space issue?<br>
    > ><br>
    > ><br>
    > ><br>
    > > -----<br>
    > > best regards<br>
    > > Helmut<br>
    > > --<br>
    > > View this message in context: <a href="http://osgeo-org.1560.x6" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6</a>.<br>
    > > <a href="http://nabble.com/r-terraflow-problem-tp5317169p5317174.html" rel="noreferrer" target="_blank">nabble.com/r-terraflow-problem<wbr>-tp5317169p5317174.html</a><br></div></div>
    <<a href="http://nabble.com/r-terraflow-problem-tp5317169p5317174.html" rel="noreferrer" target="_blank">http://nabble.com/r-terraflow<wbr>-problem-tp5317169p5317174.<wbr>html</a>><span class=""><br>
    > > Sent from the Grass - Users mailing list archive at Nabble.com.<br>
    > > ______________________________<wbr>_________________<br>
    > > grass-user mailing list<br></span>
    > > <a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a> <mailto:<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo<wbr>.org</a>><br>
    > > <a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/grass-user</a><br>
    <<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailm<wbr>an/listinfo/grass-user</a>><br>
<br>
<br>
</blockquote>
<br>
</blockquote></div><br></div>