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

Can't add PlotlyJS #246

Closed
ohadle opened this issue Oct 27, 2018 · 6 comments
Closed

Can't add PlotlyJS #246

ohadle opened this issue Oct 27, 2018 · 6 comments

Comments

@ohadle
Copy link

ohadle commented Oct 27, 2018

Describe the bug
Adding fails due to dependencies:

(v1.0) 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] or uninstalled
 ├─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]
 │ └─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] 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]
 │   ├─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: [0.8.0-0.8.3, 0.9.0, 0.10.0-0.10.3, 0.11.0-0.11.2] or uninstalled, leaving only versions: [0.8.0-0.8.3, 0.9.0, 0.10.0-0.10.3, 0.11.0-0.11.2]
 │   │ └─DataFrames [a93c6f00] log:
 │   │   ├─possible versions are: [0.1.0, 0.2.0-0.2.5, 0.3.0-0.3.16, 0.4.0-0.4.3, 0.5.0-0.5.12, 0.6.0-0.6.11, 0.7.0-0.7.8, 0.8.0-0.8.5, 0.9.0-0.9.1, 0.10.0-0.10.1, 0.11.0-0.11.7, 0.12.0, 0.13.0-0.13.1, 0.14.0-0.14.1] or uninstalled
 │   │   └─restricted to versions 0.14.1 by an explicit requirement, leaving only versions 0.14.1
 │   └─restricted by julia compatibility requirements to versions: 0.11.0-0.11.2 or uninstalled, leaving only versions: 0.11.0-0.11.2
 ├─restricted by julia compatibility requirements to versions: [0.7.0, 0.8.0-0.8.1] or uninstalled, leaving only versions: [0.7.0, 0.8.0-0.8.1]
 ├─restricted by compatibility requirements with HttpServer [58cfbd8c] to versions: [0.1.0-0.1.5, 0.8.0-0.8.1] or uninstalled, leaving only versions: 0.8.0-0.8.1
 │ └─HttpServer [58cfbd8c] log:
 │   ├─possible versions are: [0.0.1-0.0.14, 0.1.0-0.1.7, 0.2.0, 0.3.0-0.3.1] or uninstalled
 │   └─restricted by julia compatibility requirements to versions: uninstalled
 └─restricted by compatibility requirements with WebSockets [104b5d7c] to versions: 0.1.0-0.1.5 or uninstalled — no versions left
   └─WebSockets [104b5d7c] log:
     ├─possible versions are: [0.0.1-0.0.6, 0.1.0-0.1.2, 0.2.0-0.2.3, 0.3.0, 0.4.0, 0.5.0, 1.0.0-1.0.3] or uninstalled
     ├─restricted by compatibility requirements with HTTP [cd3eb016] to versions: [0.0.1-0.0.6, 0.1.0-0.1.2, 0.2.0-0.2.3, 0.3.0, 0.4.0, 0.5.0] or uninstalled
     │ └─HTTP [cd3eb016] log:
     │   ├─possible versions are: [0.0.1-0.0.2, 0.4.0-0.4.3, 0.5.0, 0.5.2-0.5.5, 0.5.7, 0.6.0-0.6.14, 0.7.0-0.7.1] or uninstalled
     │   └─restricted to versions 0.7.1 by an explicit requirement, leaving only versions 0.7.1
     └─restricted by julia compatibility requirements to versions: 1.0.0-1.0.3 or uninstalled, leaving only versions: uninstalled

Version info

julia> versioninfo()
Julia Version 1.0.1
Commit 0d713926f8 (2018-09-29 19:05 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, haswell)
(v1.0) pkg> status
    Status `C:\Users\ohadl\.julia\environments\v1.0\Project.toml`
  [c52e3926] Atom v0.7.6
  [6e4b80f9] BenchmarkTools v0.4.1
  [336ed68f] CSV v0.4.2
  [aaaa29a8] Clustering v0.12.1
  [a93c6f00] DataFrames v0.14.1
  [38e38edf] GLM v1.0.1
  [28b8d3ca] GR v0.35.0
  [c91e804a] Gadfly v1.0.0
  [cd3eb016] HTTP v0.7.1
  [e5e0dc1b] Juno v0.5.3
  [cc2ba9b6] MLDataUtils v0.4.0
  [ff71e718] MixedModels v1.1.0
  [39abe10b] MySQL v0.7.0
  [91a5bcdd] Plots v0.21.0
  [d330b81b] PyPlot v2.6.3
  [ce6b1742] RDatasets v0.6.1
  [295af30f] Revise v0.7.12
  [60ddc479] StatPlots v0.8.1
