Closed jishnub closed 6 months ago
I'm seeing the same here. I'm willing to provide warning outputs or test any potential fixes if helpful.
Same here
I bisected this to https://github.com/JuliaLang/julia/pull/52637, 2481fdf95c687799b28640c7cc863deb7d942181
.
Similar symptoms on 1.10.1 and nightly.
More reports on discourse https://discourse.julialang.org/t/revise-warnings-on-v1-10-1/110237/9
CC: @KristofferC
This makes the julia process partially broken, because for example the fallback method for mean(::AbstractArray) is deleted and then I can't plot anymore with Makie.
I bisected this to https://github.com/JuliaLang/julia/pull/52637, 2481fdf95c687799b28640c7cc863deb7d942181.
Thanks, I will try to understand what's going on.
I cannot reproduce this locally so I will just revert that PR for 1.10.2. I don't see anything wrong with it though so perhaps this is a bug in Revise.
┌ Warning: /cache/build/default-maughin-0/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/OpenLibm_jll/src is not an existing directory, Revise is not watching
Looks like it is finding the build path of julia, not sure why.
┌ Warning: /home/jishnu/packages/julias/julia-1.10/share/julia/stdlib/v1.10/Statistics/src/Statistics.jl/src is not an existing directory, Revise is not watching
Looks like it thinks it would get the directory of the package somewhere but instead got the full path including src/Statistics.jl/
.
I might understand from:
julia> id_stdlib = Base.identify_package("SparseArrays")
SparseArrays [2f01184e-e22b-5df5-ae63-d93ebab69eaf]
julia> id_pkg = Base.identify_package("Example")
Example [7876af07-990d-54b4-ab0e-23690620f79a]
julia> Base.explicit_manifest_uuid_path(Base.active_project(), id_stdlib)
"/Users/kristoffercarlsson/.julia/juliaup/julia-1.10.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.10/SparseArrays/src/SparseArrays.jl"
julia> Base.explicit_manifest_uuid_path(Base.active_project(), id_pkg)
"/Users/kristoffercarlsson/.julia/packages/Example/aqsx3"
There is an inconsistency there that with the stdlib we get a path to the entry file while with the normal package we get the path to the folder. For Base itself this turns out to not matter but Revise uses some internals from code loading:
https://github.com/timholy/Revise.jl/blob/dbbeb3594a4ea3eebd861e8ceea8fc746efc0f82/src/pkgs.jl#L410
Can people try out https://github.com/timholy/Revise.jl/pull/806? I'm having some troubles reproducing this myself so some help would be good.
3.5.14 is on the way through the registration system. If someone can repro this with that Revise version please comment
3.5.14 seems to work for me
Seems to be resolved here too, thanks!
I'm relatively reliably being able to replicate the following warnings on Julia v1.10.1:
These seem to persist even if I delete the compiled cache and the package directories, as well as the default environment manifest.