I have been unable to precompile ImageView from midway in the 1.9.0 dev series to now 1.10.0-Dev.38.
In all attempts there is a common error flagged:
ERROR: LoadError: UndefVarError: #imshow##kw
not defined
It would be cool to have my own cheap Photoshop, below are the woeful messages generated:
julia> using ImageView
[ Info: Precompiling ImageView [86fae568-95e7-573e-a6b2-d8a6b900c9ef]
WARNING: method definition for colorbutton at /home/del/.julia/packages/GtkObservables/u6z6P/src/widgets.jl:360 declares type variable T but does not use it.
WARNING: method definition for colorbutton at /home/del/.julia/packages/GtkObservables/u6z6P/src/widgets.jl:360 declares type variable T but does not use it.
ERROR: LoadError: UndefVarError: #imshow##kw
not defined
Stacktrace:
[1] top-level scope
@ ~/.julia/packages/ImageView/AJiQh/src/ImageView.jl:787
[2] include
@ ./Base.jl:450 [inlined]
[3] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
@ Base ./loading.jl:1667
[4] top-level scope
@ stdin:1
in expression starting at /home/del/.julia/packages/ImageView/AJiQh/src/ImageView.jl:1
in expression starting at stdin:1
ERROR: Failed to precompile ImageView [86fae568-95e7-573e-a6b2-d8a6b900c9ef] to /home/del/.julia/compiled/v1.10/ImageView/jl_ObiS3j.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base ./loading.jl:1820
[3] compilecache
@ ./loading.jl:1764 [inlined]
[4] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:1431
[5] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1295
[6] macro expansion
@ ./loading.jl:1275 [inlined]
[7] macro expansion
@ ./lock.jl:267 [inlined]
[8] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1238
I hope this is an easy fix.
I also am very excited about JuliaCon 2022!