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

UndefVarError: setexcludinghandlers! not defined #440

Closed
ryofurue opened this issue Aug 8, 2022 · 7 comments · Fixed by #442
Closed

UndefVarError: setexcludinghandlers! not defined #440

ryofurue opened this issue Aug 8, 2022 · 7 comments · Fixed by #442

Comments

@ryofurue
Copy link

ryofurue commented Aug 8, 2022

The following code

using Plots
plotlyjs() # without this line, this code generates a static graph.
plot(0:10, sin.((0:10)/3))

keeps emitting

UndefVarError: setexcludinghandlers! not defined
Stacktrace:
  [1] set_nosync(ob::Observables.Observable{Dict{Any, Any}}, val::Dict{String, Any})
. . . .

when run as include("try.jnl") from the julia REPL.

Julia 1.7.3 (2022-05-06)
macOS 12.5

(up to date with juliaup).

Edit: Having kept searching the Net after my initial post, I finally found this discussion:

https://bytemeta.vip/repo/JuliaGizmos/WebIO.jl/issues/493

where a temporary workaround is shown: pin the package WebIO to version 0.8.17 . That has worked for me.

@mzaffalon
Copy link
Contributor

More specifically here: JuliaGizmos/WebIO.jl#493 (comment).

@ryofurue
Copy link
Author

@mzaffalon

More specifically here: JuliaGizmos/WebIO.jl#493 (comment).

Thank you for that. (By the way, your post made me sure that there must be a functionality to get a link to each individual comment in a thread and I was able to find the function.)

@mzaffalon
Copy link
Contributor

Yes, under the three dots on the top right side of the post you want to link there is a copy link entry in the menu.

@deltaeecs
Copy link

Still the same problem on my windows 10, 11 and ubuntu 2004.

@BeastyBlacksmith
Copy link
Member

I can't replicate that with PlolyJS v0.18.8 and WebIO v0.8.18

julia> versioninfo()
Julia Version 1.8.1
Commit afb6c60d69a (2022-09-06 15:09 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, rocketlake)
  Threads: 1 on 16 virtual cores

@mzaffalon
Copy link
Contributor

@BeastyBlacksmith did you hover with the cursor over the graph line? I still see the error message with Julia 1.8,1.

@empet
Copy link

empet commented Sep 14, 2022

@BeastyBlacksmith,
With a simple scatter plot, it works, but if the Plot involves many traces based on a large data set, then after displaying the plot, it is also displayed this error. Julia 1 7.3, PlotlyJS 0.18.8, and WebIO, 0.18.8.

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

Successfully merging a pull request may close this issue.

5 participants