JuliaAcademy / JuliaAcademyMaterials

Assets and Infrastructure for JuliaAcademy.com
http://www.JuliaAcademy.com
MIT License
63 stars 25 forks source link

error running : julia --project build.jl #72

Closed pjvalla closed 4 years ago

pjvalla commented 4 years ago

Getting the error ERROR: LoadError: expected package `CredentialsHandler [864e158e]` to be registered running julia --project build.jl. I also had to manually install the Literate package. I am using the julia binary provided by JuliaPro-1.4.1.-1

[ Info: generating notebook from `~/git_clones/JuliaAcademyMaterials/Notebooks/Data_Science_2/02-unsupervised-learning.jl`
[ Info: writing result to `~/git_clones/JuliaAcademyMaterials/Notebooks/Data_Science_2/02-unsupervised-learning.ipynb`
[ Info: generating notebook from `~/git_clones/JuliaAcademyMaterials/Notebooks/Data_Science_2/03-supervised-learning.jl`
[ Info: writing result to `~/git_clones/JuliaAcademyMaterials/Notebooks/Data_Science_2/03-supervised-learning.ipynb`
[ Info: generating notebook from `~/git_clones/JuliaAcademyMaterials/Notebooks/Data_Science_2/99-density-estimation.jl`
[ Info: writing result to `~/git_clones/JuliaAcademyMaterials/Notebooks/Data_Science_2/99-density-estimation.ipynb`
[ Info: generating notebook from `~/git_clones/JuliaAcademyMaterials/Notebooks/Data_Science_2/99-glms.jl`
[ Info: writing result to `~/git_clones/JuliaAcademyMaterials/Notebooks/Data_Science_2/99-glms.ipynb`
[ Info: building Deep learning with Flux...
 Activating environment at `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/Project.toml`
[ Info: generating notebook from `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/1300.Intro-to-Flux.jl-quiz.jl`
[ Info: writing result to `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/1300.Intro-to-Flux.jl-quiz.ipynb`
[ Info: generating notebook from `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/1300.Intro-to-Flux.jl.jl`
[ Info: writing result to `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/1300.Intro-to-Flux.jl.ipynb`
[ Info: generating notebook from `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/1500.Intro-to-neural-networks-quiz.jl`
[ Info: writing result to `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/1500.Intro-to-neural-networks-quiz.ipynb`
[ Info: generating notebook from `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/1500.Intro-to-neural-networks.jl`
[ Info: writing result to `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/1500.Intro-to-neural-networks.ipynb`
[ Info: generating notebook from `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/1700.Introduction-to-deep-learning-quiz.jl`
[ Info: writing result to `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/1700.Introduction-to-deep-learning-quiz.ipynb`
[ Info: generating notebook from `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/1700.Introduction-to-deep-learning.jl`
[ Info: writing result to `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/1700.Introduction-to-deep-learning.ipynb`
[ Info: generating notebook from `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/1900.Recognizing-handwriting-using-a-neural-network.jl`
[ Info: writing result to `~/git_clones/JuliaAcademyMaterials/Notebooks/Deep learning with Flux/1900.Recognizing-handwriting-using-a-neural-network.ipynb`
[ Info: building Foundations of machine learning...
 Activating environment at `~/git_clones/JuliaAcademyMaterials/Notebooks/Foundations of machine learning/Project.toml`
ERROR: LoadError: expected package `CredentialsHandler [864e158e]` to be registered
Stacktrace:
 [1] pkgerror(::String) at /home/buildbot/build-worker/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.4/Pkg/src/Types.jl:53
 [2] check_registered(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /home/buildbot/build-worker/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:1000
 [3] instantiate(::Pkg.Types.Context; manifest::Nothing, update_registry::Bool, verbose::Bool, platform::Pkg.BinaryPlatforms.Linux, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /home/buildbot/build-worker/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.4/Pkg/src/API.jl:783
 [4] instantiate(::Pkg.Types.Context) at /home/buildbot/build-worker/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.4/Pkg/src/API.jl:748
 [5] #instantiate#116 at /home/buildbot/build-worker/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.4/Pkg/src/API.jl:744 [inlined]
 [6] instantiate at /home/buildbot/build-worker/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.4/Pkg/src/API.jl:744 [inlined]
 [7] top-level scope at /home/phil/git_clones/JuliaAcademyMaterials/build.jl:26
 [8] include(::Module, ::String) at ./Base.jl:377
 [9] exec_options(::Base.JLOptions) at ./client.jl:288
 [10] _start() at ./client.jl:484
in expression starting at /home/phil/git_clones/JuliaAcademyMaterials/build.jl:18
logankilpatrick commented 4 years ago

I just pushed an update. It should be fixed. Thanks for reporting this!

pjvalla commented 4 years ago

Thanks! It works now.

logankilpatrick commented 4 years ago

Awesome! Let me know if you run into further issues.