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

Package installation/building fails #5

Closed
ElOceanografo opened this issue Nov 3, 2020 · 5 comments
Closed

Package installation/building fails #5

ElOceanografo opened this issue Nov 3, 2020 · 5 comments

Comments

@ElOceanografo
Copy link

After installing v0.3, using Meshes produces the following error:

ERROR: ArgumentError: Package Meshes [eacbb407-ea5a-433e-ab97-5258b1ca43fa] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

Stacktrace:
 [1] _require(::Base.PkgId) at .\loading.jl:999
 [2] require(::Base.PkgId) at .\loading.jl:928
 [3] require(::Module, ::Symbol) at .\loading.jl:923

I also tried Pkg.dev("Meshes"); using Meshes, which failed a different way:

[ Info: Precompiling Meshes [eacbb407-ea5a-433e-ab97-5258b1ca43fa]
ERROR: LoadError: LoadError: cannot replace module Meshes during compilation
Stacktrace:
 [1] include(::Function, ::Module, ::String) at .\Base.jl:380
 [2] include at .\Base.jl:368 [inlined]
 [3] include(::String) at C:\Users\...\.julia\dev\Meshes\src\Meshes.jl:5
 [4] top-level scope at C:\Users\...\.julia\dev\Meshes\src\Meshes.jl:24
 [5] include(::Function, ::Module, ::String) at .\Base.jl:380
 [6] include(::Module, ::String) at .\Base.jl:368
 [7] top-level scope at none:2
 [8] eval at .\boot.jl:331 [inlined]
 [9] eval(::Expr) at .\client.jl:467
 [10] top-level scope at .\none:3
in expression starting at C:\Users\...\.julia\dev\Meshes\src\meshes.jl:5
in expression starting at C:\Users\...\.julia\dev\Meshes\src\Meshes.jl:24
ERROR: Failed to precompile Meshes [eacbb407-ea5a-433e-ab97-5258b1ca43fa] to C:\Users\...\.julia\compiled\v1.5\Meshes\FuRcu_a2hQM.ji.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1290
 [3] _require(::Base.PkgId) at .\loading.jl:1030
 [4] require(::Base.PkgId) at .\loading.jl:928
 [5] require(::Module, ::Symbol) at .\loading.jl:923
@juliohm
Copy link
Member

juliohm commented Nov 3, 2020

Can you please share your environment?

I've tried in a fresh environment and everything worked just fine:

] activate @test
] add Meshes@0.3

@ElOceanografo
Copy link
Author

Just tried adding in a fresh environment as you suggested, but get the same error. My default environment is:

(@v1.5) pkg> st
Status `C:\Users\sam.urmy\.julia\environments\v1.5\Project.toml`
  [c52e3926] Atom v0.12.25
  [aae01518] BandedMatrices v0.15.15
  [6e4b80f9] BenchmarkTools v0.5.0
  [336ed68f] CSV v0.7.7
  [082447d4] ChainRules v0.7.32
  [d360d2e6] ChainRulesCore v0.9.17
  [7a955b69] CircularArrays v1.1.1
  [aaaa29a8] Clustering v0.14.2
  [861a8166] Combinatorics v1.0.2
  [7d11a335] ConcaveHull v1.1.0
  [667455a9] Cubature v1.5.1
  [a93c6f00] DataFrames v0.21.8
  [1313f7d8] DataFramesMeta v0.5.1
  [55939f99] DecFP v1.0.0
  [9fdde737] DiffEqOperators v4.12.0
  [0c46a032] DifferentialEquations v6.15.0
  [31c24e10] Distributions v0.23.8
  [7c1d4256] DynamicPolynomials v0.3.15
  [6a86dc24] FiniteDiff v2.7.1
  [26cc04aa] FiniteDifferences v0.11.2
  [f6369f11] ForwardDiff v0.10.12
  [38e38edf] GLM v1.3.11
  [0ef565a4] Geodesy v0.5.0
  [cd3eb016] HTTP v0.8.19
  [7073ff75] IJulia v1.22.0
  [6a3955dd] ImageFiltering v0.6.17
  [c601a237] Interact v0.10.3
  [a98d9a8b] Interpolations v0.13.0
  [42fd0dbc] IterativeSolvers v0.8.4
  [e5e0dc1b] Juno v0.8.4
  [5ab0869b] KernelDensity v0.6.2
  [2ec943e9] Libz v1.0.1
  [7a12625a] LinearMaps v2.7.0
  [23992714] MAT v0.8.1
  [c7f686f2] MCMCChains v4.2.4
  [6fafb56a] Memoization v0.1.5
  [eacbb407] Meshes v0.4.0
  [961ee093] ModelingToolkit v3.20.1
  [0987c9cc] MonteCarloMeasurements v0.9.9
  [30363a11] NetCDF v0.10.3
  [b7351bd1] NonNegLeastSquares v0.2.0 `https://github.com/ahwillia/NonNegLeastSquares.jl#master`
  [be6f12e9] ODBC v1.0.4
  [429524aa] Optim v1.2.0
  [90014a1f] PDMats v0.10.1
  [b98c9c47] Pipe v1.3.0
  [91a5bcdd] Plots v1.7.3
  [c3e4b0f8] Pluto v0.12.6
  [d330b81b] PyPlot v2.9.0
  [1fd47b50] QuadGK v2.4.1
  [1a8c2f83] Query v1.0.0
  [df47a6cb] RData v0.7.2
  [37e2e3b7] ReverseDiff v1.4.3
  [295af30f] Revise v3.1.6
  [a56d74ad] SDWBA v1.1.1
  [276daf66] SpecialFunctions v0.10.3
  [2913bbd2] StatsBase v0.33.2
  [f3b207a7] StatsPlots v0.14.15
  [8188c328] Stheno v0.6.16
  [fd094767] Suppressor v0.2.0
  [9f7883ad] Tracker v0.2.12
  [e5719326] TriangleMesh v1.1.0
  [afbbf031] TypedPolynomials v0.2.8
  [e88e6eb3] Zygote v0.5.9
  [4607b0f0] SuiteSparse
  [8dfed614] Test

julia> versioninfo()
Julia Version 1.5.0
Commit 96786e22cc (2020-08-01 23:44 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, skylake)

I was able to install and load Meshes on my Ubuntu laptop, however, so this either seems to be a Windows-specific error, or some idiosyncratic way I got my package environment screwed up.

@juliohm
Copy link
Member

juliohm commented Nov 4, 2020 via email

@juliohm
Copy link
Member

juliohm commented Nov 5, 2020

I learned that MacOS is not case-sensitive and the files Meshes.jl and meshes.jl were conflicting. I've renamed the meshes.jl file to mesh.jl and now the build is passing on MacOS as well. Triggering a new patch release. Thanks for reporting the issue.

@juliohm juliohm closed this as completed Nov 5, 2020
@ElOceanografo
Copy link
Author

That makes sense, since Windows isn't case-sensitive either. Just confirmed that the patch works on my Windows machine too 👍

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