Open mkarikom opened 3 years ago
It also fails on Julia 1.6.2:
$ julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.6.2 (2021-07-14)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using Rebugger
[ Info: Precompiling Rebugger [ee283ea6-eecd-56e3-beb3-83eb4d3c31e9]
ERROR: LoadError: InitError: MethodError: no method matching Base.TOMLCache()
Closest candidates are:
Base.TOMLCache(::Base.TOML.Parser, ::Dict{String, Base.CachedTOMLDict}) at loading.jl:215
Base.TOMLCache(::Any, ::Any) at loading.jl:215
Stacktrace:
[1] manifest_file(project_file::String)
@ Revise ~/.julia/packages/Revise/qxX5H/src/pkgs.jl:451
[2] manifest_file
@ ~/.julia/packages/Revise/qxX5H/src/pkgs.jl:461 [inlined]
[3] __init__()
@ Revise ~/.julia/packages/Revise/qxX5H/src/Revise.jl:1334
[4] _include_from_serialized(path::String, depmods::Vector{Any})
@ Base ./loading.jl:696
[5] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
@ Base ./loading.jl:782
[6] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1020
[7] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:936
[8] require(into::Module, mod::Symbol)
@ Base ./loading.jl:923
[9] include
@ ./Base.jl:386 [inlined]
[10] 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::Nothing)
@ Base ./loading.jl:1235
[11] top-level scope
@ none:1
[12] eval
@ ./boot.jl:360 [inlined]
[13] eval(x::Expr)
@ Base.MainInclude ./client.jl:446
[14] top-level scope
@ none:1
during initialization of module Revise
in expression starting at /home/adam/.julia/packages/Rebugger/ApBeQ/src/Rebugger.jl:1
ERROR: Failed to precompile Rebugger [ee283ea6-eecd-56e3-beb3-83eb4d3c31e9] to /home/adam/.julia/compiled/v1.6/Rebugger/jl_veJD4P.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool)
@ Base ./loading.jl:1385
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1329
[4] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1043
[5] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:936
[6] require(into::Module, mod::Symbol)
@ Base ./loading.jl:923
fails with same error ERROR: LoadError: InitError: MethodError: no method matching Base.TOMLCache()
on Julia-1.6.4 on Windows 10 as well
I confirm the same problem on Julia 1.7, Ubuntu 20.04 64bit.
And on Julia 1.7.2 Ubuntu 20.04 64bit, but Debugger is now working
steps to reproduce: