Skip to content

type BasicREPL has no field interface #4048

@fonsp

Description

@fonsp

A user posted fonsp/Pluto.jl#3059 where the REPL printed the following error after running using Pluto:

ERROR: InitError: type BasicREPL has no field interface
Stacktrace:
  [1] getproperty
    @ ./Base.jl:49 [inlined]
  [2] repl_init(repl::REPL.BasicREPL)
    @ REPLExt ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/REPLExt.jl:164
  [3] __init__()
    @ REPLExt ~/.julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/REPLExt.jl:305
  [4] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1336
  [5] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1324
  [6] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{…}, ignore_native::Nothing; register::Bool)
    @ Base ./loading.jl:1213
  [7] _include_from_serialized (repeats 2 times)
    @ ./loading.jl:1169 [inlined]
  [8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{…}, DEPOT_PATH::Vector{…})
    @ Base ./loading.jl:1959
  [9] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:2435
 [10] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2300
 [11] #invoke_in_world#3
    @ ./essentials.jl:1088 [inlined]
 [12] invoke_in_world
    @ ./essentials.jl:1085 [inlined]
 [13] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2287
 [14] macro expansion
    @ ./loading.jl:2226 [inlined]
 [15] macro expansion
    @ ./lock.jl:273 [inlined]
 [16] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2183
 [17] #invoke_in_world#3
    @ ./essentials.jl:1088 [inlined]
 [18] invoke_in_world
    @ ./essentials.jl:1085 [inlined]
 [19] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2176
during initialization of module REPLExt

Pointing here:

main_mode = repl.interface.modes[1]

Why did this error happen, and how is it related to Pluto?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions