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

"header of cache file appears to be corrupt"-error should maybe remove the offending ji file and try again #37794

Closed
KristofferC opened this issue Sep 29, 2020 · 0 comments

Comments

@KristofferC
Copy link
Member

KristofferC commented Sep 29, 2020

I have a package that cannot be precompiled anymore on master. Maybe related to #37595?

julia> using Foo
ERROR: AssertionError: header of cache file appears to be corrupt
Stacktrace:
 [1] parse_cache_header(f::IOStream)
   @ Base ./loading.jl:1336
 [2] stale_cachefile(modpath::String, cachefile::String, cache::Base.TOMLCache)
   @ Base ./loading.jl:1441
 [3] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, cache::Base.TOMLCache)
   @ Base ./loading.jl:667
 [4] _require(pkg::Base.PkgId, cache::Base.TOMLCache)
   @ Base ./loading.jl:930
 [5] require(uuidkey::Base.PkgId, cache::Base.TOMLCache)
   @ Base ./loading.jl:846
 [6] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:833

It seems my Julia is kind of weird in general now so I'll rebuild from scratch and see if this is still a problem.

Edit: Works fine now after nuking Julia and rebuilding.

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