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

weak deps don't load when prempting LOAD_PATH #48595

Closed
t-bltg opened this issue Feb 8, 2023 · 1 comment
Closed

weak deps don't load when prempting LOAD_PATH #48595

t-bltg opened this issue Feb 8, 2023 · 1 comment

Comments

@t-bltg
Copy link
Contributor

t-bltg commented Feb 8, 2023

I have a bunch of pushfirst!(LOAD_PATH, "...") in my startup.jl.

This prevents extensions from loading somehow:

julia> using ImageInTerminal
julia> using UnicodePlots
julia> "ImageInTerminalExt"  map(x -> x.name, collect(keys(Base.loaded_modules)))
false

I thought it was fixed by #48352, but it doesn't (this is on julia 1.9.0-beta4 (which has this PR backported)).

How can we debug extensions loading ?

cc @KristofferC.

@t-bltg
Copy link
Contributor Author

t-bltg commented Feb 8, 2023

Hum, there seems to be some precompilation related issue here.
Clearing the cache and recompiling seems to fix this.

@t-bltg t-bltg closed this as completed Feb 8, 2023
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