Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MethodError reading v7.3 file #140

Open
adamkapor opened this issue Aug 3, 2020 · 4 comments
Open

MethodError reading v7.3 file #140

adamkapor opened this issue Aug 3, 2020 · 4 comments

Comments

@adamkapor
Copy link

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
@grero
Copy link
Contributor

grero commented Aug 6, 2020

I just hit this error as well.

@babaq
Copy link

babaq commented Aug 12, 2020

also have this error on a mat file that had been successfully read.

@bjarthur
Copy link
Member

me too!

1 similar comment
@Peichao
Copy link

Peichao commented Aug 27, 2020

me too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants