[GRASS-dev] Forestfrag WARNING: ZSTD compression error -14: Unsupported frame parameter

Vaclav Petras wenzeslaus at gmail.com
Tue May 28 08:30:54 PDT 2019


On Mon, May 27, 2019 at 3:25 PM Paulo van Breugel <p.vanbreugel at gmail.com>
wrote:

> Hi Václav / devs
>
> 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:
> C:\Users\brp\AppData\Roaming\GRASS7\addons/scripts/r.forestfrag.py
> input=groenreclass at landschap output=AAtest7 size=21
> Step 1: Computing Pf values...
> Step 2: Computing Pff values...
>

Some computations happened, but then something went wrong.


> WARNING: ZSTD compression error -14: Unsupported frame parameter
> ERROR: Error uncompressing raster data for row 328 of
> <tmpA04_398bad3c_32a8_4220_8566_374c8c9f16a8>
>

Something wrong with the libraries or the files (perhaps not enough space
on disk?).


> WARNING: No data base element files found
>

Probably, g.remove trying to clean something as the the script is exiting.
Likely harmless.


> Traceback (most recent call last):
>   File "C:\Users\brp\AppData\Roaming\GRASS7\addons/scripts/r.forestfrag.py",
> line 420, in <module>     sys.exit(main(*gs.parser()))
>   File "C:\Users\brp\AppData\Roaming\GRASS7\addons/scripts/r.forestfrag.py",
> line 290, in main     ipl=ipl, tmpl4=expr1, tmpl5=expr2, pff=pff)
>   File "C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\raster.py",
> line 111, in mapcalc " with expression: %s") % e)
>   File "C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py",
> line 667, in fatal error(msg)
>   File "C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py",
> line 651, in error    message(msg, flag='e')
>   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')
>

Here, it is g.message failing, so at this point nothing works.


>   File "C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py",
> line 415, in run_command ps = start_command(*args, **kwargs)
>   File "C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py",
> line 382, in start_command
>     return Popen(args, **popts)
>   File "C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py",
> line 76, in __init__     subprocess.Popen.__init__(self, args, **kwargs)
>   File "C:\OSGEO4~1\apps\Python27\lib\subprocess.py", line 390, in
> __init__ errread, errwrite)
>   File "C:\OSGEO4~1\apps\Python27\lib\subprocess.py", line 640, in
> _execute_child startupinfo)
> WindowsError: [Error 206] De bestandsnaam of -extensie is te lang
>

Too many open files? Or maybe just the error message happens to be too long.


> Any idea what may be the problem here?
>

Try smaller region, smaller window. Look into task manager. ...

Best,
Vaclav


>
> Greetings,
>
> Paulo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20190528/173d50f4/attachment.html>


More information about the grass-dev mailing list