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

UndefVarError: Weight not defined #321

Open
yakir12 opened this issue Apr 27, 2020 · 0 comments
Open

UndefVarError: Weight not defined #321

yakir12 opened this issue Apr 27, 2020 · 0 comments

Comments

@yakir12
Copy link

yakir12 commented Apr 27, 2020

OnlineStats does not export Weight.

(@v1.4) pkg> add JuliaDB
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
  Installed RecipesBase ─ v1.0.1
  Installed Intervals ─── v1.1.0
  Installed TimeZones ─── v1.1.1
   Updating `~/.julia/environments/v1.4/Project.toml`
  [a93385a2] + JuliaDB v0.13.0
   Updating `~/.julia/environments/v1.4/Manifest.toml`
  [1520ce14] + AbstractTrees v0.3.3
  [79e6a3ab] + Adapt v1.0.1
  [b99e7846] + BinaryProvider v0.5.8
  [944b1d66] + CodecZlib v0.6.0
  [e66e0078] + CompilerSupportLibraries_jll v0.3.3+0
  [d58978e5] + Dagger v0.8.0
  [9a962f9c] + DataAPI v1.2.0
  [864edb3b] + DataStructures v0.17.13
  [e2d170a0] + DataValueInterfaces v1.0.0
  [e7dc6d0d] + DataValues v0.4.13
  [497a8b3b] + DoubleFloats v1.1.8
  [e2ba6199] + ExprTools v0.1.1
  [8f5d6c58] + EzXML v1.1.0
  [01680d73] + GenericSVD v0.3.0
  [c145ed77] + GenericSchur v0.4.0
  [c27321d9] + Glob v1.3.0
  [6deec6e2] + IndexedTables v0.12.6
  [d8418881] + Intervals v1.1.0
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [a93385a2] + JuliaDB v0.13.0
  [7f8f8fb0] + LearnBase v0.3.0
  [94ce4f54] + Libiconv_jll v1.16.0+2
  [30fc2ffe] + LossFunctions v0.6.0
  [f9f48841] + MemPool v0.2.0
  [e1d29d7a] + Missings v0.4.3
  [78c3b35d] + Mocking v0.7.1
  [4d1e1d77] + Nullables v1.0.0
  [a15396b6] + OnlineStats v1.0.2
  [925886fa] + OnlineStatsBase v1.2.8
  [efe28fd5] + OpenSpecFun_jll v0.5.3+3
  [06bb1623] + PenaltyFunctions v0.2.1
  [f27b6e38] + Polynomials v0.8.0
  [2dfb63ee] + PooledArrays v0.5.3
  [be4d8f0f] + Quadmath v0.5.4
  [3cdcf5f2] + RecipesBase v1.0.1
  [189a3867] + Reexport v0.2.0
  [ae029012] + Requires v1.0.1
  [a2af1166] + SortingAlgorithms v0.3.1
  [276daf66] + SpecialFunctions v0.10.0
  [2913bbd2] + StatsBase v0.33.0
  [09ab397b] + StructArrays v0.4.3
  [7522ee7d] + SweepOperator v0.3.0
  [3783bdb8] + TableTraits v1.0.0
  [382cd787] + TableTraitsUtils v1.0.1
  [bd369af6] + Tables v1.0.4
  [e0df1984] + TextParse v1.0.0
  [f269a46b] + TimeZones v1.1.1
  [3bb67fe8] + TranscodingStreams v0.9.5
  [ea10d353] + WeakRefStrings v0.6.2
  [02c8fc9c] + XML2_jll v2.9.9+4
  [83775a58] + Zlib_jll v1.2.11+9
  [9abbd945] + Profile 
  [1a1011a3] + SharedArrays 
   Building TimeZones  `~/.julia/packages/TimeZones/X323b/deps/build.log`

julia> using JuliaDB
[ Info: Precompiling JuliaDB [a93385a2-3734-596a-9a66-3cfbb77141e6]
┌ Warning: Use of `Poly` from v1.0 forward will require `using Polynomials.PolyCompat`
│   caller = Polynomials.PolyCompat.Poly(::Array{Double64,1}) at Poly.jl:26
└ @ Polynomials.PolyCompat ~/.julia/packages/Polynomials/ghqdF/src/polynomials/Poly.jl:26
ERROR: LoadError: LoadError: UndefVarError: Weight not defined
Stacktrace:
 [1] top-level scope at /home/yakir/.julia/packages/OnlineStats/iY7aT/src/viz/recipes.jl:2
 [2] include(::Module, ::String) at ./Base.jl:377
 [3] include(::String) at /home/yakir/.julia/packages/OnlineStats/iY7aT/src/OnlineStats.jl:1
 [4] top-level scope at /home/yakir/.julia/packages/OnlineStats/iY7aT/src/OnlineStats.jl:65
 [5] include(::Module, ::String) at ./Base.jl:377
 [6] top-level scope at none:2
 [7] eval at ./boot.jl:331 [inlined]
 [8] eval(::Expr) at ./client.jl:449
 [9] top-level scope at ./none:3
in expression starting at /home/yakir/.julia/packages/OnlineStats/iY7aT/src/viz/recipes.jl:2
in expression starting at /home/yakir/.julia/packages/OnlineStats/iY7aT/src/OnlineStats.jl:65
ERROR: LoadError: Failed to precompile OnlineStats [a15396b6-48d5-5d58-9928-6d29437db91e] to /home/yakir/.julia/compiled/v1.4/OnlineStats/G3mU6_woKPp.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
 [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/yakir/.julia/packages/JuliaDB/7cG1k/src/JuliaDB.jl:21
ERROR: Failed to precompile JuliaDB [a93385a2-3734-596a-9a66-3cfbb77141e6] to /home/yakir/.julia/compiled/v1.4/JuliaDB/4FA8g_woKPp.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
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

1 participant