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

Failed to Precompile Mux, Blink, PlotlyJS #275

Closed
Yuya-Furusawa opened this issue Mar 21, 2019 · 7 comments
Closed

Failed to Precompile Mux, Blink, PlotlyJS #275

Yuya-Furusawa opened this issue Mar 21, 2019 · 7 comments

Comments

@Yuya-Furusawa
Copy link

After I updated PlotlyJS, I got the following error:

julia> using Pkg; using PlotlyJS
[ Info: Precompiling PlotlyJS [f0f68f2c-4968-5e81-91da-67840de0976a]
WARNING: could not import HTTP.HandlerFunction into Mux
ERROR: LoadError: LoadError: UndefVarError: Server not defined
Stacktrace:
 [1] top-level scope at none:0
 [2] include at ./boot.jl:317 [inlined]
 [3] include_relative(::Module, ::String) at ./loading.jl:1044
 [4] include at ./sysimg.jl:29 [inlined]
 [5] include(::String) at /Users/myname/.julia/packages/Mux/a0IXM/src/Mux.jl:1
 [6] top-level scope at none:0
 [7] include at ./boot.jl:317 [inlined]
 [8] include_relative(::Module, ::String) at ./loading.jl:1044
 [9] include(::Module, ::String) at ./sysimg.jl:29
 [10] top-level scope at none:2
 [11] eval at ./boot.jl:319 [inlined]
 [12] eval(::Expr) at ./client.jl:393
 [13] top-level scope at ./none:3
in expression starting at /Users/myname/.julia/packages/Mux/a0IXM/src/server.jl:56
in expression starting at /Users/myname/.julia/packages/Mux/a0IXM/src/Mux.jl:24
ERROR: LoadError: LoadError: Failed to precompile Mux [a975b10e-0019-58db-a62f-e48ff68538c9] to /Users/myname/.julia/compiled/v1.0/Mux/cs9xb.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:311 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1190
 [4] _require(::Base.PkgId) at ./logging.jl:309
 [5] require(::Base.PkgId) at ./loading.jl:858
 [6] macro expansion at ./logging.jl:309 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:840
 [8] include at ./boot.jl:317 [inlined]
 [9] include_relative(::Module, ::String) at ./loading.jl:1044
 [10] include at ./sysimg.jl:29 [inlined]
 [11] include(::String) at /Users/myname/.julia/packages/Blink/1QOOi/src/Blink.jl:3
 [12] top-level scope at none:0
 [13] include at ./boot.jl:317 [inlined]
 [14] include_relative(::Module, ::String) at ./loading.jl:1044
 [15] include(::Module, ::String) at ./sysimg.jl:29
 [16] top-level scope at none:2
 [17] eval at ./boot.jl:319 [inlined]
 [18] eval(::Expr) at ./client.jl:393
 [19] top-level scope at ./none:3
in expression starting at /Users/myname/.julia/packages/Blink/1QOOi/src/content/content.jl:1
in expression starting at /Users/myname/.julia/packages/Blink/1QOOi/src/Blink.jl:12
ERROR: LoadError: Failed to precompile Blink [ad839575-38b3-5650-b840-f874b8c74a25] to /Users/myname/.julia/compiled/v1.0/Blink/wSmkt.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:311 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1190
 [4] _require(::Base.PkgId) at ./logging.jl:309
 [5] require(::Base.PkgId) at ./loading.jl:858
 [6] macro expansion at ./logging.jl:309 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:840
 [8] include at ./boot.jl:317 [inlined]
 [9] include_relative(::Module, ::String) at ./loading.jl:1044
 [10] include(::Module, ::String) at ./sysimg.jl:29
 [11] top-level scope at none:2
 [12] eval at ./boot.jl:319 [inlined]
 [13] eval(::Expr) at ./client.jl:393
 [14] top-level scope at ./none:3
in expression starting at /Users/myname/.julia/packages/PlotlyJS/CEJyh/src/PlotlyJS.jl:19
ERROR: Failed to precompile PlotlyJS [f0f68f2c-4968-5e81-91da-67840de0976a] to /Users/myname/.julia/compiled/v1.0/PlotlyJS/1r9Ld.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:311 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1190
 [4] _require(::Base.PkgId) at ./logging.jl:309
 [5] require(::Base.PkgId) at ./loading.jl:858
 [6] macro expansion at ./logging.jl:309 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:840

versioninfo() is:

julia> versioninfo()
Julia Version 1.0.2
Commit d789231e99 (2018-11-08 20:11 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin14.5.0)
  CPU: Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, skylake)

Does anyone know what should I do?

@ferrolho
Copy link

I'm having the exact same problem after doing ] up today...

@BA1437
Copy link

BA1437 commented Mar 21, 2019

+1
Just cropped up when I updated my packages

@stephancb
Copy link

Pinning HTTP to 0.7.1 seems to help:

(v1.1) pkg> add [email protected]
(v1.1) pkg> pin HTTP

@ferrolho
Copy link

Pinning HTTP to 0.7.1 seems to help:

(v1.1) pkg> add [email protected]
(v1.1) pkg> pin HTTP

This worked. But I had to downgrade Coverage to v0.8.0 as well.

@sglyon
Copy link
Member

sglyon commented Mar 22, 2019

Thanks for reporting (and for finding a fix -- @stephancb)

This is a known issue in the ecosystem and is actively being worked on outside of this package.

Hopefully we have a fix soon

@ferrolho
Copy link

ferrolho commented Apr 3, 2019

I think this has been fixed and can now be closed, @Yuya-Furusawa.

@Yuya-Furusawa
Copy link
Author

@ferrolho Agree. Thanks for your work! @sglyon @stephancb

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

5 participants