Open rand5 opened 5 years ago
In retrospect, I think this is related to https://github.com/JuliaGizmos/Interact.jl/issues/315, but it is not clear to me what the final solution was. Should we be using the master WebIO? Referencing https://github.com/JuliaGizmos/WebIO.jl/pull/308
@rand5: I observed similar behavior in Jupyter after updating Julia to 1.1.1 and updating all packages (Windows 10 machine). I'm also using Interact v0.10.2. I found the following process seems to fix the issue temporarily, but I have to repeat it every time I open a notebook containing and Interact script.
For me this causes the Interact functionality to work, though it is tedious. Hopefully this provides a clue as to what's wrong.
I also get this message when I compile a script that calls Interact.jl:
┌ Warning: Accessing scope.id
is deprecated, use scopeid(scope)
instead.
│ caller = ip:0x0
└ @ Core :-1
Here is the code block I am running:
using Interact
@manipulate for t=1:NDT
plot(collect(1:NDZ),Vout[t,:])
end
The script links a slider to plot rows of matrix Vout.
@jleman's trick worked for me too
Having the same issue. @jleman suggestion of disconnecting and reconnecting the kernel works. Before restarting the kernel, with the following code
wdg = slider(1:100)
vbox(wdg, observe(wdg))
slider updates but the observer box does not. After restarting the kernel, both updates work. I am on Windows 10 with Chrome browser and
[79e6a3ab] Adapt v1.0.0
[c5f51814] CUDAdrv v3.1.0
[be33ccc6] CUDAnative v2.3.1
[3a865a2d] CuArrays v1.2.1
[587475ba] Flux v0.9.0
[f6369f11] ForwardDiff v0.10.3
[0c68f7d7] GPUArrays v1.0.3
[92fee26a] GZip v0.5.0
[7073ff75] IJulia v1.20.0
[916415d5] Images v0.18.0
[c601a237] Interact v0.10.3
[18b7da76] JuliaAcademyData v0.1.0 #master (https://github.com/JuliaComputing/JuliaAcademyData.jl)
[872c559c] NNlib v0.6.0
[91a5bcdd] Plots v0.27.0
[438e738f] PyCall v1.91.2
[d330b81b] PyPlot v2.8.2
[0f1e0344] WebIO v0.8.11
I'm having the same issue. The initial render is successful, I can drag sliders etc but nothing is updated.
Version 1.2.0 (2019-08-20)
"Interact" => v"0.10.3"
"Conda" => v"1.3.0"
"Roots" => v"0.8.3"
"PyCall" => v"1.91.2"
"IterativeSolvers" => v"0.8.1"
"DataStructures" => v"0.17.5"
"IJulia" => v"1.20.2"
"Plots" => v"0.27.0"
"PyPlot" => v"2.8.2"
"Colors" => v"0.9.6"
"Gadfly" => v"1.0.1"
"WebIO" => v"0.8.11"
"QuadGK" => v"2.1.1"
"ProfileView" => v"0.5.0"
"DifferentialEquations" => v"6.8.0"
"FFTW" => v"1.1.0"
I just updated my packages and am now having an issue with observable updates. Currently using
Interact v0.10.2
For example, the following code fails to update the variable
D
as the slider is manipulated.I also checked two of the examples in the docs and they are broken as well (everything renders fine, but no interactivity when the sliders and buttons are manipulated). The examples I checked were:
and
I then went to test some of the examples in the tutorial workbooks, but were unable to load them for some reason.
Running: