# Unable to run Julia in Atom

**URL:** <https://discourse.julialang.org/t/unable-to-run-julia-in-atom/30694>\
**Category:** New to Julia\
**Created:** [November 4, 2019, 1:26pm UTC](https://discourse.julialang.org/t/unable-to-run-julia-in-atom/30694 "2019-11-04T13:26:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![gcalajo](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@gcalajo](https://discourse.julialang.org/u/gcalajo)\
**Post date:** [November 4, 2019, 1:26pm UTC](https://discourse.julialang.org/t/unable-to-run-julia-in-atom/30694/1 "2019-11-04T13:26:40Z")

</div>

I was using Julia v 0.64 ( I need to use a code written in this version) in Atom in the last months without any issues.  
Today the REPL was not able to start Julia exting all time.  
I so uninstalled and reinstalled again both Julia, Atom and all the related folders.  
Now it gives me this error-

Press Enter to start a new session.  
ERROR: LoadError: UndefVarError: @error not defined  
Stacktrace:  
[1] include\_from\_node1(::String) at .\loading.jl:576  
[2] include(::String) at .\sysimg.jl:14  
[3] process\_options(::Base.JLOptions) at .\client.jl:305  
[4] \_start() at .\client.jl:371  
while loading C:\Users\gcalajo.atom\packages\julia-client\script\boot\_repl.jl, in expression starting on line 1

I retried to repeat uninstall and reinstall again and give me always the same error.  
Someone can help?

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [November 4, 2019, 1:33pm UTC](https://discourse.julialang.org/t/unable-to-run-julia-in-atom/30694/2 "2019-11-04T13:33:50Z")

</div>

See

> [@Repl in Juno, type enter and report an error](https://discourse.julialang.org/t/repl-in-juno-type-enter-and-report-an-error/30688/4):
>
> We’ve been trying to keep julia-client compatible with Julia 0.6, but recently merged a PR that broke that. Should be fixed again by [this](https://github.com/JunoLab/atom-julia-client/pull/654).

---

<div class="post-metadata">

**Author:** ![gcalajo](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@gcalajo](https://discourse.julialang.org/u/gcalajo)\
**Post date:** [November 4, 2019, 1:46pm UTC](https://discourse.julialang.org/t/unable-to-run-julia-in-atom/30694/3 "2019-11-04T13:46:15Z")

</div>

Thanks for answering, but where it should go this script?

---

<div class="post-metadata">

**Author:** ![pixel27](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pixel27/32/8902_2.png) [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Post date:** [November 4, 2019, 4:45pm UTC](https://discourse.julialang.org/t/unable-to-run-julia-in-atom/30694/4 "2019-11-04T16:45:33Z")

</div>

I think if you drop that `boot_reql.jl` in `~/.atom/packages/julia-client/scripts` and start atom that will probably work. I would save the original file just in case.

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [November 4, 2019, 5:21pm UTC](https://discourse.julialang.org/t/unable-to-run-julia-in-atom/30694/5 "2019-11-04T17:21:40Z")

</div>

Do note that the script in that PR was actually incorrect – please use [this version](https://github.com/JunoLab/atom-julia-client/blob/master/script/boot_repl.jl) instead or wait for the next release of julia-client.

---

<div class="post-metadata">

**Author:** ![gcalajo](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@gcalajo](https://discourse.julialang.org/u/gcalajo)\
**Post date:** [November 4, 2019, 5:48pm UTC](https://discourse.julialang.org/t/unable-to-run-julia-in-atom/30694/6 "2019-11-04T17:48:32Z")

</div>

Thanks a lot!Now with the new script it is working again.  
The only (not big I guess) issue is that is remaining a warning:  
WARNING: Atom.jl: unrecognised message updateeditor.

It is something that can be fix or it will remain for this version?

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [November 4, 2019, 7:11pm UTC](https://discourse.julialang.org/t/unable-to-run-julia-in-atom/30694/7 "2019-11-04T19:11:50Z")

</div>

> [@gcalajo](#):
>
> It is something that can be fix or it will remain for this version?

I don’t think there will be any further updates to Atom.jl for Julia 0.6. You can however add

```julia
handle("updateeditor") do data
end

```

to [this file](https://github.com/JunoLab/Atom.jl/blob/julia-0.6/src/misc.jl) locally, which will get rid of the warning.

---

<div class="post-metadata">

**Author:** ![gcalajo](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@gcalajo](https://discourse.julialang.org/u/gcalajo)\
**Post date:** [November 5, 2019, 8:31am UTC](https://discourse.julialang.org/t/unable-to-run-julia-in-atom/30694/8 "2019-11-05T08:31:27Z")

</div>

Thanks a lot again for the help!.

---

<div class="post-metadata">

**Author:** ![muriloasouza](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/muriloasouza/32/4650_2.png) [@muriloasouza](https://discourse.julialang.org/u/muriloasouza)\
**Post date:** [November 26, 2019, 6:18pm UTC](https://discourse.julialang.org/t/unable-to-run-julia-in-atom/30694/9 "2019-11-26T18:18:12Z")

</div>

Hello, this didn’t worked for me. I added that to the file and the warning messages still appears.

EDIT: Actually, i have edited the wrong `misc.jl` file. Could you tell me where exactly that file i need to modify is in Windows?

I’ve been looking inside this path:

`C:\Users\Muril\.julia\packages\Atom`

And, inside that Atom folder, there are 2 more folders witch contains a `misc.jl` file, but none of them looks like the one you posted here.
