Gallium.jl icon indicating copy to clipboard operation
Gallium.jl copied to clipboard

Crash on 0.5: MethodError: no method matching getindex

Open staticfloat opened this issue 9 years ago • 0 comments

While trying to debug a BinDeps problem, I ran into the following:

julia> using Gallium

julia> include(Pkg.dir("Cairo","deps","build.jl"))

julia> @enter BinDeps._find_library(group)
In /Users/sabae/.julia/v0.5/BinDeps/src/dependencies.jl:706
705   function _find_library(deps::LibraryGroup, allfl = allf(deps); provider = Any)
706       providers = satisfied_providers(deps,allfl)
707       p = nothing
708       if isempty(providers)

About to run: (BinDeps.allf)(<suppressed 2530 bytes of output>)
1|debug > ns
ERROR: MethodError: no method matching getindex(::AbstractTrees.ImplicitNodeStack{Any,Int64}, ::Int64)
 in next_statement!(::ASTInterpreter.Interpreter) at /Users/sabae/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:670
 in execute_command(::ASTInterpreter.InterpreterState, ::ASTInterpreter.Interpreter, ::Val{:ns}, ::String) at /Users/sabae/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1508
 in (::ASTInterpreter.##71#77{ASTInterpreter.Interpreter,ASTInterpreter.#promptname#75,ASTInterpreter.InterpreterState,Base.LineEdit.Prompt,Base.LineEdit.Prompt})(::Base.LineEdit.MIState, ::Base.AbstractIOBuffer{Array{UInt8,1}}, ::Bool) at /Users/sabae/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1615
 in run_interface(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface) at ./LineEdit.jl:1579
 in run_interface(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface) at /usr/local/Cellar/julia/0.5.0/lib/julia/sys.dylib:?
 in RunDebugREPL(::ASTInterpreter.Interpreter) at /Users/sabae/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1693

This kills the Gallium session.

staticfloat avatar Dec 08 '16 00:12 staticfloat