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

Error when "using Blink" #259

Closed
NateNesbitt opened this issue Jan 4, 2019 · 5 comments
Closed

Error when "using Blink" #259

NateNesbitt opened this issue Jan 4, 2019 · 5 comments

Comments

@NateNesbitt
Copy link

NateNesbitt commented Jan 4, 2019

Describe the bug
I am trying to use the PlotlyJS backend for Plots. I followed the instructions of downloading cmake. Then I tried to run the code Pkg.build("MbedTLS"), but nothing happened when I did that.

When I try to run:
using Blink
Blink.AtomShell.install()

which the ReadMe installation instructs to do, I get the error:

julia> using Blink
[ Info: Precompiling Blink [ad839575-38b3-5650-b840-f874b8c74a25]
ERROR: LoadError: UndefVarError: include not defined
Stacktrace:
[1] top-level scope at none:0
[2] include_relative(::Module, ::String) at /Applications/JuliaPro-1.0.2.1.app/Contents/Resources/julia/Contents/Resources/julia/lib/julia/sys.dylib:?
[3] include(::Module, ::String) at /Applications/JuliaPro-1.0.2.1.app/Contents/Resources/julia/Contents/Resources/julia/lib/julia/sys.dylib:?
[4] top-level scope at none:2
[5] eval at ./boot.jl:319 [inlined]
[6] eval(::Expr) at ./client.jl:393
[7] top-level scope at ./none:3
in expression starting at /Users/localhome/.juliapro/packages/Blink/yurnE/src/Blink.jl:1
ERROR: Failed to precompile Blink [ad839575-38b3-5650-b840-f874b8c74a25] to /Users/localhome/.juliapro/compiled/v1.0/Blink/wSmkt.ji.
Stacktrace:
[1] macro expansion at ./logging.jl:311 [inlined]
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1190
[3] macro expansion at ./logging.jl:309 [inlined]
[4] _require(::Base.PkgId) at ./loading.jl:947
[5] require(::Base.PkgId) at ./loading.jl:858
[6] macro expansion at ./logging.jl:309 [inlined]
[7] require(::Module, ::Symbol) at ./loading.jl:840

julia> Blink.AtomShell.install()
ERROR: UndefVarError: Blink not defined
Stacktrace:
[1] top-level scope at none:0

Julia >

Version info

Please provide the following:

  1. output of julia command versioninfo()
    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-8259U CPU @ 2.30GHz
    WORD_SIZE: 64
    LIBM: libopenlibm
    LLVM: libLLVM-6.0.0 (ORCJIT, skylake)
    Environment:
    JULIA_EDITOR = atom -a
    JULIA_NUM_THREADS = 4
    JULIA_PKG_SERVER = https://pkg.juliacomputing.com/
    JULIA_PKG_TOKEN_PATH = /Users/localhome/.juliapro/token.toml

julia>

  1. Output running the following in Julia 0.7 or greater: using Pkg; pkg"status" (if you are on Julia 0.6 or earlier run Pkg.status())

julia> using Pkg; pkg"status"
Status ~/.juliapro/environments/JuliaPro/Project.toml
[ad839575] Blink v0.1.5
[28b8d3ca] GR v0.36.0
[91a5bcdd] Plots v0.21.0
[d330b81b] PyPlot v2.6.3

julia>

@sglyon
Copy link
Member

sglyon commented Jan 4, 2019

Hmm, from the output of pkg"status" it looks like PlotlyJS is not installed?

@NateNesbitt
Copy link
Author

That's true, but I get an error when I try to install PlotlyJS, the error complaining that I need blink.

julia> import Pkg; Pkg.add("PlotlyJS")
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Blink [ad839575]:
Blink [ad839575] log:
├─possible versions are: [0.1.0-0.1.5, 0.2.0-0.2.1, 0.3.0-0.3.5, 0.4.0-0.4.4, 0.5.0-0.5.4, 0.6.0-0.6.2, 0.7.0, 0.8.0-0.8.1, 0.9.0] or uninstalled
├─restricted to versions 0.1.5 by an explicit requirement, leaving only versions 0.1.5
└─restricted by compatibility requirements with PlotlyJS [f0f68f2c] to versions: [0.3.3-0.3.5, 0.4.0-0.4.4, 0.5.0-0.5.4, 0.6.0-0.6.2, 0.7.0, 0.8.0-0.8.1, 0.9.0] — no versions left
└─PlotlyJS [f0f68f2c] log:
├─possible versions are: [0.1.0-0.1.4, 0.2.0, 0.3.0-0.3.3, 0.4.0-0.4.3, 0.5.0-0.5.2, 0.6.0-0.6.5, 0.7.0-0.7.1, 0.8.0-0.8.3, 0.9.0, 0.10.0-0.10.3, 0.11.0-0.11.2, 0.12.0] or uninstalled
└─restricted to versions * by an explicit requirement, leaving only versions [0.1.0-0.1.4, 0.2.0, 0.3.0-0.3.3, 0.4.0-0.4.3, 0.5.0-0.5.2, 0.6.0-0.6.5, 0.7.0-0.7.1, 0.8.0-0.8.3, 0.9.0, 0.10.0-0.10.3, 0.11.0-0.11.2, 0.12.0]
Stacktrace:
[1] #propagate_constraints!#61(::Bool, ::Function, ::Pkg.GraphType.Graph, ::Set{Int64}) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:1005
[2] propagate_constraints! at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:946 [inlined]
[3] #simplify_graph!#121(::Bool, ::Function, ::Pkg.GraphType.Graph, ::Set{Int64}) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:1460
[4] simplify_graph! at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:1460 [inlined]
[5] macro expansion at ./logging.jl:317 [inlined]
[6] resolve_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Nothing) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:354
[7] resolve_versions! at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:317 [inlined]
[8] #add_or_develop#62(::Array{Base.UUID,1}, ::Symbol, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1223
[9] #add_or_develop at ./none:0 [inlined]
[10] #add_or_develop#13(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/Pkg/src/API.jl:64
[11] #add_or_develop at ./none:0 [inlined]
[12] #add_or_develop#12 at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/Pkg/src/API.jl:29 [inlined]
[13] #add_or_develop at ./none:0 [inlined]
[14] #add_or_develop#11 at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/Pkg/src/API.jl:28 [inlined]
[15] #add_or_develop at ./none:0 [inlined]
[16] #add_or_develop#10 at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/Pkg/src/API.jl:27 [inlined]
[17] #add_or_develop at ./none:0 [inlined]
[18] #add#18 at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/Pkg/src/API.jl:69 [inlined]
[19] add(::String) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/Pkg/src/API.jl:69
[20] top-level scope at none:0

julia>

@sglyon
Copy link
Member

sglyon commented Jan 7, 2019

Yes, sorry about that.

Given that it is an issue with the Blink package itself, I think that you are more likely to get quick/accurate help by posting over at that repo. That way all Blink.jl developers will be able to watch the issue and chime in to help resolve it.

I'll close here in favor of opening over there.

@sglyon sglyon closed this as completed Jan 7, 2019
@NateNesbitt
Copy link
Author

NateNesbitt commented Jan 28, 2019 via email

@sglyon
Copy link
Member

sglyon commented Jan 29, 2019

That is the right place, sorry nobody has responded. Maybe you could send another message over there so maintainers are notified

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