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

Repl no longer works with my startup.jl file #55313

Closed
ajahraus opened this issue Jul 30, 2024 · 1 comment
Closed

Repl no longer works with my startup.jl file #55313

ajahraus opened this issue Jul 30, 2024 · 1 comment

Comments

@ajahraus
Copy link

I have a .julia\config\startup.jl file which works great for v1.10, but crashes when I launch Julia v1.11

When I launch the REPL on v1.10, I get simply this:
image

but when I launch the REPL on v1.11, I get this error, and my startup.jl didn't have any impact:
image

The contents of the startup.jl file are as follows:

atreplinit() do repl
    @eval using Revise, OhMyREPL
    @eval import REPL
    if !isdefined(repl, :interface)
        repl.interface = REPL.setup_interface(repl)
    end
    REPL.numbered_prompt!(repl)
end

This was installed via juliaup, and I observed the same behaviour on v1.11.0-rc1

Heres' the return value of versioninfo()

julia> versioninfo()
Julia Version 1.11.0-rc2
Commit 34c3a63147 (2024-07-29 06:24 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 20 × Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, skylake)
Threads: 20 default, 0 interactive, 10 GC (on 20 virtual cores)
Environment:
  JULIA_NUM_THREADS = auto
@KristofferC
Copy link
Sponsor Member

This is KristofferC/OhMyREPL.jl#345

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

No branches or pull requests

2 participants