# Cannot precompile module Atom.jl

**URL:** <https://discourse.julialang.org/t/cannot-precompile-module-atom-jl/2090>\
**Category:** General Usage\
**Tags:** juno\
**Created:** [February 13, 2017, 9:39pm UTC](https://discourse.julialang.org/t/cannot-precompile-module-atom-jl/2090 "2017-02-13T21:39:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pitao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pitao/32/116_2.png) [@pitao](https://discourse.julialang.org/u/pitao)\
**Post date:** [February 13, 2017, 9:39pm UTC](https://discourse.julialang.org/t/cannot-precompile-module-atom-jl/2090/1 "2017-02-13T21:39:10Z")

</div>

I’m trying (on OSX) master Julia + master Juno, which is probably asking for trouble.

I’ve put the date in the topic as I can imagine the same question being asked frequently in the future whenever something goes wrong.

Trying `1+1` in the console forces compilation of `Atom.jl`, which generates:

```julia
INFO: 
Precompiling module Atom.
ERROR: LoadError: LoadError: 
UndefVarError: LambdaInfo not defined
Stacktrace:
 [1] 
include_from_node1(::String) at ./loading.jl:539
 [2] include(::String) at ./sysimg.jl:14
 [3] include_from_node1(::String) at ./loading.jl:539
 [4] include(::String) at ./sysimg.jl:14
 [5] anonymous at ./<missing>:2
while loading /Users/pi/.julia/v0.6/Juno/src/base/base.jl, in expression starting on line 178
while loading /Users/pi/.julia/v0.6/Juno/src/Juno.jl, in expression starting on line 39
<+ 2 more errors>

```

Inspecting the stack trace backwards, line 39 of `Juno.jl` just includes `base.jl`

However `base.jl` only has 148 lines, so I think there is some error in the error reporting mechanism, as it is reporting an error on line 178!

The last line is `include("methods.jl")` so I am guessing maybe this file gets expanded into this location, which means I would be looking for an error 30 lines in.

[https://github.com/JunoLab/Juno.jl/blob/master/src/base/methods.jl#L30](https://github.com/JunoLab/Juno.jl/blob/master/src/base/methods.jl#L30)

meh.

Can anyone get me to the next step?

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [February 13, 2017, 9:44pm UTC](https://discourse.julialang.org/t/cannot-precompile-module-atom-jl/2090/2 "2017-02-13T21:44:05Z")

</div>

Sounds like Gallium / the breakpoint UI needs to be disabled when using Julia v0.6 with Juno. That’s how it was before, but maybe changed with

[https://github.com/JunoLab/atom-julia-client/pull/275#issuecomment-279498267](https://github.com/JunoLab/atom-julia-client/pull/275#issuecomment-279498267)

---

<div class="post-metadata">

**Author:** ![MikeInnes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mikeinnes/32/3656_2.png) [@MikeInnes](https://discourse.julialang.org/u/MikeInnes)\
**Post date:** [February 13, 2017, 10:15pm UTC](https://discourse.julialang.org/t/cannot-precompile-module-atom-jl/2090/3 "2017-02-13T22:15:18Z")

</div>

In base.jl there’s a display method defined for the `LambdaInfo` type, which appears to have been removed on master. So just comment that out.

---

<div class="post-metadata">

**Author:** ![pitao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pitao/32/116_2.png) [@pitao](https://discourse.julialang.org/u/pitao)\
**Post date:** [February 14, 2017, 2:35am UTC](https://discourse.julialang.org/t/cannot-precompile-module-atom-jl/2090/4 "2017-02-14T02:35:59Z")

</div>

Thanks, I’ve got a couple of steps further.

(I’ve put some spam up on the [Juno Gitter](https://gitter.im/JunoLab/Juno?at=58a254f3de50490822c4c1d2) fwiw)

EDIT: MikeInnes has fixed this!
