Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pkg.free error #17481

Closed
davidanthoff opened this issue Jul 18, 2016 · 3 comments
Closed

Pkg.free error #17481

davidanthoff opened this issue Jul 18, 2016 · 3 comments
Labels
bug Indicates an unexpected problem or unintended behavior libgit2 The libgit2 library or the LibGit2 stdlib module packages Package management and loading

Comments

@davidanthoff
Copy link
Contributor

julia> Pkg.free("Rmath")
INFO: Freeing Rmath
INFO: Removing Rmath v0.1.1
ERROR: MethodError: no method matching reset!(::Base.LibGit2.GitRepo, ::Nullable{Void}, ::String)
Closest candidates are:
  reset!{T<:AbstractString,S<:Base.LibGit2.GitObject}(::Base.LibGit2.GitRepo, ::Nullable{S<:Base.LibGit2.GitObject}, ::T<:AbstractString...)
  reset!(::Base.LibGit2.GitRepo, ::AbstractString, ::AbstractString...)
  reset!(::Base.LibGit2.GitRepo, ::Base.LibGit2.Oid, ::Int32)
  ...
 in reset!(::Base.LibGit2.GitRepo, ::String, ::String) at .\libgit2\libgit2.jl:316
 in restore(::Base.LibGit2.State, ::Base.LibGit2.GitRepo) at .\libgit2\libgit2.jl:484
 in transact(::Base.Pkg.Entry.##22#25{Base.LibGit2.GitRepo,String}, ::Base.LibGit2.GitRepo) at .\libgit2\libgit2.jl:500
 in (::Base.Pkg.Entry.##21#24{String})(::Base.LibGit2.GitRepo) at .\pkg\entry.jl:255
 in with(::Base.Pkg.Entry.##21#24{String}, ::Base.LibGit2.GitRepo) at .\libgit2\types.jl:660
 in free(::String) at .\pkg\entry.jl:247
 in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#free,Tuple{String}})() at .\pkg\dir.jl:31
 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#free,Tuple{String}}, ::String) at .\file.jl:48
 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N}) at .\pkg\dir.jl:31
 in free(::String) at .\pkg\pkg.jl:183
 in eval(::Module, ::Any) at .\boot.jl:234
 in macro expansion at .\REPL.jl:92 [inlined]
 in (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at .\event.jl:46

julia> versioninfo()
Julia Version 0.5.0-dev+5478
Commit 43f3c05 (2016-07-18 02:34 UTC)
Platform Info:
  System: NT (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, haswell)

julia>
@tkelman tkelman added bug Indicates an unexpected problem or unintended behavior packages Package management and loading libgit2 The libgit2 library or the LibGit2 stdlib module labels Jul 18, 2016
@tkelman
Copy link
Contributor

tkelman commented Jul 21, 2016

Please test, if you can reproduce the situation that led to this error. I'm not positive if the tests in #17483 are exactly capturing whatever happened here.

@davidanthoff
Copy link
Contributor Author

Will do with tomorrow's build.

@davidanthoff
Copy link
Contributor Author

This seems to be fixed with today's build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior libgit2 The libgit2 library or the LibGit2 stdlib module packages Package management and loading
Projects
None yet
Development

No branches or pull requests

2 participants