Genie Discord forum

Author AvatarMordegai
5/10/2023, 12:00:23 PM

ERROR: LoadError: ArgumentError: Package Compat does not have Dates in its dependencies:

  • You may have a partially installed environment. Try Pkg.instantiate() to ensure all packages in the environment are installed.
  • Or, if you have Compat checked out for development and have added Dates as a dependency but haven't updated your primary environment's manifest file, try Pkg.resolve().
  • Otherwise you may need to report an issue with Compat Stacktrace: 1 macro expansion @ ./loading.jl:1167 inlined2 macro expansion @ ./lock.jl:223 inlined3 require(into::Module, mod::Symbol) @ Base ./loading.jl:1144 4 top-level scope @ ~/.julia/packages/Compat/sZEKP/src/Compat.jl:8 5 include @ ./Base.jl:419 inlined6 include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String) @ Base ./loading.jl:1554 7 top-level scope @ stdin:1 in expression starting at /Users/stef/.julia/packages/Compat/sZEKP/src/Compat.jl:1 in expression starting at stdin:1

I'm completely new to Genie and maybe I forgot to do something with the modules (they are added to the REPL environment) or does it have to do with the upgrade to 1.9?

Author AvatarPere
5/10/2023, 12:41:05 PM

it looks like you need to instantiate the packages. In the REPL, enter Pkg mode with ]and then do

(@v1.9) pkg> resolve
(@v1.9) pkg> instantiate
Author AvatarMordegai
5/10/2023, 1:29:44 PM

I did that but to no avail. Anyway, I guess that starting the server through the plugin UI in VS Code uses the same environment as the REPL I start alongside it.

Author Avatarabhimanyuaryan
5/10/2023, 7:50:33 PM

you need to share more information. What's the app/any MWE. What is it that you are running

GenieBuilder App, Genie App, Stipple App?

Author Avatarabhimanyuaryan
5/10/2023, 7:51:40 PM

it's hard to debug by looking at just the error. However the error is quite straight. I have been using Julia 1.9 release candidate for 2+ months and everything looks fine on my side so will need more input to debug this

Author AvatarMordegai
5/11/2023, 8:09:16 AM

I managed to solve the problem. I had changed the path to Julia 1.9 in the Julia plugin of VS Code but not in my $PATH, which is used by the GenieBuilder plugin. That one was still using Julia 1.8.5.