OpticSim.jl icon indicating copy to clipboard operation
OpticSim.jl copied to clipboard

Pluto Notbook Example not working

Open youcann opened this issue 3 years ago • 0 comments

Describe the bug The example from the manual

import OpticSim.NotebooksUtils as NB    # the **as** option was added in Julia v1.6

NB.run_sample("EmittersIntro.jl")

does not run. The error messages are mostly about Xorg_libxkbfile_jll and ImageMetadata and ImageAxes export "data"; uses of it in module Images must be qualified. Not sure what is going on.

To Reproduce Steps to reproduce the behavior:

julia> import OpticSim.NotebooksUtils as NB

julia> NB.run_sample("EmittersIntro.jl")

Expected behavior Pluto notebook opens in browser and runs without any errors.

Screenshots Terminal output:

[ Info: Running sample notebook from [/home/marvin/EmittersIntro.jl]
[ Info: Launching Notebook [/home/marvin/EmittersIntro.jl]
[ Info: Loading...
    Updating registry at `~/.julia/registries/General`
    Updating 
git-repo `https://github.com/JuliaRegistries/General.git`

(firefox:1901903): Gtk-WARNING **: 15:30:47.267: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
Opening http://localhost:1234/open?path=%2Fhome%2Fmarvin%2FEmittersIntro.jl in your default browser... ~ have fun!

Press Ctrl+C in this terminal to stop Pluto

    Updating registry done ✓
      From worker 2:    WARNING: both ImageMetadata and ImageAxes export "data"; uses of it in module Images must be qualified
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Xorg_xkeyboard_config_jll [33bec58e-1273-512f-9401-5d533626f822]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for xkbcommon_jll [d8fb68d0-12a3-5cfd-a85a-d49703b185fd]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Xorg_xkeyboard_config_jll [33bec58e-1273-512f-9401-5d533626f822]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for GTK3_jll [77ec8976-b24b-556a-a1bf-49a033a670a6]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Xorg_xkeyboard_config_jll [33bec58e-1273-512f-9401-5d533626f822]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for xkbcommon_jll [d8fb68d0-12a3-5cfd-a85a-d49703b185fd]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Xorg_xkeyboard_config_jll [33bec58e-1273-512f-9401-5d533626f822]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ERROR: LoadError: could not load symbol "gtk_get_major_version":
      From worker 2:    /usr/bin/julia: undefined symbol: gtk_get_major_version
      From worker 2:    Stacktrace:
      From worker 2:     [1] top-level scope
      From worker 2:       @ ~/.julia/packages/Gtk/vBOOU/src/Gtk.jl:51
      From worker 2:     [2] include
      From worker 2:       @ ./Base.jl:418 [inlined]
      From worker 2:     [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::String)
      From worker 2:       @ Base ./loading.jl:1318
      From worker 2:     [4] top-level scope
      From worker 2:       @ none:1
      From worker 2:     [5] eval
      From worker 2:       @ ./boot.jl:373 [inlined]
      From worker 2:     [6] eval(x::Expr)
      From worker 2:       @ Base.MainInclude ./client.jl:453
      From worker 2:     [7] top-level scope
      From worker 2:       @ none:1
      From worker 2:    in expression starting at /home/marvin/.julia/packages/Gtk/vBOOU/src/Gtk.jl:2
      From worker 2:    ERROR: LoadError: Failed to precompile Gtk [4c0ca9eb-093a-5379-98c5-f87ac0bbbf44] to /home/marvin/.julia/compiled/v1.7/Gtk/jl_FZ97Nt.
      From worker 2:    Stacktrace:
      From worker 2:      [1] error(s::String)
      From worker 2:        @ Base ./error.jl:33
      From worker 2:      [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
      From worker 2:        @ Base ./loading.jl:1466
      From worker 2:      [3] compilecache(pkg::Base.PkgId, path::String)
      From worker 2:        @ Base ./loading.jl:1410
      From worker 2:      [4] _require(pkg::Base.PkgId)
      From worker 2:        @ Base ./loading.jl:1120
      From worker 2:      [5] require(uuidkey::Base.PkgId)
      From worker 2:        @ Base ./loading.jl:1013
      From worker 2:      [6] require(into::Module, mod::Symbol)
      From worker 2:        @ Base ./loading.jl:997
      From worker 2:      [7] include
      From worker 2:        @ ./Base.jl:418 [inlined]
      From worker 2:      [8] 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::String)
      From worker 2:        @ Base ./loading.jl:1318
      From worker 2:      [9] top-level scope
      From worker 2:        @ none:1
      From worker 2:     [10] eval
      From worker 2:        @ ./boot.jl:373 [inlined]
      From worker 2:     [11] eval(x::Expr)
      From worker 2:        @ Base.MainInclude ./client.jl:453
      From worker 2:     [12] top-level scope
      From worker 2:        @ none:1
      From worker 2:    in expression starting at /home/marvin/.julia/packages/ImageView/N01cp/src/ImageView.jl:1
      From worker 2:    ERROR: LoadError: Failed to precompile ImageView [86fae568-95e7-573e-a6b2-d8a6b900c9ef] to /home/marvin/.julia/compiled/v1.7/ImageView/jl_nWtvRP.
      From worker 2:    Stacktrace:
      From worker 2:      [1] error(s::String)
      From worker 2:        @ Base ./error.jl:33
      From worker 2:      [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
      From worker 2:        @ Base ./loading.jl:1466
      From worker 2:      [3] compilecache(pkg::Base.PkgId, path::String)
      From worker 2:        @ Base ./loading.jl:1410
      From worker 2:      [4] _require(pkg::Base.PkgId)
      From worker 2:        @ Base ./loading.jl:1120
      From worker 2:      [5] require(uuidkey::Base.PkgId)
      From worker 2:        @ Base ./loading.jl:1013
      From worker 2:      [6] require(into::Module, mod::Symbol)
      From worker 2:        @ Base ./loading.jl:997
      From worker 2:      [7] include(mod::Module, _path::String)
      From worker 2:        @ Base ./Base.jl:418
      From worker 2:      [8] include(x::String)
      From worker 2:        @ OpticSim ~/.julia/packages/OpticSim/6Aqml/src/OpticSim.jl:5
      From worker 2:      [9] top-level scope
      From worker 2:        @ ~/.julia/packages/OpticSim/6Aqml/src/OpticSim.jl:35
      From worker 2:     [10] include
      From worker 2:        @ ./Base.jl:418 [inlined]
      From worker 2:     [11] 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)
      From worker 2:        @ Base ./loading.jl:1318
      From worker 2:     [12] top-level scope
      From worker 2:        @ none:1
      From worker 2:     [13] eval
      From worker 2:        @ ./boot.jl:373 [inlined]
      From worker 2:     [14] eval(x::Expr)
      From worker 2:        @ Base.MainInclude ./client.jl:453
      From worker 2:     [15] top-level scope
      From worker 2:        @ none:1
      From worker 2:    in expression starting at /home/marvin/.julia/packages/OpticSim/6Aqml/src/Vis/Vis.jl:5
      From worker 2:    in expression starting at /home/marvin/.julia/packages/OpticSim/6Aqml/src/OpticSim.jl:5
      From worker 2:    WARNING: both ImageMetadata and ImageAxes export "data"; uses of it in module Images must be qualified
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Xorg_xkeyboard_config_jll [33bec58e-1273-512f-9401-5d533626f822]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for xkbcommon_jll [d8fb68d0-12a3-5cfd-a85a-d49703b185fd]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Xorg_xkeyboard_config_jll [33bec58e-1273-512f-9401-5d533626f822]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for GTK3_jll [77ec8976-b24b-556a-a1bf-49a033a670a6]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Xorg_xkeyboard_config_jll [33bec58e-1273-512f-9401-5d533626f822]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for xkbcommon_jll [d8fb68d0-12a3-5cfd-a85a-d49703b185fd]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Xorg_xkeyboard_config_jll [33bec58e-1273-512f-9401-5d533626f822]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ERROR: LoadError: could not load symbol "gtk_get_major_version":
      From worker 2:    /usr/bin/julia: undefined symbol: gtk_get_major_version
      From worker 2:    Stacktrace:
      From worker 2:     [1] top-level scope
      From worker 2:       @ ~/.julia/packages/Gtk/vBOOU/src/Gtk.jl:51
      From worker 2:     [2] include
      From worker 2:       @ ./Base.jl:418 [inlined]
      From worker 2:     [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::String)
      From worker 2:       @ Base ./loading.jl:1318
      From worker 2:     [4] top-level scope
      From worker 2:       @ none:1
      From worker 2:     [5] eval
      From worker 2:       @ ./boot.jl:373 [inlined]
      From worker 2:     [6] eval(x::Expr)
      From worker 2:       @ Base.MainInclude ./client.jl:453
      From worker 2:     [7] top-level scope
      From worker 2:       @ none:1
      From worker 2:    in expression starting at /home/marvin/.julia/packages/Gtk/vBOOU/src/Gtk.jl:2
      From worker 2:    ERROR: LoadError: Failed to precompile Gtk [4c0ca9eb-093a-5379-98c5-f87ac0bbbf44] to /home/marvin/.julia/compiled/v1.7/Gtk/jl_cZE1O8.
      From worker 2:    Stacktrace:
      From worker 2:      [1] error(s::String)
      From worker 2:        @ Base ./error.jl:33
      From worker 2:      [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
      From worker 2:        @ Base ./loading.jl:1466
      From worker 2:      [3] compilecache(pkg::Base.PkgId, path::String)
      From worker 2:        @ Base ./loading.jl:1410
      From worker 2:      [4] _require(pkg::Base.PkgId)
      From worker 2:        @ Base ./loading.jl:1120
      From worker 2:      [5] require(uuidkey::Base.PkgId)
      From worker 2:        @ Base ./loading.jl:1013
      From worker 2:      [6] require(into::Module, mod::Symbol)
      From worker 2:        @ Base ./loading.jl:997
      From worker 2:      [7] include
      From worker 2:        @ ./Base.jl:418 [inlined]
      From worker 2:      [8] 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::String)
      From worker 2:        @ Base ./loading.jl:1318
      From worker 2:      [9] top-level scope
      From worker 2:        @ none:1
      From worker 2:     [10] eval
      From worker 2:        @ ./boot.jl:373 [inlined]
      From worker 2:     [11] eval(x::Expr)
      From worker 2:        @ Base.MainInclude ./client.jl:453
      From worker 2:     [12] top-level scope
      From worker 2:        @ none:1
      From worker 2:    in expression starting at /home/marvin/.julia/packages/ImageView/N01cp/src/ImageView.jl:1
      From worker 2:    ERROR: LoadError: Failed to precompile ImageView [86fae568-95e7-573e-a6b2-d8a6b900c9ef] to /home/marvin/.julia/compiled/v1.7/ImageView/jl_jEDBXk.
      From worker 2:    Stacktrace:
      From worker 2:      [1] error(s::String)
      From worker 2:        @ Base ./error.jl:33
      From worker 2:      [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
      From worker 2:        @ Base ./loading.jl:1466
      From worker 2:      [3] compilecache(pkg::Base.PkgId, path::String)
      From worker 2:        @ Base ./loading.jl:1410
      From worker 2:      [4] _require(pkg::Base.PkgId)
      From worker 2:        @ Base ./loading.jl:1120
      From worker 2:      [5] require(uuidkey::Base.PkgId)
      From worker 2:        @ Base ./loading.jl:1013
      From worker 2:      [6] require(into::Module, mod::Symbol)
      From worker 2:        @ Base ./loading.jl:997
      From worker 2:      [7] include(mod::Module, _path::String)
      From worker 2:        @ Base ./Base.jl:418
      From worker 2:      [8] include(x::String)
      From worker 2:        @ OpticSim ~/.julia/packages/OpticSim/6Aqml/src/OpticSim.jl:5
      From worker 2:      [9] top-level scope
      From worker 2:        @ ~/.julia/packages/OpticSim/6Aqml/src/OpticSim.jl:35
      From worker 2:     [10] include
      From worker 2:        @ ./Base.jl:418 [inlined]
      From worker 2:     [11] 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)
      From worker 2:        @ Base ./loading.jl:1318
      From worker 2:     [12] top-level scope
      From worker 2:        @ none:1
      From worker 2:     [13] eval
      From worker 2:        @ ./boot.jl:373 [inlined]
      From worker 2:     [14] eval(x::Expr)
      From worker 2:        @ Base.MainInclude ./client.jl:453
      From worker 2:     [15] top-level scope
      From worker 2:        @ none:1
      From worker 2:    in expression starting at /home/marvin/.julia/packages/OpticSim/6Aqml/src/Vis/Vis.jl:5
      From worker 2:    in expression starting at /home/marvin/.julia/packages/OpticSim/6Aqml/src/OpticSim.jl:5
      From worker 2:    WARNING: both ImageMetadata and ImageAxes export "data"; uses of it in module Images must be qualified
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Xorg_xkeyboard_config_jll [33bec58e-1273-512f-9401-5d533626f822]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for xkbcommon_jll [d8fb68d0-12a3-5cfd-a85a-d49703b185fd]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Xorg_xkeyboard_config_jll [33bec58e-1273-512f-9401-5d533626f822]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for GTK3_jll [77ec8976-b24b-556a-a1bf-49a033a670a6]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Xorg_xkeyboard_config_jll [33bec58e-1273-512f-9401-5d533626f822]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for xkbcommon_jll [d8fb68d0-12a3-5cfd-a85a-d49703b185fd]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Xorg_xkeyboard_config_jll [33bec58e-1273-512f-9401-5d533626f822]
      From worker 2:    │   exception = Required dependency Xorg_libxkbfile_jll [cc61e674-0454-545c-8b26-ed2c68acab7a] failed to load from a cache file.
      From worker 2:    └ @ Base loading.jl:1132
      From worker 2:    ERROR: LoadError: could not load symbol "gtk_get_major_version":
      From worker 2:    /usr/bin/julia: undefined symbol: gtk_get_major_version
      From worker 2:    Stacktrace:
      From worker 2:     [1] top-level scope
      From worker 2:       @ ~/.julia/packages/Gtk/vBOOU/src/Gtk.jl:51
      From worker 2:     [2] include
      From worker 2:       @ ./Base.jl:418 [inlined]
      From worker 2:     [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::String)
      From worker 2:       @ Base ./loading.jl:1318
      From worker 2:     [4] top-level scope
      From worker 2:       @ none:1
      From worker 2:     [5] eval
      From worker 2:       @ ./boot.jl:373 [inlined]
      From worker 2:     [6] eval(x::Expr)
      From worker 2:       @ Base.MainInclude ./client.jl:453
      From worker 2:     [7] top-level scope
      From worker 2:       @ none:1
      From worker 2:    in expression starting at /home/marvin/.julia/packages/Gtk/vBOOU/src/Gtk.jl:2
      From worker 2:    ERROR: LoadError: Failed to precompile Gtk [4c0ca9eb-093a-5379-98c5-f87ac0bbbf44] to /home/marvin/.julia/compiled/v1.7/Gtk/jl_K8XDvk.
      From worker 2:    Stacktrace:
      From worker 2:      [1] error(s::String)
      From worker 2:        @ Base ./error.jl:33
      From worker 2:      [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
      From worker 2:        @ Base ./loading.jl:1466
      From worker 2:      [3] compilecache(pkg::Base.PkgId, path::String)
      From worker 2:        @ Base ./loading.jl:1410
      From worker 2:      [4] _require(pkg::Base.PkgId)
      From worker 2:        @ Base ./loading.jl:1120
      From worker 2:      [5] require(uuidkey::Base.PkgId)
      From worker 2:        @ Base ./loading.jl:1013
      From worker 2:      [6] require(into::Module, mod::Symbol)
      From worker 2:        @ Base ./loading.jl:997
      From worker 2:      [7] include
      From worker 2:        @ ./Base.jl:418 [inlined]
      From worker 2:      [8] 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::String)
      From worker 2:        @ Base ./loading.jl:1318
      From worker 2:      [9] top-level scope
      From worker 2:        @ none:1
      From worker 2:     [10] eval
      From worker 2:        @ ./boot.jl:373 [inlined]
      From worker 2:     [11] eval(x::Expr)
      From worker 2:        @ Base.MainInclude ./client.jl:453
      From worker 2:     [12] top-level scope
      From worker 2:        @ none:1
      From worker 2:    in expression starting at /home/marvin/.julia/packages/ImageView/N01cp/src/ImageView.jl:1
      From worker 2:    ERROR: LoadError: Failed to precompile ImageView [86fae568-95e7-573e-a6b2-d8a6b900c9ef] to /home/marvin/.julia/compiled/v1.7/ImageView/jl_YnxE6L.
      From worker 2:    Stacktrace:
      From worker 2:      [1] error(s::String)
      From worker 2:        @ Base ./error.jl:33
      From worker 2:      [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
      From worker 2:        @ Base ./loading.jl:1466
      From worker 2:      [3] compilecache(pkg::Base.PkgId, path::String)
      From worker 2:        @ Base ./loading.jl:1410
      From worker 2:      [4] _require(pkg::Base.PkgId)
      From worker 2:        @ Base ./loading.jl:1120
      From worker 2:      [5] require(uuidkey::Base.PkgId)
      From worker 2:        @ Base ./loading.jl:1013
      From worker 2:      [6] require(into::Module, mod::Symbol)
      From worker 2:        @ Base ./loading.jl:997
      From worker 2:      [7] include(mod::Module, _path::String)
      From worker 2:        @ Base ./Base.jl:418
      From worker 2:      [8] include(x::String)
      From worker 2:        @ OpticSim ~/.julia/packages/OpticSim/6Aqml/src/OpticSim.jl:5
      From worker 2:      [9] top-level scope
      From worker 2:        @ ~/.julia/packages/OpticSim/6Aqml/src/OpticSim.jl:35
      From worker 2:     [10] include
      From worker 2:        @ ./Base.jl:418 [inlined]
      From worker 2:     [11] 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)
      From worker 2:        @ Base ./loading.jl:1318
      From worker 2:     [12] top-level scope
      From worker 2:        @ none:1
      From worker 2:     [13] eval
      From worker 2:        @ ./boot.jl:373 [inlined]
      From worker 2:     [14] eval(x::Expr)
      From worker 2:        @ Base.MainInclude ./client.jl:453
      From worker 2:     [15] top-level scope
      From worker 2:        @ none:1
      From worker 2:    in expression starting at /home/marvin/.julia/packages/OpticSim/6Aqml/src/Vis/Vis.jl:5
      From worker 2:    in expression starting at /home/marvin/.julia/packages/OpticSim/6Aqml/src/OpticSim.jl:5

Desktop (please complete the following information):

  • OS: Manjaro 21.3.2 (KDE)
  • Julia version 1.7.3
  • OpticSim.jl version 0.6.0

Additional context

youcann avatar Jul 26 '22 13:07 youcann