WARNING: redefinition of constant OpenSSL_jll.PATH. This may fail, cause incorrect answers, or produce other errors.
WARNING: redefinition of constant OpenSSL_jll.LIBPATH. This may fail, cause incorrect answers, or produce other errors.
WARNING: redefinition of constant OpenSSL_jll.PATH_list. This may fail, cause incorrect answers, or produce other errors.
WARNING: redefinition of constant OpenSSL_jll.LIBPATH_list. This may fail, cause incorrect answers, or produce other errors.
β Error: Error watching manifest
β exception =
β MethodError: no method matching (::OpenSSL_jll.var"#make_wrapper_dict#6"{OpenSSL_jll.var"#parse_wrapper_platform#5"})(::String, ::Vector{String})
β The function `make_wrapper_dict` exists, but no method is defined for this combination of argument types.
β Stacktrace:
β [1] top-level scope
β @ C:\JuliaPackages\packages\JLLWrappers\GfYNv\src\toplevel_generators.jl:167
β Revise evaluation error at C:\JuliaPackages\packages\JLLWrappers\GfYNv\src\toplevel_generators.jl:167
β
β Stacktrace:
β [1] methods_by_execution!(recurse::Any, methodinfo::Revise.CodeTrackingMethodInfo, docexprs::Dict{Module, Vector{Expr}}, mod::Module, ex::Expr; mode::Symbol, disablebp::Bool, always_rethrow::Bool, kwargs::@Kwargs{})
β @ Revise C:\JuliaPackages\packages\Revise\mLfYT\src\lowered.jl:306
β @ Revise C:\JuliaPackages\packages\Revise\mLfYT\src\pkgs.jl:498
and then my βprojectβ environment, which I have to activate. How is the recommended way of handling Revise.jl loading? Should I rather have it in my project env?
I donβt think itβs a problem of Revise per se. Having different package versions in stacked environments is bound to bear problems eventually one way or another, the only thing to do is not to have different versions (canβt say I like the package manager allowing this).
But this is again my blind guess without knowing what youβre doing, youβll have to inspect your environment and tell us if my hypothesis was correct.
When I have a Project.toml for A and for B, can I safely switch between them? Or should I simply have one root Project.toml? When I open VSCode in the root I cannot activate the sub-environments anyway via the extension.
Not necessarily. Itβs stacking environments with different versions of packages which is potentially problematic.
Where are the Manifest.toml files? They have the versions of the package, thatβs where you should look into. But also, you likely have the global environment in .julia/environments/v1.X, that could be the base of your stack.
Again, it depends on whether all versions of packages are the same. Even if there are some which are different you may not observe issues in practice though.