@sglyon
Copy link
Member

sglyon commented Oct 31, 2018

Hmm, that's no good. Thanks for reporting

Can you try to add just Blink first? From what I can tell the problem seems to come from Blink, which is a PlotlyJS.jl dependency.

@ohadle
Copy link
Author

ohadle commented Oct 31, 2018

Unfortunately that doesn't work as well:

(v1.0) pkg> add Blink
 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] or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions [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]
 ├─restricted by julia compatibility requirements to versions: [0.7.0, 0.8.0-0.8.1] or uninstalled, leaving only versions: [0.7.0, 0.8.0-0.8.1]
 ├─restricted by compatibility requirements with HttpServer [58cfbd8c] to versions: [0.1.0-0.1.5, 0.8.0-0.8.1] or uninstalled, leaving only versions: 0.8.0-0.8.1
 │ └─HttpServer [58cfbd8c] log:
 │   ├─possible versions are: [0.0.1-0.0.14, 0.1.0-0.1.7, 0.2.0, 0.3.0-0.3.1] or uninstalled
 │   └─restricted by julia compatibility requirements to versions: uninstalled
 └─restricted by compatibility requirements with WebSockets [104b5d7c] to versions: 0.1.0-0.1.5 or uninstalled — no versions left
   └─WebSockets [104b5d7c] log:
     ├─possible versions are: [0.0.1-0.0.6, 0.1.0-0.1.2, 0.2.0-0.2.3, 0.3.0, 0.4.0, 0.5.0, 1.0.0-1.0.3] or uninstalled
     ├─restricted by compatibility requirements with HTTP [cd3eb016] to versions: [0.0.1-0.0.6, 0.1.0-0.1.2, 0.2.0-0.2.3, 0.3.0, 0.4.0, 0.5.0] or uninstalled
     │ └─HTTP [cd3eb016] log:
     │   ├─possible versions are: [0.0.1-0.0.2, 0.4.0-0.4.3, 0.5.0, 0.5.2-0.5.5, 0.5.7, 0.6.0-0.6.14, 0.7.0-0.7.1] or uninstalled
     │   └─restricted to versions 0.7.1 by an explicit requirement, leaving only versions 0.7.1
     └─restricted by julia compatibility requirements to versions: 1.0.0-1.0.3 or uninstalled, leaving only versions: uninstalled

@sglyon
Copy link
Member

sglyon commented Nov 1, 2018

Ahh ok. Sounds like the issue lies with blink. Let’s see if we can figure it out.

What happens when you enter pkg mode and try the up command?

@ohadle
Copy link
Author

ohadle commented Nov 1, 2018

These were all just after a pkg update, so nothing.
Should I open an issue there?

@sglyon
Copy link
Member

sglyon commented Nov 1, 2018

Yes, I think so.

If you are open for it, I might suggest a more extreme alternative. I think that the packages involved should all be installable. I'm thinking perhaps the state of packages on your machine has become broken somehow and that by deleting everything and starting fresh things would "just work". If you are up for it then try deleting C:\Users\ohadl\.julia\ folder and trying one more time. That will remove all the Julia packages and precompiled images though, so if you don't want to go down that path I'd suggest asking for help either on the mailing list or another repository (I'm not convinced this is Blink's issue either -- you might try add HttpServer and add WebSockets to see where on the dependency chain things break down)

@ohadle
Copy link
Author

ohadle commented Nov 3, 2018

That worked, thanks! And also fixed a separate plotting issue.
I wonder what the deal was, the installation was rather new.

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