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 v0.9.0 doesn't work with Jupyter Lab 0.33.7 #257

Open
roberthoenig opened this issue Aug 25, 2018 · 4 comments
Open

Interact v0.9.0 doesn't work with Jupyter Lab 0.33.7 #257

roberthoenig opened this issue Aug 25, 2018 · 4 comments

Comments

@roberthoenig
Copy link

[1]: using Interact
KERNEL EXCEPTION
KeyError: key "command" not found

Stacktrace:
 [1] getindex at ./dict.jl:478 [inlined]
 [2] dispatch(::WebIO.IJuliaConnection, ::Dict{String,Any}) at /home/robert/.julia/packages/WebIO/WN6vl/src/connection.jl:22
 [3] (::getfield(WebIO, Symbol("##73#74")){WebIO.IJuliaConnection})(::IJulia.Msg) at /home/robert/.julia/packages/WebIO/WN6vl/src/providers/ijulia.jl:56
 [4] comm_msg(::ZMQ.Socket, ::IJulia.Msg) at /home/robert/.julia/packages/IJulia/iMVN2/src/comm_manager.jl:134
 [5] #invokelatest#1 at ./essentials.jl:686 [inlined]
 [6] invokelatest at ./essentials.jl:685 [inlined]
 [7] eventloop(::ZMQ.Socket) at /home/robert/.julia/packages/IJulia/iMVN2/src/eventloop.jl:8
 [8] (::getfield(IJulia, Symbol("##15#18")))() at ./task.jl:259
KERNEL EXCEPTION
KeyError: key "command" not found

Stacktrace:
 [1] getindex at ./dict.jl:478 [inlined]
 [2] dispatch(::WebIO.IJuliaConnection, ::Dict{String,Any}) at /home/robert/.julia/packages/WebIO/WN6vl/src/connection.jl:22
 [3] (::getfield(WebIO, Symbol("##73#74")){WebIO.IJuliaConnection})(::IJulia.Msg) at /home/robert/.julia/packages/WebIO/WN6vl/src/providers/ijulia.jl:56
 [4] comm_msg(::ZMQ.Socket, ::IJulia.Msg) at /home/robert/.julia/packages/IJulia/iMVN2/src/comm_manager.jl:134
 [5] #invokelatest#1 at ./essentials.jl:686 [inlined]
 [6] invokelatest at ./essentials.jl:685 [inlined]
 [7] eventloop(::ZMQ.Socket) at /home/robert/.julia/packages/IJulia/iMVN2/src/eventloop.jl:8
 [8] (::getfield(IJulia, Symbol("##15#18")))() at ./task.jl:259
KERNEL EXCEPTION
KeyError: key "command" not found

Stacktrace:
 [1] getindex at ./dict.jl:478 [inlined]
 [2] dispatch(::WebIO.IJuliaConnection, ::Dict{String,Any}) at /home/robert/.julia/packages/WebIO/WN6vl/src/connection.jl:22
 [3] (::getfield(WebIO, Symbol("##73#74")){WebIO.IJuliaConnection})(::IJulia.Msg) at /home/robert/.julia/packages/WebIO/WN6vl/src/providers/ijulia.jl:56
 [4] comm_msg(::ZMQ.Socket, ::IJulia.Msg) at /home/robert/.julia/packages/IJulia/iMVN2/src/comm_manager.jl:134
 [5] #invokelatest#1 at ./essentials.jl:686 [inlined]
 [6] invokelatest at ./essentials.jl:685 [inlined]
 [7] eventloop(::ZMQ.Socket) at /home/robert/.julia/packages/IJulia/iMVN2/src/eventloop.jl:8
 [8] (::getfield(IJulia, Symbol("##15#18")))() at ./task.jl:259

I followed the instructions and ran

cd(Pkg.dir("WebIO", "assets"))
;jupyter labextension install webio
;jupyter labextension enable webio/jupyterlab_entry
@piever
Copy link
Collaborator

piever commented Aug 25, 2018

Thanks for reporting: it is actually a problem in WebIO: JuliaGizmos/WebIO.jl#171

@roberthoenig
Copy link
Author

I see. So it sounds like a workaround would be to downgrade WebIO?

@roberthoenig
Copy link
Author

roberthoenig commented Aug 25, 2018

And if Interact doesn't depend on any features that are only available in the latest WebIO version, perhaps it could update its dependencies to explicitly pin to an older version of WebIO?

@piever
Copy link
Collaborator

piever commented Aug 25, 2018

You certainly will have more luck asking there: I actually don't really know how the Jupyter Lab / WebIO integration works in practice.

Regarding versions, I wouldn't recommend downgrading as only very recent WebIO versions are compatible with Julia 0.7 and above

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