Cannot use Juno with Atom, Atom package precompilation failed

Probably I’m doing something wrong, but I cannot set up juno with Atom.
Julia version 1.0.3;

In the end, it shows following backtrace:

Starting Julia…
[ Info: Precompiling Atom [c52e3926-4ff0-5f6e-af25-54175e0327b1]
ERROR: LoadError: LoadError: UndefVarError: IMMUTABLE not defined
Stacktrace:
[1] getproperty(::Module, ::Symbol) at .\sysimg.jl:13
[2] top-level scope at none:0
[3] include at .\boot.jl:317 [inlined]
[4] include_relative(::Module, ::String) at .\loading.jl:1044
[5] include at .\sysimg.jl:29 [inlined]
[6] include(::String) at C:\Users\isandler\space\jdepot\packages\CodeTools\64cI5\src\CodeTools.jl:1
[7] top-level scope at none:0
[8] include at .\boot.jl:317 [inlined]
[9] include_relative(::Module, ::String) at .\loading.jl:1044
[10] include(::Module, ::String) at .\sysimg.jl:29
[11] top-level scope at none:2
[12] eval at .\boot.jl:319 [inlined]
[13] eval(::Expr) at .\client.jl:393
[14] top-level scope at .\none:3
in expression starting at C:\Users\isandler\space\jdepot\packages\CodeTools\64cI5\src\module.jl:55
in expression starting at C:\Users\isandler\space\jdepot\packages\CodeTools\64cI5\src\CodeTools.jl:7
ERROR: LoadError: LoadError: Failed to precompile CodeTools [53a63b46-67e4-5edd-8c66-0af0544a99b9] to C:\Users\isandler\space\jdepot\compiled\v1.0\CodeTools\8fUnH.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1203
[3] _require(::Base.PkgId) at .\loading.jl:960
[4] require(::Base.PkgId) at .\loading.jl:858
[5] require(::Module, ::Symbol) at .\loading.jl:853
[6] include at .\boot.jl:317 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1044
[8] include at .\sysimg.jl:29 [inlined]
[9] include(::String) at C:\Users\isandler\space\jdepot\packages\Atom\WUITc\src\Atom.jl:3
[10] top-level scope at none:0
[11] include at .\boot.jl:317 [inlined]
[12] include_relative(::Module, ::String) at .\loading.jl:1044
[13] include(::Module, ::String) at .\sysimg.jl:29
[14] top-level scope at none:2
[15] eval at .\boot.jl:319 [inlined]
[16] eval(::Expr) at .\client.jl:393
[17] top-level scope at .\none:3
in expression starting at C:\Users\isandler\space\jdepot\packages\Atom\WUITc\src\eval.jl:1
in expression starting at C:\Users\isandler\space\jdepot\packages\Atom\WUITc\src\Atom.jl:31
ERROR: LoadError: Failed to precompile Atom [c52e3926-4ff0-5f6e-af25-54175e0327b1] to C:\Users\isandler\space\jdepot\compiled\v1.0\Atom\w9XOh.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1203
[3] _require(::Base.PkgId) at .\loading.jl:960
[4] require(::Base.PkgId) at .\loading.jl:858
[5] require(::Module, ::Symbol) at .\loading.jl:853
[6] top-level scope at C:\Users\isandler.atom\packages\julia-client\script\boot_repl.jl:31
[7] include at .\boot.jl:317 [inlined]
[8] include_relative(::Module, ::String) at .\loading.jl:1044
[9] include(::Module, ::String) at .\sysimg.jl:29
[10] exec_options(::Base.JLOptions) at .\client.jl:266
[11] _start() at .\client.jl:425
in expression starting at C:\Users\isandler.atom\packages\julia-client\script\boot_repl.jl:1

I’m also reporting the same issue. Juno is no longer working since yesterday.

See
https://github.com/JunoLab/CodeTools.jl/issues/31

Will be fixed by pkg> up once
https://github.com/JuliaLang/METADATA.jl/pull/20317

is merged. In the meantime you should also be able to solve the issue with

pkg> pin Tokenize@0.5.2
1 Like

Alright, the METADATA PR is merged, so everything should work again after the next pkg> up.

1 Like

Working! Thank you very much!!!

Thanks a lot for the support!

Thank you so much. It just works after up.

Hello,

I am having the same problem but I cannot interrupt Julia (?) and type up. I think the REPL is still running? What should I try to do?

You’ll need to start Julia (e.g. by navigating to the path you gave in the julia-client settings and opening the Julia binary there) outside of Juno once to use that command.

2 Likes

Thank you! It worked!

after running

pkg> up

it still isn’t working.
[no changes] for both Project.toml and Manifest.toml

What does pkg> status return?