Skip to content

World age issue when dynamically loading CodecZlib #623

@kbarros

Description

@kbarros

Hi, I'm on Julia 1.11 and JLD2 v0.5.10. Is the error below an expected behavior?

import JLD2
filename = "/Users/kbarros/Desktop/1Dcut_sym_0p00T_K.nxs"

# [ Info: Attempting to dynamically load CodecZlib
# ERROR: MethodError: no method matching CodecZlib.ZlibDecompressor()
# The applicable method may be too new: running in world age 26666, while current world is 26668.
data = JLD2.jldopen(filename, "r"; compress=false)
println(data["MDHistoWorkspace"]["data"]["signal"])

# The second time it works
data = JLD2.jldopen(filename, "r"; compress=false)
println(data["MDHistoWorkspace"]["data"]["signal"])

Also, is there any way to avoid the dependency on CodeZlib for this file?

1Dcut_sym_0p00T_K.nxs.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions