We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error reading package image file
v1.9.2+
Same error occurs also on v1.9.3, v1.10-beta3, but it works on v1.9.1.
v1.9.3, v1.10-beta3
v1.9.1
Here I tested with the DocStringExtensions dependency of PkgCacheInsepctor.jl.
DocStringExtensions
PkgCacheInsepctor.jl
PkgCacheInspector.jl|main ⇒ jl --project _ _ _ _(_)_ | Documentation: https://docs.julialang.org (_) | (_) (_) | _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 1.9.2 (2023-07-05) _/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release |__/ | julia> using PkgCacheInspector julia> info_cachefile("DocStringExtensions") ERROR: Error reading package image file. Stacktrace: [1] info_cachefile(pkg::Base.PkgId, path::String, depmods::Vector{Any}, isocache::Bool) @ PkgCacheInspector ~/wd/PkgCacheInspector.jl/src/PkgCacheInspector.jl:190 [2] macro expansion @ ~/wd/PkgCacheInspector.jl/src/PkgCacheInspector.jl:222 [inlined] [3] macro expansion @ ./lock.jl:267 [inlined] [4] info_cachefile(pkg::Base.PkgId, path::String) @ PkgCacheInspector ~/wd/PkgCacheInspector.jl/src/PkgCacheInspector.jl:199 [5] info_cachefile(pkg::Base.PkgId) @ PkgCacheInspector ~/wd/PkgCacheInspector.jl/src/PkgCacheInspector.jl:236 [6] info_cachefile(pkgname::String) @ PkgCacheInspector ~/wd/PkgCacheInspector.jl/src/PkgCacheInspector.jl:256 [7] top-level scope @ REPL[2]:1
The text was updated successfully, but these errors were encountered:
<stdlib> has not yet been precompiled for julia x.x.x
I think this report here is related: JuliaLang/julia#53570 (comment)
I can also reproduce that with other packages, e.g. info_cachefile("Revise") gives the same error, but only after invoking it twice.
info_cachefile("Revise")
Sorry, something went wrong.
I have looked a bit into this issue (using v1.12 master). The error seems to be coming from here: https://github.com/JuliaLang/julia/blob/25c8128d079a48d2e964d47dd9d5e39a7d3641d6/src/staticdata.c#L3666-L3669
In particular, its always the checksum check there that fails, but I haven't gotten any further.
I can also reproduce, e.g. info_cachefile("Revise") gives the same error, but only after invoking it twice on Julia Nightly.
No branches or pull requests
Same error occurs also on
v1.9.3, v1.10-beta3
, but it works onv1.9.1
.Here I tested with the
DocStringExtensions
dependency ofPkgCacheInsepctor.jl
.The text was updated successfully, but these errors were encountered: