Hello everyone! I am getting a very strange error when I try to run my Julia program. It looks as follows:
ERROR: expected package `CSV [336ed68f]` to exist in the manifest (use `resolve` to populate the manifest)
Stacktrace:
[1] pkgerror(::String, ::Vararg{String})
@ Pkg.Types /scratch1/users/koehne19/patchwork_benchmarking/julia-1.8.2/share/julia/stdlib/v1.8/Pkg/src/Types.jl:67
[2] package_info
@ /scratch1/users/koehne19/patchwork_benchmarking/julia-1.8.2/share/julia/stdlib/v1.8/Pkg/src/API.jl:55 [inlined]
[3] #9
@ ./none:0 [inlined]
[4] iterate
@ ./generator.jl:47 [inlined]
[5] _all(f::Base.var"#343#345", itr::Base.Generator{Vector{Pkg.Types.PackageSpec}, Pkg.API.var"#9#10"{Pkg.Types.EnvCache}}, #unused#::Colon)
@ Base ./reduce.jl:1250
[6] all
@ ./reduce.jl:1246 [inlined]
[7] Dict(kv::Base.Generator{Vector{Pkg.Types.PackageSpec}, Pkg.API.var"#9#10"{Pkg.Types.EnvCache}})
@ Base ./dict.jl:131
[8] dependencies
@ /scratch1/users/koehne19/patchwork_benchmarking/julia-1.8.2/share/julia/stdlib/v1.8/Pkg/src/API.jl:85 [inlined]
[9] dependencies
@ /scratch1/users/koehne19/patchwork_benchmarking/julia-1.8.2/share/julia/stdlib/v1.8/Pkg/src/API.jl:82 [inlined]
[10] packageversion(name::String)
@ Main.Patchwork /scratch/users/koehne19/patchwork_benchmarking/Patchwork/src/alignedregion.jl:851
[11] slicealignment(region::Main.Patchwork.AlignedRegion, indices::UnitRange{Int64})
@ Main.Patchwork /scratch/users/koehne19/patchwork_benchmarking/Patchwork/src/alignedregion.jl:400
[12] merge(a::Main.Patchwork.AlignedRegion, b::Main.Patchwork.AlignedRegion, skipcheck::Bool)
@ Main.Patchwork /scratch/users/koehne19/patchwork_benchmarking/Patchwork/src/alignedregion.jl:600
[13] merge
@ /scratch/users/koehne19/patchwork_benchmarking/Patchwork/src/alignedregion.jl:587 [inlined]
[14] mergeoverlaps(regions::Main.Patchwork.AlignedRegionCollection, sorted::Bool, iteration::Int64, maxiterate::Int64)
@ Main.Patchwork /scratch/users/koehne19/patchwork_benchmarking/Patchwork/src/alignedregioncollection.jl:206
[15] mergeoverlaps
@ /scratch/users/koehne19/patchwork_benchmarking/Patchwork/src/alignedregioncollection.jl:193 [inlined]
[16] main()
@ Main.Patchwork /scratch/users/koehne19/patchwork_benchmarking/Patchwork/src/Patchwork.jl:464
[17] julia_main()
@ Main.Patchwork /scratch/users/koehne19/patchwork_benchmarking/Patchwork/src/Patchwork.jl:521
[18] top-level scope
@ /scratch/users/koehne19/patchwork_benchmarking/Patchwork/src/Patchwork.jl:531
[19] include(mod::Module, _path::String)
@ Base ./Base.jl:419
[20] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:303
[21] _start()
@ Base ./client.jl:522
The thing is, CSV
actually is in the Manifest file, so import Pkg; Pkg.resolve()
doesn’t change anything. Also, this error doesn’t happen for all datasets, and not even for the same dataset when running the compiled and uncompiled versions of my program just to check. Thanks for your help!