JuliaIO / FileIO.jl

Main Package for IO, loading all different kind of files
http://juliaio.github.io/FileIO.jl/
Other
216 stars 78 forks source link

Update / replace Libz registration for .gz files #316

Open kescobo opened 3 years ago

kescobo commented 3 years ago

See https://github.com/BioJulia/Libz.jl/issues/68

Libz.jl is no longer maintained, and now recommends folks use CodecZlib instead. In any case, the implementation for Libz.jl is no longer functional.

julia> FileIO.load("test.log.gz")
Error encountered while load File{DataFormat{:GZIP}, String}("test.log.gz").

Fatal error:
ERROR: UndefVarError: load not defined
timholy commented 3 years ago

Did it ever work? Libz doesn't even load FileIO.

I'm happy to make the change, but first I want to just check that there's nothing broken here.

kescobo commented 3 years ago

Oh, no idea :laughing:

The FileIO docs point to Libz as being used for .gz files. I would not be surprised if that connection is not maintained if there were changes to the FileIO interface at somepoint in the last 2 years.

CiaranOMara commented 2 years ago

CodecZlib.jl doesn't appear to implement the FileIO loaders or savers either.