Comments (5)
krcools, this works for me.
--Tim
On Friday, August 19, 2016 1:48:05 AM CDT krcools wrote:
I am running Julia 0.4.6 on Win10-64 and I get a similar error message. My
test script is:using JLD using FixedSizeArrays x = Vec(1,2,3) @save "data.jld" x @load "data.jld"
Depending on factors unbeknownst I either get
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks. Exception: EXCEPTION_ACCESS_VIOLATION at 0x77aceef1 -- RtlAnsiStringToUnicodeString at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line) RtlAnsiStringToUnicodeString at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line) free at C:\WINDOWS\system32\msvcrt.dll (unknown line) h5t_get_member_name at C:\Users\ezzkc\.julia\v0.4\HDF5\src\plain.jl:2184 jldatatype at C:\Users\ezzkc\.julia\v0.4\JLD\src\jld_types.jl:687 read at C:\Users\ezzkc\.julia\v0.4\JLD\src\JLD.jl:390 jl_apply_generic at C:\Users\ezzkc\AppData\Local\Julia-0.4.6\bin\libjulia.dll (unknown line) read at C:\Users\ezzkc\.julia\v0.4\JLD\src\JLD.jl:366 anonymous at no file:0 jl_eval_with_compiler_p at C:\Users\ezzkc\AppData\Local\Julia-0.4.6\bin\libjulia.dll (unknown line) jl_f_tuple at C:\Users\ezzkc\AppData\Local\Julia-0.4.6\bin\libjulia.dll (unknown line) eval_user_input at REPL.jl:62 jlcall_eval_user_input_1295 at (unknown line) jl_apply_generic at C:\Users\ezzkc\AppData\Local\Julia-0.4.6\bin\libjulia.dll (unknown line) anonymous at REPL.jl:92 jl_unprotect_stack at C:\Users\ezzkc\AppData\Local\Julia-0.4.6\bin\libjulia.dll (unknown line)
or
ERROR: ReadOnlyMemoryError() in h5t_get_member_name at C:\Users\ezzkc\.julia\v0.4\HDF5\src\plain.jl:2184 in jldatatype at C:\Users\ezzkc\.julia\v0.4\JLD\src\jld_types.jl:687 in read at C:\Users\ezzkc\.julia\v0.4\JLD\src\JLD.jl:390 in read at C:\Users\ezzkc\.julia\v0.4\JLD\src\JLD.jl:366 in anonymous at no file
I even had this script complete successfully on rare occasions:
julia> using FixedSizeArrays julia> using JLD julia> x = Vec(1,2,3) Vec(1,2,3) julia> @save "data.jld" x julia> @load "data.jld" 1-element Array{Symbol,1}: :x julia> @load "data.jld" 1-element Array{Symbol,1}: :x julia> x Vec(1,2,3) julia> exit()Given that a
FixedSizeArrays.Vec
(@SimonDanisch) is a wrapper around a
Tuple
I would not be surprised this is related to #12.
from jld.jl.
I found the problem: HDF5.jl latches on to the Anaconda version of hdf5.dll, which as it turns out is not compatible: HDF5.jl/#323.
from jld.jl.
Thanks, @krcools!
from jld.jl.
Closing this as redundant; @alix2m feel free to reopen if you disagree.
from jld.jl.
Thanks @timholy and @krcools . Haven't had a chance to look into the solution proposed in HDF5.jl/#323 yet, but hopefully it'll solve the issue. Will report back if issue persists.
from jld.jl.
Related Issues (20)
- TypeError: No NumPy equivalent for TypeBitfieldID exists
- TagBot trigger issue HOT 14
- Save and read a sharedarray in a jld file HOT 2
- anonymous function can't be saved, in Julia v1.6 HOT 1
- Parametric type load errors with StaticArrays: ERROR: stored type does not match currently loaded type
- Warning: JLD incorrectly extends FileIO functions HOT 3
- cannot append nested parametric types
- unable to load JLD - Core.AbstractArray{#s831,1},#s831 HOT 2
- error on Julia 1.7.0-beta2 HOT 9
- error with loading the jld file containg the reture value of Optim.optimize HOT 1
- JLD and JLD2 don't work in julia 1.7.0 HOT 2
- JLD error when using jldopen on a nested mutable struct before and after loading DSP.jl
- `LoadError: type DataType has no field mutable`
- better error message requested if filename isn't .jld
- How to view .jld files in VScode? HOT 2
- Broken on Julia v1.10 nightly HOT 1
- Storing/loading StepRangeLen fails HOT 2
- WARNING: could not import HDF5.exists into JLD HOT 1
- Warning: object_info is deprecated, use API.h5o_get_info1 instead HOT 1
- Seg Fault when loading large Float16 Arrays in jld files.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jld.jl.