Comments (12)
What does JULIA_DEBUG=loading
say?
from julia.
┌ Debug: Rejecting cache file /home/kc/.julia/compiled/v1.12/Pkg/tUTdb_sLFSB.ji because required dependency Base.PkgId(Base.UUID("2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"), "Base64") failed to load from cache file for /home/kc/.julia/juliaup/julia-nightly/share/julia/compiled/v1.12/Base64/D7K0n_Ip9tx.ji.
│ exception = Error reading package image file.
weird..
from julia.
I am also surprised this doesn't print anything at all for Base64:
julia> ENV["JULIA_DEBUG"] = "loading"
"loading"
julia> using Base64
julia> using Example
┌ Debug: Loading object cache file /home/kc/.julia/compiled/v1.12/Example/lLvWP_sLFSB.so for Example [7876af07-990d-54b4-ab0e-23690620f79a]
└ @ Base loading.jl:1227
from julia.
I had some thought that the nightly build juliaup uses was corrupt somehow but building a local Julia on master it gives the exact same behavior.
from julia.
Base64 is an indirect dep of REPL, so it's already loaded?
from julia.
This method of loading Pkg seems to work:
❯ julia +nightly --project -iqe 'using REPL; using Pkg'
julia> pkgdir(Pkg)
"/home/kc/JuliaPkgs/Pkg.jl"
from julia.
Base64 is an indirect dep of REPL, so it's already loaded?
Okay, that makes sense, I looked in Base.loaded_modules
and it wasn't there so I assumed it wasn't loaded already:
julia> Base.loaded_modules
Dict{Base.PkgId, Module} with 12 entries:
PkgId(UUID("4536629a-c528-5b80-bd46-f80d51c5b363"), "OpenBLAS_jll") => OpenBLAS_jll
PkgId(UUID("8f399da3-3557-5675-b5ff-fb832c97cbdb"), "Libdl") => Libdl
PkgId(UUID("ea8e919c-243c-51af-8825-aaa63cd721ce"), "SHA") => SHA
PkgId(UUID("7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"), "FileWatching") => FileWatching
PkgId(UUID("56f22d72-fd6d-98f1-02f0-08ddc0907c33"), "Artifacts") => Artifacts
PkgId(UUID("8e850b90-86db-534c-a0d3-1478176c7d93"), "libblastrampoline_jll") => libblastrampoline_jll
PkgId(nothing, "Main") => Main
PkgId(nothing, "Core") => Core
PkgId(UUID("37e2e46d-f89d-539d-b4ee-838fcccc9c8e"), "LinearAlgebra") => LinearAlgebra
PkgId(nothing, "Base") => Base
PkgId(UUID("9a3f8284-a2c9-5f02-9a11-845980a1fd5c"), "Random") => Random
PkgId(UUID("6462fe0b-24de-5631-8697-dd941f90decc"), "Sockets") => Sockets
so I guess things that are loaded as part of require_stdlib
are now invisible but when you do using
on them they grab the invisible module and makes it visible?
But that shouldn't make Pkg have to compile over and over due to error when reading the Base64 pkgimage file I guess.
from julia.
┌ Debug: Rejecting cache file /home/kc/.julia/compiled/v1.12/Pkg/tUTdb_sLFSB.ji because required dependency Base.PkgId(Base.UUID("2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"), "Base64") failed to load from cache file for /home/kc/.julia/juliaup/julia-nightly/share/julia/compiled/v1.12/Base64/D7K0n_Ip9tx.ji. │ exception = Error reading package image file.
weird..
I have seen this too when trying to debug JuliaPy/PythonCall.jl#513.
There @kshyatt nailed down the problem to 71fa11f.
from julia.
Same thing happens when I revert that commit.
from julia.
from julia.
Yes, I think they are unrelated.
from julia.
Same happens with OhMyREPL on nightly:
┌ Debug: Loading object cache file /Users/kristoffercarlsson/.julia/juliaup/julia-nightly/share/julia/compiled/v1.12/StyledStrings/UcVoM_44pG1.dylib for StyledStrings [f489334b-da3d-4c2e-b8f0-e476e12c162b]
└ @ Base loading.jl:1227
┌ Debug: Rejecting cache file /Users/kristoffercarlsson/.julia/compiled/v1.12/OhMyREPL/08e1i_J2Ppx.ji because required dependency Base.PkgId(Base.UUID("f489334b-da3d-4c2e-b8f0-e476e12c162b"), "StyledStrings") failed to load from cache file for /Users/kristoffercarlsson/.julia/juliaup/julia-nightly/share/julia/compiled/v1.12/StyledStrings/UcVoM_44pG1.ji.
│ exception = Error reading package image file.
└ @ Base loading.jl:1962
┌ Debug: Loading object cache file /Users/kristoffercarlsson/.julia/juliaup/julia-nightly/share/julia/compiled/v1.12/StyledStrings/UcVoM_44pG1.dylib for StyledStrings [f489334b-da3d-4c2e-b8f0-e476e12c162b]
└ @ Base loading.jl:1227
┌ Debug: Rejecting cache file /Users/kristoffercarlsson/.julia/compiled/v1.12/OhMyREPL/08e1i_J2Ppx.ji because required dependency Base.PkgId(Base.UUID("f489334b-da3d-4c2e-b8f0-e476e12c162b"), "StyledStrings") failed to load from cache file for /Users/kristoffercarlsson/.julia/juliaup/julia-nightly/share/julia/compiled/v1.12/StyledStrings/UcVoM_44pG1.ji.
│ exception = Error reading package image file.
from julia.
Related Issues (20)
- `@test`'s use of kwargs is confusing and limits extensibility HOT 1
- Julia fails to build on a clean system due to memory error (in curl?) HOT 5
- Allow uplo='F' for Symmetric and Hermitian wrappers? HOT 2
- Shipped Windows binaries with new codesigning need `.ji` checksums updated HOT 3
- Emit OSC 9;9 escape sequences on Windows HOT 1
- Ambiguous behavior of Tuple constructor with mismatched array length HOT 2
- RetentionParameterEstimator hits incorrect assert in emit_masked_bits_compare
- Monorepo Packages via Submodules/Subpackages: Support in Pkg and Julia Compiler HOT 14
- Circular dependency detected for Symbolics.jl on Julia 1.11.0-rc2 HOT 7
- [REPL] Autocompletion of `ModuleName.@macro_name` is broken
- [REPL] Autocompletion of `@benchmark A .= A setup=(A=` is broken
- Deadlock doing I/O on a foreign thread while the main thread is blocked HOT 5
- `Conditional` lattice element is semantically broken in the presence of SSAValues HOT 1
- `Base.summarysize(::Symbol)` returns zero
- Mention accuracy of `Base.summarysize` in docstring
- `__init__` side effects order is not defined, such that any global effects from `__init__` are a data race HOT 3
- Extension cycles are problematic (long `precompile` times, difficult to understand/resolve) HOT 4
- Add tests about layout of Int128
- Defining `sum(f, ::MyArray; dims)` breaks `sum(::MyArray)`
- Choose number of OpenBLAS threads based on process affinity HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from julia.