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

Occasional WGLMakie crashes inside VSCode panel #290

Closed
kbarros opened this issue Aug 8, 2024 · 1 comment
Closed

Occasional WGLMakie crashes inside VSCode panel #290

kbarros opened this issue Aug 8, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@kbarros
Copy link
Member

kbarros commented Aug 8, 2024

WGLMakie plots inside the VSCode panel can occasionally crash. The error messages vary, one is shown below. If we can find a reliable way to reproduce the error, then the Makie team is ready to work on fixing it.

┌ Warning: Error in window event callback
│   exception =
│    Can't get three: Screen Session uninitialized. Not yet displayed? Session status: CLOSED
│    Can't do picking!
│    Stacktrace:
│      [1] error(s::String)
│        @ Base ./error.jl:35
│      [2] (::WGLMakie.var"#throw_error#16"{String})(status::String)
│        @ WGLMakie ~/.julia/packages/WGLMakie/7QQ6J/src/display.jl:197
│      [3] get_screen_session(screen::WGLMakie.Screen; timeout::Int64, error::String)
│        @ WGLMakie ~/.julia/packages/WGLMakie/7QQ6J/src/display.jl:205
│      [4] get_screen_session
│        @ ~/.julia/packages/WGLMakie/7QQ6J/src/display.jl:192 [inlined]
│      [5] pick_sorted(scene::Scene, screen::WGLMakie.Screen, xy::Point{2, Float32}, range::Int64)
│        @ WGLMakie ~/.julia/packages/WGLMakie/7QQ6J/src/picking.jl:51
│      [6] pick_sorted(scene::Scene, xy::Point{2, Float32}, range::Int64)
│        @ Makie ~/.julia/packages/Makie/rEu75/src/interaction/interactive_api.jl:124
│      [7] (::Makie.var"#1320#1321"{DataInspector, Scene})()
│        @ Makie ~/.julia/packages/Makie/rEu75/src/interaction/inspector.jl:306
│      [8] lock(f::Makie.var"#1320#1321"{DataInspector, Scene}, l::ReentrantLock)
│        @ Base ./lock.jl:232
│      [9] on_hover
│        @ ~/.julia/packages/Makie/rEu75/src/interaction/inspector.jl:301 [inlined]
│     [10] (::Makie.var"#1312#1316"{DataInspector})(::Tuple{Float64, Float64})
│        @ Makie ~/.julia/packages/Makie/rEu75/src/interaction/inspector.jl:281
│     [11] #invokelatest#2
│        @ ./essentials.jl:1043 [inlined]
│     [12] invokelatest
│        @ ./essentials.jl:1040 [inlined]
│     [13] notify
│        @ ~/.julia/packages/Observables/YdEbO/src/Observables.jl:206 [inlined]
│     [14] setindex!(observable::Observable, val::Any)
│        @ Observables ~/.julia/packages/Observables/YdEbO/src/Observables.jl:123
│     [15] (::WGLMakie.var"#60#62"{Dict{Any, Any}, Scene, Events})()
│        @ WGLMakie ~/.julia/packages/WGLMakie/7QQ6J/src/events.jl:57
└ @ WGLMakie ~/.julia/packages/WGLMakie/7QQ6J/src/events.jl:112
@kbarros kbarros added the help wanted Extra attention is needed label Aug 8, 2024
@kbarros
Copy link
Member Author

kbarros commented Aug 27, 2024

Per Simon Danisch, several bugs have been fixed in WGLMakie, including timeout issues. Progress with DataInspector here: MakieOrg/Makie.jl#4136.

@kbarros kbarros closed this as completed Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant