JuliaIO / ImageMagick.jl

Thin Wrapper for the library ImageMagick
Other
53 stars 37 forks source link

Errors running tests on Julia 1.10 #226

Closed ViralBShah closed 6 months ago

ViralBShah commented 7 months ago
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading.
Precompiling project...
  35 dependencies successfully precompiled in 11 seconds. 32 already precompiled.
  1 dependency had output during precompilation:
┌ ImageMagick
│  WARNING: using deprecated binding Colors.RGB1 in ImageCore.
│  , use XRGB instead.
│  WARNING: using deprecated binding Colors.RGB4 in ImageCore.
│  , use RGBX instead.
└  
     Testing Running tests...
ERROR: LoadError: InitError: UndefVarError: `libwand` not defined
Stacktrace:
  [1] magickgenesis
    @ ImageMagick ~/.julia/packages/ImageMagick/KDZC2/src/libmagickwand.jl:21 [inlined]
  [2] __init__()
    @ ImageMagick ~/.julia/packages/ImageMagick/KDZC2/src/libmagickwand.jl:27
  [3] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1128
  [4] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1116
  [5] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
    @ Base ./loading.jl:1061
  [6] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
    @ Base ./loading.jl:1575
  [7] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1932
  [8] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1806
  [9] #invoke_in_world#3
    @ Base ./essentials.jl:921 [inlined]
 [10] invoke_in_world
    @ Base ./essentials.jl:918 [inlined]
 [11] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1797
 [12] macro expansion
    @ Base ./loading.jl:1784 [inlined]
 [13] macro expansion
    @ Base ./lock.jl:267 [inlined]
 [14] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1747
 [15] #invoke_in_world#3
    @ Base ./essentials.jl:921 [inlined]
 [16] invoke_in_world
    @ Base ./essentials.jl:918 [inlined]
 [17] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1740
 [18] include(fname::String)
    @ Base.MainInclude ./client.jl:489
 [19] top-level scope
    @ none:6
during initialization of module ImageMagick
in expression starting at /Users/viral/.julia/packages/ImageMagick/KDZC2/test/runtests.jl:1
ERROR: Package ImageMagick errored during testing
boriskaus commented 6 months ago

I have the same, also on 1.9.3:

julia> versioninfo()
Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 12 × Apple M2 Max
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
  Threads: 1 on 8 virtual cores
Environment:
  JULIA_IMAGE_THREADS = 1