JuliaIO / HDF5.jl

Save and load data in the HDF5 file format from Julia
https://juliaio.github.io/HDF5.jl
MIT License
383 stars 139 forks source link

`_memcpy!` not defined on nightly #1094

Closed evetion closed 1 year ago

evetion commented 1 year ago

Encountered at https://github.com/evetion/SpaceLiDAR.jl/actions/runs/5832259983/job/15817324791?pr=56#step:6:371

  Got exception outside of a @test
  UndefVarError: `_memcpy!` not defined
  Stacktrace:
    [1] _generic_read(::HDF5.Attribute, ::HDF5.Datatype, ::Type{Cstring}, ::Nothing)
      @ HDF5 ~/.julia/packages/HDF5/aiZLs/src/readwrite.jl:197
    [2] generic_read(::HDF5.Attribute, ::HDF5.Datatype, ::Type{Cstring})
      @ HDF5 ~/.julia/packages/HDF5/aiZLs/src/readwrite.jl:134
    [3] read(obj::HDF5.Attribute)
      @ HDF5 ~/.julia/packages/HDF5/aiZLs/src/readwrite.jl:39
    [4] read_attribute(parent::HDF5.Group, name::String)
      @ HDF5 ~/.julia/packages/HDF5/aiZLs/src/attributes.jl:54
mkitti commented 1 year ago

Thanks for the note. I plan on doing some work on the package this weekend, and I will address this.

eschnett commented 1 year ago

This error occurs for me as well on HDF5 v0.16.15 with Julia Version 1.10.0-beta2, not just on nightly.

mkitti commented 1 year ago

It's already fixed on master

mkitti commented 1 year ago

To resolve this, I am planning a 0.16.16: https://github.com/JuliaIO/HDF5.jl/pull/1098

evetion commented 1 year ago

Thanks!