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

Interact does not show widgets in IJulia #413

Open
johnfgibson opened this issue Feb 5, 2022 · 2 comments
Open

Interact does not show widgets in IJulia #413

johnfgibson opened this issue Feb 5, 2022 · 2 comments

Comments

@johnfgibson
Copy link

johnfgibson commented Feb 5, 2022

When I run

using Interact

s = slider(0:.1:1,label="Slider X:")

display(observe(s))

within a Julia jupyter notebook, the output is 0.5, with no slider shown. Similarly with using Colors; map(x -> RGB(x, 0.5, 0.5), observe(s)). I get a grey square but no slider. I'm using

julia> Pkg.status(["Interact"; "WebIO"; "IJulia"])
      Status `~/.julia/environments/v1.7/Project.toml`
  [7073ff75] IJulia v1.23.2
  [c601a237] Interact v0.10.4
  [0f1e0344] WebIO v0.8.16

julia> versioninfo()
Julia Version 1.7.0
Commit 3bf9d17731 (2021-11-30 12:12 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-3960X CPU @ 3.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, sandybridge)

I'm using the OS jupyter executable on openSUSE Linux Tumbleweed, jupyter version 4.6.3, and starting my julia notebooks from the Julia prompt with "using IJulia; notebook(dir=pwd())``.

Interactive was working for me well under julia-1.6, but since installing julia-1.7.0, updating packages, and re-debugging the whole Interactive-WebIO-Jupyter with the WebIO Troubleshooting Tips, I get this null behavior.

@xgdgsc
Copy link

xgdgsc commented Jul 4, 2022

[Error: Fetch error: 404 Not Found
    at http://localhost:8888/lab/extensions/webio-jupyterlab-prov…]
0: Error: Fetch error: 404 Not Found at http://localhost:8888/lab/extensions/webio-jupyterlab-provider/static/dist_labextension_js.427f6e3abbcd6b9d9bce.js:204:26436 at async Promise.all (index 0)
length: 1

is shown in chrome console when the slider are not shown for me.

@xgdgsc
Copy link

xgdgsc commented Jul 4, 2022

After a total Pkg.update the widget appears but sliding has no effect.

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