<div dir="ltr"><br><br>On Tue, May 28, 2019 at 6:26 PM Paulo van Breugel <<a href="mailto:p.vanbreugel@gmail.com">p.vanbreugel@gmail.com</a>> wrote:<br>><br>><br>><br>> On Tue, May 28, 2019 at 5:30 PM Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com">wenzeslaus@gmail.com</a>> wrote:<br>>><br>>><br>>><br>>> 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>>>><br>>>> Hi Václav / devs<br>>>><br>>>> 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>>>><br>>>> C:\Users\brp\AppData\Roaming\GRASS7\addons/scripts/<a href="http://r.forestfrag.py">r.forestfrag.py</a> input=groenreclass@landschap output=AAtest7 size=21<br>>>> Step 1: Computing Pf values...<br>>>> Step 2: Computing Pff values...<br>>><br>>><br>>> Some computations happened, but then something went wrong.<br>><br>><br>> It goes wrong when with the moving window computation using r.mapcalc. But when (e.g., with what moving window size) differs depending on the computer and the size of the raster.<br>><br>>>  <br>>>><br>>>> 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>>><br>>><br>>> Something wrong with the libraries or the files (perhaps not enough space on disk?).<br>><br>><br>> I guess something with the files, as it works with smaller moving windows and it works in Linux.<br><div><br></div><div>This is probably a read error: data are not correctly read from disk. But this should be reported as a read error.</div><div><br></div><div>A ZSTD compression error has been reported previously when a raster map was compressed with ZSTD 1.3.x and on another system decompressed with ZSTD 1.3.y. Not sure if this applies here as well.</div><div><br></div><div>Markus M</div><div><br></div><div>>  </div>>><br>>>  <br>>>><br>>>> WARNING: No data base element files found<br>>><br>>><br>>> Probably, g.remove trying to clean something as the the script is exiting. Likely harmless.<br>><br>><br>> Ah, ok<br>><br>>>  <br>>>><br>>>> Traceback (most recent call last):<br>>>>   File "C:\Users\brp\AppData\Roaming\GRASS7\addons/scripts/<a href="http://r.forestfrag.py">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">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>>><br>>><br>>> Here, it is g.message failing, so at this point nothing works.<br>>>  <br>>>><br>>>>   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>>><br>>><br>>> Too many open files? Or maybe just the error message happens to be too long.<br>>>  <br>>>><br>>>> Any idea what may be the problem here?<br>>><br>>><br>>> Try smaller region, smaller window. Look into task manager. ...<br>><br>><br>> I did try a smaller region, this does seem to make a difference. I will try if I can do this more systematically.<br>>  <br>>><br>>><br>>> Best,<br>>> Vaclav<br>>>  <br>>>><br>>>><br>>>> Greetings,<br>>>><br>>>> Paulo<br>><br>> _______________________________________________<br>> grass-dev mailing list<br>> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev">https://lists.osgeo.org/mailman/listinfo/grass-dev</a></div>