<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 27, 2019 at 3:25 PM Paulo van Breugel <<a href="mailto:p.vanbreugel@gmail.com">p.vanbreugel@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
Hi Václav / devs<br>
<div class="gmail-m_-9019233453306864327moz-forward-container">
<div class="gmail-m_-9019233453306864327WordSection1">
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">I
am running r.forestfrag in Windows 10, grass 7.6.2
Computation with a moving window size of 21 (but at
another computer same happens at size 9) gives met the
following error:<br>
</span></p>
<span style="font-family:"Calibri",sans-serif;color:black"><u></u><u></u></span></div>
<div>
<div>C:\Users\brp\AppData\Roaming\GRASS7\addons/scripts/<a href="http://r.forestfrag.py" target="_blank">r.forestfrag.py</a>
input=groenreclass@landschap output=AAtest7 size=21<br>
Step 1: Computing Pf values...<br>
Step 2: Computing Pff values...<br></div></div></div></div></div></blockquote><div><br></div><div>Some computations happened, but then something went wrong.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><div class="gmail-m_-9019233453306864327moz-forward-container"><div class="gmail-m_-9019233453306864327WordSection1"><div><div>
WARNING: ZSTD compression error -14: Unsupported frame
parameter<br>
ERROR: Error uncompressing raster data for row 328 of
<tmpA04_398bad3c_32a8_4220_8566_374c8c9f16a8><br></div></div></div></div></div></blockquote><div><br></div><div>Something wrong with the libraries or the files (perhaps not enough space on disk?).<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><div class="gmail-m_-9019233453306864327moz-forward-container"><div class="gmail-m_-9019233453306864327WordSection1"><div><div>
WARNING: No data base element files found<br></div></div></div></div></div></blockquote><div><br></div><div>Probably, g.remove trying to clean something as the the script is exiting. Likely harmless.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><div class="gmail-m_-9019233453306864327moz-forward-container"><div class="gmail-m_-9019233453306864327WordSection1"><div><div>
Traceback (most recent call last):<br>
File
"C:\Users\brp\AppData\Roaming\GRASS7\addons/scripts/<a href="http://r.forestfrag.py" target="_blank">r.forestfrag.py</a>",
line 420, in <module> sys.exit(main(*gs.parser()))<br>
File
"C:\Users\brp\AppData\Roaming\GRASS7\addons/scripts/<a href="http://r.forestfrag.py" target="_blank">r.forestfrag.py</a>",
line 290, in main ipl=ipl, tmpl4=expr1, tmpl5=expr2,
pff=pff)<br>
File
"C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\raster.py",
line 111, in mapcalc " with expression: %s") % e)<br>
File
"C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py",
line 667, in fatal error(msg)<br>
File
"C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py",
line 651, in error message(msg, flag='e')<br>
File
"C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py",
line 584, in message run_command("g.message",
flags=flag, message=msg, errors='ignore')<br></div></div></div></div></div></blockquote><div><br></div><div>Here, it is g.message failing, so at this point nothing works.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><div class="gmail-m_-9019233453306864327moz-forward-container"><div class="gmail-m_-9019233453306864327WordSection1"><div><div>
File
"C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py",
line 415, in run_command ps = start_command(*args, **kwargs)<br>
File
"C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py",
line 382, in start_command<br>
return Popen(args, **popts)<br>
File
"C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py",
line 76, in __init__ subprocess.Popen.__init__(self,
args, **kwargs)<br>
File "C:\OSGEO4~1\apps\Python27\lib\subprocess.py", line
390, in __init__ errread, errwrite)<br>
File "C:\OSGEO4~1\apps\Python27\lib\subprocess.py", line
640, in _execute_child startupinfo)<br>
WindowsError: [Error 206] De bestandsnaam of -extensie is te
lang<br></div></div></div></div></div></blockquote><div><br></div><div></div><div>Too many open files? Or maybe just the error message happens to be too long.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><div class="gmail-m_-9019233453306864327moz-forward-container"><div class="gmail-m_-9019233453306864327WordSection1"><div><div>
</div>
<div>
</div>
<div>Any idea what may be the problem here?</div></div></div></div></div></blockquote><div><br></div><div>Try smaller region, smaller window. Look into task manager. ...</div><div><br></div><div>Best,</div><div>Vaclav<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><div class="gmail-m_-9019233453306864327moz-forward-container"><div class="gmail-m_-9019233453306864327WordSection1"><div>
<div><br>
</div>
<div>Greetings,</div>
<div><br>
</div>
<div>Paulo<br>
<span style="font-family:"Calibri",sans-serif;color:black"><u></u><u></u></span>
<div>
</div>
<span style="font-family:"Calibri",sans-serif;color:black"><u></u><u></u></span></div>
<div>
<div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div></div>