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

Disk cache setup requires Dagger in the environment #34

Closed
krynju opened this issue Jul 25, 2023 · 0 comments · Fixed by JuliaParallel/Dagger.jl#414
Closed

Disk cache setup requires Dagger in the environment #34

krynju opened this issue Jul 25, 2023 · 0 comments · Fixed by JuliaParallel/Dagger.jl#414

Comments

@krynju
Copy link
Member

krynju commented Jul 25, 2023


julia> DTables.enable_disk_caching!()
┌ Error: Error setting up disk caching on process id = 1
│   ex =
│    ArgumentError: Package Dagger not found in current path.
│    - Run `import Pkg; Pkg.add("Dagger")` to install the Dagger package.
│    Stacktrace:
│      [1] macro expansion
│        @ ./loading.jl:1630 [inlined]
│      [2] macro expansion
│        @ ./lock.jl:267 [inlined]
│      [3] require(into::Module, mod::Symbol)
│        @ Base ./loading.jl:1611
│      [4] eval
│        @ ./boot.jl:370 [inlined]
│      [5] eval
│        @ ./client.jl:480 [inlined]
│      [6] (::Dagger.var"#157#159"{Int64, Dict{Int64, Int64}, Int64})()
│        @ Dagger ~/.julia/packages/Dagger/u1awd/src/utils/caching.jl:70
│      [7] #invokelatest#2
│        @ ./essentials.jl:816 [inlined]
│      [8] invokelatest
│        @ ./essentials.jl:813 [inlined]
│      [9] #153
│        @ ~/julia-1.9.2/share/julia/stdlib/v1.9/Distributed/src/remotecall.jl:425 [inlined]
│     [10] run_work_thunk(thunk::Distributed.var"#153#154"{Dagger.var"#157#159"{Int64, Dict{Int64, Int64}, Int64}, Tuple{}, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}}, print_error::Bool)
│        @ Distributed ~/julia-1.9.2/share/julia/stdlib/v1.9/Distributed/src/process_messages.jl:70
│     [11] run_work_thunk(rv::Distributed.RemoteValue, thunk::Function)
│        @ Distributed ~/julia-1.9.2/share/julia/stdlib/v1.9/Distributed/src/process_messages.jl:79
│     [12] (::Distributed.var"#100#102"{Distributed.RemoteValue, Distributed.var"#153#154"{Dagger.var"#157#159"{Int64, Dict{Int64, Int64}, Int64}, Tuple{}, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}}})()
│        @ Distributed ./task.jl:514
└ @ Dagger ~/.julia/packages/Dagger/u1awd/src/utils/caching.jl:84
┌ Error: Disk cache setup failed
└ @ Dagger ~/.julia/packages/Dagger/u1awd/src/utils/caching.jl:89
false

(@v1.9) pkg> add Dagger
   Resolving package versions...
    Updating `~/.julia/environments/v1.9/Project.toml`
  [d58978e5] + Dagger v0.18.0
  No Changes to `~/.julia/environments/v1.9/Manifest.toml`

julia> DTables.enable_disk_caching!()
true
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

Successfully merging a pull request may close this issue.

1 participant