Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retina_scaling_factor not defined #60

Open
gfmoorhead opened this issue Jan 16, 2024 · 0 comments
Open

retina_scaling_factor not defined #60

gfmoorhead opened this issue Jan 16, 2024 · 0 comments

Comments

@gfmoorhead
Copy link

Using julia 1.10 on both macos-arm and ubuntu get the same error:

julia> using MousetrapMakie
Precompiling MousetrapMakie
Info Given MousetrapMakie was explicitly requested, output will be shown live
ERROR: LoadError: UndefVarError: retina_scaling_factor not defined
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base.jl:31
[2] top-level scope
@ ~/.julia/packages/MousetrapMakie/trewM/src/MousetrapMakie.jl:109
[3] include
@ Base ./Base.jl:495 [inlined]
[4] 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, UInt128}}, source::Nothing)
@ Base ./loading.jl:2216
[5] top-level scope
@ stdin:3
in expression starting at /Users/moo293/.julia/packages/MousetrapMakie/trewM/src/MousetrapMakie.jl:1
in expression starting at stdin:3
✗ MousetrapMakie
0 dependencies successfully precompiled in 10 seconds. 344 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

MousetrapMakie [aebf437e-4a9b-4da2-be5f-abfe051cab05]

Failed to precompile MousetrapMakie [aebf437e-4a9b-4da2-be5f-abfe051cab05] to "/Users/moo293/.julia/compiled/v1.10/MousetrapMakie/jl_9OFvFJ".
ERROR: LoadError: UndefVarError: retina_scaling_factor not defined
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base.jl:31
[2] top-level scope
@ ~/.julia/packages/MousetrapMakie/trewM/src/MousetrapMakie.jl:109
[3] include
@ Base ./Base.jl:495 [inlined]
[4] 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, UInt128}}, source::Nothing)
@ Base ./loading.jl:2216
[5] top-level scope
@ stdin:3
in expression starting at /Users/moo293/.julia/packages/MousetrapMakie/trewM/src/MousetrapMakie.jl:1
in expression starting at stdin:
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70
[2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{…}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, _from_loading::Bool, kwargs::@kwargs{…})
@ Pkg.API /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:1656
[3] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@kwargs{_from_loading::Bool})
@ Pkg.API /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
[4] precompile
@ Pkg.API /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined]
[5] #precompile#114
@ Pkg.API /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined]
[6] #invokelatest#2
@ Base ./essentials.jl:889 [inlined]
[7] invokelatest
@ Base ./essentials.jl:884 [inlined]
[8] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:1957
[9] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1806
[10] #invoke_in_world#3
@ Base ./essentials.jl:921 [inlined]
[11] invoke_in_world
@ Base ./essentials.jl:918 [inlined]
[12] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1797
[13] macro expansion
@ Base ./loading.jl:1784 [inlined]
[14] macro expansion
@ Base ./lock.jl:267 [inlined]
[15] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1747
[16] #invoke_in_world#3
@ Base ./essentials.jl:921 [inlined]
[17] invoke_in_world
@ Base ./essentials.jl:918 [inlined]
[18] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1740
Some type information was truncated. Use show(err) to see complete types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant