[julia-users] Gadfly conflict with JLD

2014-12-03 Thread xiongjieyi
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


Re: [julia-users] Gadfly conflict with JLD

2014-12-03 Thread Isaiah Norton
See https://github.com/timholy/HDF5.jl/issues/160

On Wed, Dec 3, 2014 at 9:51 AM, xiongji...@gmail.com wrote:

 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



Re: [julia-users] Gadfly conflict with JLD

2014-12-03 Thread João Felipe Santos
As in the issue posted by Isaiah, this is a problem with the Color package (or 
interaction between Color and another package). In my case, updating Color did 
not work, so I pinned it to v0.3.9.

João

 On Dec 3, 2014, at 9:57 AM, xiongji...@gmail.com wrote:
 
 I guess maybe some packages Gadfly used forgot importing base.convert but 
 exported it in somewhere.
 
 On Wednesday, December 3, 2014 3:51:54 PM UTC+1, xiong...@gmail.com wrote:
 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