Cannot precompile module Atom.jl

juno

#1

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:

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.

meh.

Can anyone get me to the next step?


#2

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


#3

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.


#4

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

(I’ve put some spam up on the Juno Gitter fwiw)

EDIT: MikeInnes has fixed this!