JuliaGizmos / Interact.jl

Interactive widgets to play with your Julia code
Other
522 stars 77 forks source link

UndefVarError: setexcludinghandlers! not defined in Jupyter #418

Closed treygreer closed 1 year ago

treygreer commented 1 year ago

With a fresh install of ulia 1.7.3, Interact, and Anaconda3, I get the following in a jupyter notebook:

using Interact foo = slider(1:10)

The first time I try moving the slider I get:

KERNEL EXCEPTION UndefVarError: setexcludinghandlers! not defined

Stacktrace: [1] set_nosync(ob::Observable{Int64}, val::Int64) @ WebIO C:\Users\tgreer.julia\packages\WebIO\4JqEH\src\scope.jl:352 [2] dispatch(ctx::Scope, key::String, data::Int64) @ WebIO C:\Users\tgreer.julia\packages\WebIO\4JqEH\src\scope.jl:368 [3] dispatch_command(conn::WebIO.IJuliaConnection, data::Dict{String, Any}) @ WebIO C:\Users\tgreer.julia\packages\WebIO\4JqEH\src\messaging.jl:104 [4] dispatch(conn::WebIO.IJuliaConnection, data::Dict{String, Any}) @ WebIO C:\Users\tgreer.julia\packages\WebIO\4JqEH\src\messaging.jl:81 [5] (::WebIO.var"#97#98"{WebIO.IJuliaConnection})(msg::IJulia.Msg) @ WebIO C:\Users\tgreer.julia\packages\WebIO\4JqEH\src\providers\ijulia.jl:21 [6] comm_msg(sock::ZMQ.Socket, msg::IJulia.Msg) @ IJulia.CommManager C:\Users\tgreer.julia\packages\IJulia\AQu2H\src\comm_manager.jl:134 [7] #invokelatest#2 @ .\essentials.jl:716 [inlined] [8] invokelatest @ .\essentials.jl:714 [inlined] [9] eventloop(socket::ZMQ.Socket) @ IJulia C:\Users\tgreer.julia\packages\IJulia\AQu2H\src\eventloop.jl:8 [10] (::IJulia.var"#15#18")() @ IJulia .\task.jl:429

versioninfo() Julia Version 1.7.3 Commit 742b9abb4d (2022-05-06 12:58 UTC) Platform Info: OS: Windows (x86_64-w64-mingw32) CPU: Intel(R) Xeon(R) Gold 6128 CPU @ 3.40GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-12.0.1 (ORCJIT, skylake-avx512)

treygreer commented 1 year ago

Seems this might be a WebIO issue: https://github.com/JuliaGizmos/WebIO.jl/issues/493

treygreer commented 1 year ago

Never mind, I was led astray by a rogue Project.toml in my windows home directory. Sigh.