Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Crash on 0.5: MethodError: no method matching getindex #181

Open
staticfloat opened this issue Dec 8, 2016 · 0 comments
Open

Crash on 0.5: MethodError: no method matching getindex #181

staticfloat opened this issue Dec 8, 2016 · 0 comments

Comments

@staticfloat
Copy link
Contributor

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 staticfloat changed the title Crash on 0.5 Crash on 0.5: MethodError: no method matching getindex Dec 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant