KeyError: key "repo-rev" not found (v0.7)


Trying to run pkg> status and I’m getting a very unclear error message. I assume something is not right with one of the dependencies, I have no idea which, what to do next or where the problem is.

(Genie) pkg> status
Project Genie v0.1.0
ERROR: KeyError: key "repo-rev" not found
 [1] name_ver_info(::Dict{String,Any}) at ./dict.jl:485
 [2] manifest_diff(::Pkg.Types.Context, ::Dict{String,Any}, ::Dict{String,Any}) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Display.jl:218
 [3] status(::Pkg.Types.Context, ::Pkg.Types.PackageMode, ::Bool) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Display.jl:55
 [4] status at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Display.jl:33 [inlined]
 [5] do_status!(::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:688
 [6] #invokelatest#1 at ./essentials.jl:670 [inlined]
 [7] invokelatest at ./essentials.jl:669 [inlined]
 [8] 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:275
 [9] #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:235
 [10] do_cmd at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:232 [inlined]
 [11] (::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:950
 [12] top-level scope


Just open issues like this on the Pkg repo instead. No need to spam “usage” with eventual Pkg bugs :slight_smile:


Sure :slight_smile:


When I encounter some problem and I’m unsure whether it’s my fault or it is a Julia or some package bug, I usually come here asking for help to triage the problem, since it seems to me that the Github issues is the place not to be spammed :slight_smile:
Shouln’t it be like that?


Well, Pkg is quite new and it is likely to have some bugs. Also since it is new, not many users here will have answers like with normal julia questions. An error message like this is unacceptable no matter what so it is good to open an issue here.


OK, fair enough.