-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
using Pluto
load error when repl started with PackageCompiler.jl sysimage
#2224
Comments
Does the sysimage or your global environment contain HTTP version 1 or above? Note that packages defined in a higher level of the environment will always persist inside Julia even if lower-level packages indicate that they don't work with the earlier defined package. This is a known bug (JuliaLang/julia#36372). |
Based on the fact that your issue is at pkg> st
[...] If that is the case, then I would advice to be more selective in deciding what you install in the global environment. In my case, the global environment contains only BenchmarkTools, Revise, TestEnv, PProf and Pluto. These are all more app's than packages. For the rest, use separate environments via
or
Given that this issue appears to not be Pluto related, I'll close it. Feel free to reopen if my bet is wrong and you do not have HTTP version 1 or higher installed in your global environment. |
Thanks for the info. My global environment is sparse with only: (@v1.7) pkg> st
Status `~/.julia/environments/v1.7/Project.toml`
[6e4b80f9] BenchmarkTools v1.3.1
[295af30f] Revise v3.3.3 However, when I use
So, it would indeed appear that this is the problem. Thanks again, I'll consider this something to workaround until #2185 is complete. |
Julia Version 1.7.3
Pluto Version 0.19.9
OS Linux/Ubuntu 22.04
I followed the PackageCompiler.jl example for creating a
sys_image.so
withPlots.jl
. This worked without errors.When starting
julia -J ~/.julia/sys_image.so
, activating a project with Pluto and callingusing Pluto
I get the following errorsTo keep things simple I used a temp environment so that Pluto and the
sys_image.so
were the only things loadedactivate --temp add Pluto
For reference, I created the
sys_image.so
withAs a further test I tried adding
Luxor.jl
and thenusing Luxor
, which was fine. Pluto works normally when starting julia without an image.Not sure if this is related to #1937 at all?
Bit of a noob, so apologies in advanced if this is a failure of my understanding.
The text was updated successfully, but these errors were encountered: