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

v0.2.0 fails to precompile #14

Closed
gvdr opened this issue May 26, 2020 · 1 comment
Closed

v0.2.0 fails to precompile #14

gvdr opened this issue May 26, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@gvdr
Copy link

gvdr commented May 26, 2020

Mangal v0.2.0 [b8b640a6-63d9-51e6-b784-5033db27bef2] fails to precompile.

To Reproduce
] install Mangal
using Mangal

The error I get is

[ Info: Precompiling Mangal [b8b640a6-63d9-51e6-b784-5033db27bef2]
ERROR: LoadError: LoadError: UndefVarError: is_valid_species not defined
Stacktrace:
 [1] getproperty(::Module, ::Symbol) at ./Base.jl:26
 [2] top-level scope at /home/giulio/.julia/packages/Mangal/SKxIY/src/ecologicalnetworks.jl:1
 [3] include(::Module, ::String) at ./Base.jl:377
 [4] include(::String) at /home/giulio/.julia/packages/Mangal/SKxIY/src/Mangal.jl:1
 [5] top-level scope at /home/giulio/.julia/packages/Mangal/SKxIY/src/Mangal.jl:86
 [6] include(::Module, ::String) at ./Base.jl:377
 [7] top-level scope at none:2
 [8] eval at ./boot.jl:331 [inlined]
 [9] eval(::Expr) at ./client.jl:449
 [10] top-level scope at ./none:3
in expression starting at /home/giulio/.julia/packages/Mangal/SKxIY/src/ecologicalnetworks.jl:1
in expression starting at /home/giulio/.julia/packages/Mangal/SKxIY/src/Mangal.jl:86
ERROR: Failed to precompile Mangal [b8b640a6-63d9-51e6-b784-5033db27bef2] to /home/giulio/.julia/compiled/v1.4/Mangal/IM50K_Ev3z7.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922

My current status is:

pkg> status
Status `~/2020/research/Complexity_of_FoodWebs/Project.toml`
  [336ed68f] CSV v0.6.2
  [35d6a980] ColorSchemes v3.9.0
  [b80b68e6] DaedalusWeb v0.1.0 #master (/home/giulio/2020/research/Complexity_of_FoodWebs/src/DaedalusWeb)
  [a93c6f00] DataFrames v0.21.1
  [634d3b9d] DrWatson v1.12.0
  [f03a62fe] EcologicalNetworks v0.3.0 #master (https://github.com/PoisotLab/EcologicalNetworks.jl)
  [5789e2e9] FileIO v1.3.0
  [6deec6e2] IndexedTables v0.13.0
  [033835bb] JLD2 v0.1.13
  [b8b640a6] Mangal v0.2.0
  [51a8342e] graphcomplexity v0.1.0 [`~/2020/research/Complexity_of_FoodWebs/src/graphcomplexity`]
@gvdr gvdr added the bug Something isn't working label May 26, 2020
@gvdr
Copy link
Author

gvdr commented May 26, 2020

Ok, this is fixed in commit f080761.

@gvdr gvdr closed this as completed May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant