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

'KeyError: key "git-tree-sha1" not found' when starting Initialize 020 Serial Performance.ipynb #3

Closed
nathans opened this issue Dec 2, 2019 · 4 comments

Comments

@nathans
Copy link

nathans commented Dec 2, 2019

I am attempting to complete the Parallel Computing series on JuliaAcademy. In 020 Serial Performance.ipynb (as well as other notebooks), the following does not work:

import Pkg; Pkg.add(Pkg.PackageSpec(url="https://github.com/JuliaComputing/JuliaAcademyData.jl"))
using JuliaAcademyData; activate("Parallel_Computing")

I receive the following error output:

  Updating registry at `C:\Users\nathans\.julia\registries\General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
[1mFetching: [========================================>]  99.9 %0.0 % [========>                                ]  18.0 %>                                ]  20.0 % %                       ]  40.5 % [========================>                ]  58.5 %61.8 %================================>        ]  79.8 %>]  99.5 %  Updating git-repo `https://github.com/JuliaComputing/JuliaAcademyData.jl`
 Resolving package versions...
  Updating `C:\Users\nathans\.julia\environments\v1.0\Project.toml`
 [no changes]
  Updating `C:\Users\nathans\.julia\environments\v1.0\Manifest.toml`
 [no changes]

┌ Info: Recompiling stale cache file C:\Users\nathans\.julia\compiled\v1.0\JuliaAcademyData\lrk4V.ji for JuliaAcademyData [18b7da76-0988-5e3b-acac-6290be3a708f]
└ @ Base loading.jl:1190

  Updating registry at `C:\Users\nathans\.julia\registries\General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`

KeyError: key "git-tree-sha1" not found

Stacktrace:
 [1] getindex(::Dict{String,Any}, ::String) at .\dict.jl:478
 [2] #instantiate#61(::Nothing, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\API.jl:558
 [3] instantiate at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\API.jl:537 [inlined]
 [4] #instantiate#60 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\API.jl:535 [inlined]
 [5] instantiate at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\API.jl:535 [inlined]
 [6] activate(::String) at C:\Users\nathans\.julia\packages\JuliaAcademyData\II8LR\src\JuliaAcademyData.jl:30
 [7] top-level scope at In[1]:2

This is running the current stable Julia 1.0.5. This has the same behavior on both Linux and Windows.

When I tried with the latest Julia (instead of LTS), I observed the same error as in issue #1 .

@logankilpatrick
Copy link
Member

I just fixed this! Sorry for the delay.

@logankilpatrick
Copy link
Member

Would appreciate it if you could try it again just to make sure it works on your end @nathans

@nathans
Copy link
Author

nathans commented May 19, 2020

I did try and confirm it is working as expected now. Thanks!

@logankilpatrick
Copy link
Member

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants