Error updating packages in 0.7

package-manager

#1

Sometimes when updating packages in 0.7 I get an error like:

ERROR: MethodError: no method matching get(::Nothing, ::String, ::Dict{Any,Any})
Closest candidates are:
  get(::Base.EnvDict, ::AbstractString, ::Any) at env.jl:77
  get(::REPL.Terminals.TTYTerminal, ::Any, ::Any) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/REPL/src/Terminals.jl:174
  get(::IdDict{K,V}, ::Any, ::Any) where {K, V} at abstractdict.jl:623
  ...
Stacktrace:
 [1] (::getfield(Pkg.Operations, Symbol("#visit#40")){Pkg.Types.Context,Dict{Base.UUID,Int64},Array{Base.UUID,1}})(::Base.UUID) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:893
 [2] visit at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:900 [inlined]
 [3] foreach(::getfield(Pkg.Operations, Symbol("#visit#40")){Pkg.Types.Context,Dict{Base.UUID,Int64},Array{Base.UUID,1}}, ::Base.ValueIterator{Dict{String,String}}) at ./abstractarray.jl:1819
 [4] (::getfield(Pkg.Operations, Symbol("#visit#40")){Pkg.Types.Context,Dict{Base.UUID,Int64},Array{Base.UUID,1}})(::Base.UUID) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:894
 [5] visit at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:900 [inlined]
 [6] foreach(::getfield(Pkg.Operations, Symbol("#visit#40")){Pkg.Types.Context,Dict{Base.UUID,Int64},Array{Base.UUID,1}}, ::Base.ValueIterator{Dict{String,String}}) at ./abstractarray.jl:1819
 [7] (::getfield(Pkg.Operations, Symbol("#visit#40")){Pkg.Types.Context,Dict{Base.UUID,Int64},Array{Base.UUID,1}})(::Base.UUID) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:894
 [8] visit at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:900 [inlined]
 [9] foreach(::getfield(Pkg.Operations, Symbol("#visit#40")){Pkg.Types.Context,Dict{Base.UUID,Int64},Array{Base.UUID,1}}, ::Base.ValueIterator{Dict{String,String}}) at ./abstractarray.jl:1819
 [10] (::getfield(Pkg.Operations, Symbol("#visit#40")){Pkg.Types.Context,Dict{Base.UUID,Int64},Array{Base.UUID,1}})(::Base.UUID) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:894
 [11] foreach at ./abstractarray.jl:1819 [inlined]
 [12] dependency_order_uuids(::Pkg.Types.Context, ::Array{Base.UUID,1}) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:901
 [13] #build_versions#41(::Bool, ::Function, ::Pkg.Types.Context, ::Array{Base.UUID,1}) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:935
 [14] build_versions at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:907 [inlined]
 [15] up(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:1116
 [16] #up#27(::Pkg.Types.UpgradeLevel, ::Pkg.Types.PackageMode, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/API.jl:149
 [17] #up at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:0 [inlined]
 [18] do_up!(::Pkg.Types.Context, ::Array{Union{Pkg.Types.VersionRange, String, Pkg.REPLMode.Command, Pkg.REPLMode.Option, Pkg.REPLMode.Rev},1}) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:634
 [19] #invokelatest#1 at ./essentials.jl:670 [inlined]
 [20] invokelatest at ./essentials.jl:669 [inlined]
 [21] do_cmd!(::Array{Union{Pkg.Types.VersionRange, String, Pkg.REPLMode.Command, Pkg.REPLMode.Option, Pkg.REPLMode.Rev},1}, ::REPL.LineEditREPL) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:264
 [22] #do_cmd#8(::Bool, ::Function, ::REPL.LineEditREPL, ::String) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:224
 [23] do_cmd at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:221 [inlined]
 [24] (::getfield(Pkg.REPLMode, Symbol("##27#30")){REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:979
 [25] top-level scope at none:0

What does it mean?


#2

Are you on the beta? If so, have you tried with the nightly build instead?


#3

Yes, using beta. I will try on the nightly on Monday. However, I would need for some package to be updated :stuck_out_tongue:


#4

Following up, I have not been able to reproduce the error in the nightly. But I am suspicious that it is a particular package that triggers the issue, so I will keep testing.