[GRASS-dev] ZSTD compression error on Windows

Hi,

I have problem to read raster data created on Linux machine.

With the same data I am getting on Windows error below.

WARNING: ZSTD compression error -14: Unsupported frame parameter
ERROR: Error uncompressing fp raster data for row 30 of <MASK>: error code -1

But ZSTD seems to be enabled on Windows...

C:\>g.version -b
GRASS 7.9.dev (2020)

./configure --host=x86_64-w64-mingw32 '--with-libs=C:\OS3944~1/lib'
--with-includes=/c/OSGeo4W64/include --libexecdir=/c/OSGeo4W64/bin
--prefix=/c/OSGeo4W64/apps/grass --bindir=/c/OSGeo4W64/bin
--includedir=/c/OSGeo4W64/include --without-x --with-cxx
--enable-shared --enable-largefile --with-fftw --with-freetype
--with-freetype-includes=/mingw64/include/freetype2
--with-proj-share=/c/OSGeo4W64/share/proj
--with-proj-includes=/c/OSGeo4W64/include
--with-proj-libs=/usr/src/grass79/mswindows/osgeo4w/lib
--with-postgres --with-postgres-includes=/c/OSGeo4W64/include
--with-postgres-libs=/usr/src/grass79/mswindows/osgeo4w/lib
--with-gdal=/usr/src/grass79/mswindows/osgeo4w/gdal-config
--with-geos=/usr/src/grass79/mswindows/osgeo4w/geos-config
--with-sqlite --with-sqlite-includes=/c/OSGeo4W64/include
--with-sqlite-libs=/usr/src/grass79/mswindows/osgeo4w/lib --with-regex
--with-nls --with-zstd --with-odbc --with-cairo --with-opengl=windows
--with-bzlib --with-liblas=/usr/src/grass79/mswindows/osgeo4w/liblas-config

Any idea? Thanks, Martin

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Martin Landa wrote

Hi,

I have problem to read raster data created on Linux machine.

With the same data I am getting on Windows error below.

WARNING: ZSTD compression error -14: Unsupported frame parameter
ERROR: Error uncompressing fp raster data for row 30 of
<MASK>
: error code -1

But ZSTD seems to be enabled on Windows...

C:\>g.version -b
GRASS 7.9.dev (2020)

./configure --host=x86_64-w64-mingw32 '--with-libs=C:\OS3944~1/lib'
--with-includes=/c/OSGeo4W64/include --libexecdir=/c/OSGeo4W64/bin
--prefix=/c/OSGeo4W64/apps/grass --bindir=/c/OSGeo4W64/bin
--includedir=/c/OSGeo4W64/include --without-x --with-cxx
--enable-shared --enable-largefile --with-fftw --with-freetype
--with-freetype-includes=/mingw64/include/freetype2
--with-proj-share=/c/OSGeo4W64/share/proj
--with-proj-includes=/c/OSGeo4W64/include
--with-proj-libs=/usr/src/grass79/mswindows/osgeo4w/lib
--with-postgres --with-postgres-includes=/c/OSGeo4W64/include
--with-postgres-libs=/usr/src/grass79/mswindows/osgeo4w/lib
--with-gdal=/usr/src/grass79/mswindows/osgeo4w/gdal-config
--with-geos=/usr/src/grass79/mswindows/osgeo4w/geos-config
--with-sqlite --with-sqlite-includes=/c/OSGeo4W64/include
--with-sqlite-libs=/usr/src/grass79/mswindows/osgeo4w/lib --with-regex
--with-nls --with-zstd --with-odbc --with-cairo --with-opengl=windows
--with-bzlib
--with-liblas=/usr/src/grass79/mswindows/osgeo4w/liblas-config

Any idea? Thanks, Martin

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
_______________________________________________
grass-dev mailing list

grass-dev@.osgeo

https://lists.osgeo.org/mailman/listinfo/grass-dev

Maybe different zstd versions in linux and windows? Maybe we should update
zstd in osgeo4w?

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html

Helmut Kudrnovsky wrote

Martin Landa wrote

Hi,

I have problem to read raster data created on Linux machine.

With the same data I am getting on Windows error below.

WARNING: ZSTD compression error -14: Unsupported frame parameter
ERROR: Error uncompressing fp raster data for row 30 of

<MASK>

: error code -1

But ZSTD seems to be enabled on Windows...

C:\>g.version -b
GRASS 7.9.dev (2020)

./configure --host=x86_64-w64-mingw32 '--with-libs=C:\OS3944~1/lib'
--with-includes=/c/OSGeo4W64/include --libexecdir=/c/OSGeo4W64/bin
--prefix=/c/OSGeo4W64/apps/grass --bindir=/c/OSGeo4W64/bin
--includedir=/c/OSGeo4W64/include --without-x --with-cxx
--enable-shared --enable-largefile --with-fftw --with-freetype
--with-freetype-includes=/mingw64/include/freetype2
--with-proj-share=/c/OSGeo4W64/share/proj
--with-proj-includes=/c/OSGeo4W64/include
--with-proj-libs=/usr/src/grass79/mswindows/osgeo4w/lib
--with-postgres --with-postgres-includes=/c/OSGeo4W64/include
--with-postgres-libs=/usr/src/grass79/mswindows/osgeo4w/lib
--with-gdal=/usr/src/grass79/mswindows/osgeo4w/gdal-config
--with-geos=/usr/src/grass79/mswindows/osgeo4w/geos-config
--with-sqlite --with-sqlite-includes=/c/OSGeo4W64/include
--with-sqlite-libs=/usr/src/grass79/mswindows/osgeo4w/lib --with-regex
--with-nls --with-zstd --with-odbc --with-cairo --with-opengl=windows
--with-bzlib
--with-liblas=/usr/src/grass79/mswindows/osgeo4w/liblas-config

Any idea? Thanks, Martin

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
_______________________________________________
grass-dev mailing list

grass-dev@.osgeo

https://lists.osgeo.org/mailman/listinfo/grass-dev

Maybe different zstd versions in linux and windows? Maybe we should update
zstd in osgeo4w?

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
_______________________________________________
grass-dev mailing list

grass-dev@.osgeo

https://lists.osgeo.org/mailman/listinfo/grass-dev

In OSGeo4W we have 1.3.2
(http://download.osgeo.org/osgeo4w/x86_64/release/zstd/),

Actual version is 1.4.4.

AFAIR there are some zstd configure options, maybe some not default
activated here or there?

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html

Hi

Helmut Kudrnovsky <hellik@web.de> schrieb am Fr., 1. Mai 2020, 13:15:

Helmut Kudrnovsky wrote

Martin Landa wrote

Hi,

I have problem to read raster data created on Linux machine.

With the same data I am getting on Windows error below.

WARNING: ZSTD compression error -14: Unsupported frame parameter
ERROR: Error uncompressing fp raster data for row 30 of

> : error code -1 > > But ZSTD seems to be enabled on Windows... > > C:\>g.version -b > GRASS [7.9.dev](http://7.9.dev) (2020)

Helli wrote:

In OSGeo4W we have 1.3.2
(http://download.osgeo.org/osgeo4w/x86_64/release/zstd/),

Actual version is 1.4.4.

AFAIR there are some zstd configure options, maybe some not default
activated here or there?

There was some issue with specific ZSTD lib versions:
There is also a related old ticket:

https://trac.osgeo.org/grass/ticket/3815

Markus

Hi,

pá 1. 5. 2020 v 15:06 odesílatel Markus Neteler <neteler@osgeo.org> napsal:

There was some issue with specific ZSTD lib versions:
There is also a related old ticket:

https://trac.osgeo.org/grass/ticket/3815

reported, https://trac.osgeo.org/osgeo4w/ticket/632

Martin

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Martin Landa wrote

Hi,

pá 1. 5. 2020 v 15:06 odesílatel Markus Neteler &lt;

neteler@

&gt; napsal:

There was some issue with specific ZSTD lib versions:
There is also a related old ticket:

https://trac.osgeo.org/grass/ticket/3815

reported, https://trac.osgeo.org/osgeo4w/ticket/632

fixed in OSGeo4W:
https://lists.osgeo.org/pipermail/osgeo4w-dev/2020-May/003926.html

do we have to recompile 7.8.2 or just lets wait for 7.8.3?

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html

Hi,

so 2. 5. 2020 v 21:21 odesílatel Helmut Kudrnovsky <hellik@web.de> napsal:

do we have to recompile 7.8.2 or just lets wait for 7.8.3?

I would wait for 7.8.3. Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Hi,

ne 3. 5. 2020 v 20:54 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

> do we have to recompile 7.8.2 or just lets wait for 7.8.3?

I would wait for 7.8.3. Ma

meanwhile I uploaded 7.8.2-3 :slight_smile: Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa