Skip to content

MethodError reading v7.3 file #140

Open
@adamkapor

Description

@adamkapor

I just did a clean install of Julia 1.5. I get the following error trying to read a v7.3 file:

julia> MCMC2011 = MAT.matread(datapath*"/export_to_julia_2011.mat")["MCMC2011"]
ERROR: MethodError: no method matching h5d_read(::Int64, ::Int64, ::Array{Bool,2}, ::HDF5Properties)
Closest candidates are:
  h5d_read(::Any, ::Any, ::Any, ::Any, ::Any, ::Any) at C:\Users\akapor\.julia\packages\HDF5\QXcoh\src\HDF5.jl:2302
  h5d_read(::Int64, ::Int64, ::AbstractArray) at C:\Users\akapor\.julia\packages\HDF5\QXcoh\src\HDF5.jl:2057
  h5d_read(::Int64, ::Int64, ::AbstractArray, ::Int64) at C:\Users\akapor\.julia\packages\HDF5\QXcoh\src\HDF5.jl:2057
Stacktrace:
 [1] read(::HDF5Dataset, ::Type{Array{Bool,N} where N}) at C:\Users\akapor\.julia\packages\MAT\2LFMT\src\MAT_HDF5.jl:625
 [2] m_read(::HDF5Dataset) at C:\Users\akapor\.julia\packages\MAT\2LFMT\src\MAT_HDF5.jl:182
 [3] m_read(::HDF5Group) at C:\Users\akapor\.julia\packages\MAT\2LFMT\src\MAT_HDF5.jl:242
 [4] read(::MAT.MAT_HDF5.MatlabHDF5File, ::String) at C:\Users\akapor\.julia\packages\MAT\2LFMT\src\MAT_HDF5.jl:261
 [5] read(::MAT.MAT_HDF5.MatlabHDF5File) at C:\Users\akapor\.julia\packages\HDF5\QXcoh\src\datafile.jl:45
 [6] matread(::String) at C:\Users\akapor\.julia\packages\MAT\2LFMT\src\MAT.jl:133
 [7] top-level scope at none:1

Pkg.status says I have the following versions of things:

julia> Pkg.status()
Status `C:\Users\akapor\.julia\environments\v1.5\Project.toml`
  [c52e3926] Atom v0.12.19
  [31c24e10] Distributions v0.23.8
  [f67ccb44] HDF5 v0.13.3
  [e5e0dc1b] Juno v0.8.3
  [23992714] MAT v0.8.0

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