I found that after using Gadfly, the load funciton in JLD can not work, as 
below:

julia> using Gadfly

julia> using HDF5,JLD

julia> save("tempfile.jld","var",[1,2,3])

julia> load("tempfile.jld","var")
ERROR: `convert` has no method matching convert(::Type{Int64...}, ::UInt64)
 in convert at base.jl:44
 in read at /home/JXiong/.julia/v0.4/HDF5/src/JLD.jl:330
 in read at /home/JXiong/.julia/v0.4/HDF5/src/JLD.jl:313
 in anonymous at /home/JXiong/.julia/v0.4/HDF5/src/JLD.jl:972
 in jldopen at /home/JXiong/.julia/v0.4/HDF5/src/JLD.jl:234
 in load at /home/JXiong/.julia/v0.4/HDF5/src/JLD.jl:971

However, if I run "using HDF5, JLD" before "using Gadfly", everything will 
be fine.

FYI:
julia> versioninfo()
Julia Version 0.4.0-dev+1928
Commit b1c99af* (2014-12-03 08:58 UTC)
Platform Info:
  System: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Xeon(R) CPU E7- 4830  @ 2.13GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT NO_AFFINITY NEHALEM)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

Reply via email to