Closed ianfiske closed 5 years ago
A fresh install shows that CodeTracking should be in the REQUIRE file:
CodeTracking
(v1.1) pkg> add MagneticReadHead Updating registry at `~/.julia/registries/General` Updating git-repo `https://github.com/JuliaRegistries/General.git` Resolving package versions... Installed CodeTracking ───── v0.5.3 Installed Widgets ────────── v0.6.1 Installed CSTParser ──────── v0.5.2 Installed MagneticReadHead ─ v0.2.1 Installed PlotUtils ──────── v0.5.7 Installed Roots ──────────── v0.8.0 Installed Cassette ───────── v0.2.3 Installed MacroTools ─────── v0.5.0 Installed GR ─────────────── v0.39.0 Updating `~/.julia/environments/v1.1/Project.toml` [63dd013e] + MagneticReadHead v0.2.1 Updating `~/.julia/environments/v1.1/Manifest.toml` [00ebfdb7] + CSTParser v0.5.2 [7057c7e9] ↑ Cassette v0.2.2 ⇒ v0.2.3 [da1fd8a2] ↑ CodeTracking v0.5.0 ⇒ v0.5.3 [28b8d3ca] ↑ GR v0.38.1 ⇒ v0.39.0 [1914dd2f] ↑ MacroTools v0.4.5 ⇒ v0.5.0 [63dd013e] + MagneticReadHead v0.2.1 [995b91a9] ↑ PlotUtils v0.5.5 ⇒ v0.5.7 [f2b01f46] ↑ Roots v0.7.4 ⇒ v0.8.0 [f269a46b] ↑ TimeZones v0.8.5 ⇒ v0.9.0 [cc8bc4a8] ↑ Widgets v0.5.1 ⇒ v0.6.1 Building GR → `~/.julia/packages/GR/Q8slp/deps/build.log` julia> using MagneticReadHead [ Info: Precompiling MagneticReadHead [63dd013e-5414-5e51-b21a-a24e12ed54cf] ERROR: LoadError: ArgumentError: Package MagneticReadHead does not have CodeTracking in its dependencies: - If you have MagneticReadHead checked out for development and have added CodeTracking as a dependency but haven't updated your primary environment's manifest file, try `Pkg.resolve()`. - Otherwise you may need to report an issue with MagneticReadHead Stacktrace: [1] require(::Module, ::Symbol) at ./loading.jl:836 [2] include at ./boot.jl:326 [inlined] [3] include_relative(::Module, ::String) at ./loading.jl:1038 [4] include(::Module, ::String) at ./sysimg.jl:29 [5] top-level scope at none:2 [6] eval at ./boot.jl:328 [inlined] [7] eval(::Expr) at ./client.jl:404 [8] top-level scope at ./none:3 in expression starting at /Users/ifiske/.julia/packages/MagneticReadHead/5KMd1/src/MagneticReadHead.jl:8 ERROR: Failed to precompile MagneticReadHead [63dd013e-5414-5e51-b21a-a24e12ed54cf] to /Users/ifiske/.julia/compiled/v1.1/MagneticReadHead/gWxvp.ji. Stacktrace: [1] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197 [2] _require(::Base.PkgId) at ./loading.jl:960 [3] require(::Base.PkgId) at ./loading.jl:858 [4] require(::Module, ::Symbol) at ./loading.jl:853
Ah bother, I have added it now on master.
The Project.toml is correct. After monday REQUIRE files should be a thing of the past
A fresh install shows that
CodeTracking
should be in the REQUIRE file: