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

no method matching project_rel_path(::Pkg.Types.EnvCache, ::Nothing) on 1.10.5 #564

Closed
Moelf opened this issue Oct 14, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@Moelf
Copy link

Moelf commented Oct 14, 2024

CondaPkg Found dependencies: /home/jiling/.julia/environments/BjetTLA/CondaPkg.toml
    CondaPkg Found dependencies: /home/jiling/.julia/packages/PythonCall/Nr75f/CondaPkg.toml
ERROR: LoadError: InitError: MethodError: no method matching project_rel_path(::Pkg.Types.EnvCache, ::Nothing)

Closest candidates are:
  project_rel_path(::Pkg.Types.EnvCache, ::String)
   @ Pkg ~/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:921

Stacktrace:
  [1] package_info(env::Pkg.Types.EnvCache, pkg::Pkg.Types.PackageSpec, entry::Pkg.Types.PackageEntry)
    @ Pkg.API ~/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu[/share/julia/stdlib/v1.10/Pkg/src/API.jl:68](https://jiling-notebook-1.notebook.af.uchicago.edu/share/julia/stdlib/v1.10/Pkg/src/API.jl#line=67)
  [2] package_info
    @ ~/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:61 [inlined]
  [3] #9
    @ ./none:0 [inlined]
  [4] iterate
    @ ./generator.jl:47 [inlined]
  [5] _all(f::Base.var"#384#386", itr::Base.Generator{Vector{Pkg.Types.PackageSpec}, Pkg.API.var"#9#10"{Pkg.Types.EnvCache}}, ::Colon)
    @ Base ./reduce.jl:1297
  [6] all
    @ ./reduce.jl:1283 [inlined]
  [7] Dict(kv::Base.Generator{Vector{Pkg.Types.PackageSpec}, Pkg.API.var"#9#10"{Pkg.Types.EnvCache}})
    @ Base ./dict.jl:111
  [8] dependencies
    @ ~/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu[/share/julia/stdlib/v1.10/Pkg/src/API.jl:88](https://jiling-notebook-1.notebook.af.uchicago.edu/share/julia/stdlib/v1.10/Pkg/src/API.jl#line=87) [inlined]
  [9] dependencies()
    @ Pkg.API ~/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu[/share/julia/stdlib/v1.10/Pkg/src/API.jl:85](https://jiling-notebook-1.notebook.af.uchicago.edu/share/julia/stdlib/v1.10/Pkg/src/API.jl#line=84)
 [10] _resolve_find_dependencies(io::Any, load_path::Any)
    @ CondaPkg ~/.julia/packages/CondaPkg/iPD6F/src/resolve.jl:138
 [11] resolve(; force::Bool, io::IO, interactive::Bool, dry_run::Bool)
    @ CondaPkg ~/.julia/packages/CondaPkg/iPD6F/src/resolve.jl:541
 [12] resolve()
    @ CondaPkg ~/.julia/packages/CondaPkg/iPD6F/src/resolve.jl:471
 [13] envdir()
    @ CondaPkg ~/.julia/packages/CondaPkg/iPD6F/src/env.jl:70
 [14] init_context()
    @ PythonCall.C ~/.julia/packages/PythonCall/Nr75f/src/C/context.jl:63
 [15] __init__()
    @ PythonCall.C ~/.julia/packages/PythonCall/Nr75f/src/C/C.jl:23
 [16] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1134
 [17] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@Moelf Moelf added the bug Something isn't working label Oct 14, 2024
@Moelf
Copy link
Author

Moelf commented Oct 14, 2024

JuliaPy/CondaPkg.jl#154

@Moelf Moelf closed this as completed Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant