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

Cannot animate heatmap with WGLMakie #750

Closed
nmheim opened this issue Nov 9, 2020 · 2 comments
Closed

Cannot animate heatmap with WGLMakie #750

nmheim opened this issue Nov 9, 2020 · 2 comments

Comments

@nmheim
Copy link

nmheim commented Nov 9, 2020

The visualization function below works as expected with Makie, but fails with the WGLMakie backend.

using JSServe
using WGLMakie
using AbstractPlotting
using AbstractPlotting.MakieLayout
using JSServe.DOM

function visualization(data::Matrix)
    scene, layout = layoutscene(resolution=(1000,400))
    a1 = layout[1,1] = LAxis(scene)

    arr = Node(data)
    heatmap!(a1, arr)

    on(scene.events.mousedrag) do event
        if event == Mouse.up
            arr[] = rand(5,5)
            autolimits!(a1)
        end
    end
    return (scene,layout)
end

function test_handler(session, req)
    data = rand(3,3)
    (scene,layout) = visualization(data)
    return DOM.div(scene)
end

app = JSServe.Application(test_handler, "127.0.0.1", 8000)
@nmheim
Copy link
Author

nmheim commented Nov 9, 2020

This is the warning that I am getting

 Warning: error in websocket handler!
│   exception =
│    cannot resize array with shared data
│    _deleteend! at ./array.jl:901 [inlined]
│    resize! at ./array.jl:1090 [inlined]
│    resize! at /home/niklas/.julia/packages/ShaderAbstractions/vrRjy/src/types.jl:45 [inlined]
│    resize! at /home/niklas/.julia/packages/ShaderAbstractions/vrRjy/src/types.jl:61 [inlined]
│    (::ShaderAbstractions.var"#9#10"{ShaderAbstractions.Buffer{GeometryBasics.NgonFace{3,GeometryBasics.OffsetInteger{-1,UInt32}},Array{GeometryBasics.NgonFace{3,GeometryBasics.OffsetInteger{-1,UInt32}},1}}})(::Array{GeometryBasics.NgonFace{3,GeometryBasics.OffsetInteger{-1,UInt32}},1}) at /home/niklas/.julia/packages/ShaderAbstractions/vrRjy/src/types.jl:145
│    #invokelatest#1 at ./essentials.jl:710 [inlined]
│    invokelatest at ./essentials.jl:709 [inlined]
│    setindex!(::Observable{Array{GeometryBasics.NgonFace{3,GeometryBasics.OffsetInteger{-1,UInt32}},1}}, ::Array{GeometryBasics.NgonFace{3,GeometryBasics.OffsetInteger{-1,UInt32}},1}; notify::Observables.var"#9#11") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:207
│    setindex! at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:201 [inlined]
│    MapUpdater at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:326 [inlined]
│    (::Observables.OnUpdate{Observables.MapUpdater{typeof(WGLMakie.facebuffer),Array{GeometryBasics.NgonFace{3,GeometryBasics.OffsetInteger{-1,UInt32}},1}},Tuple{Observable{GeometryBasics.Mesh{2,Float32,GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}},FaceView{GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}}}}}}})(::GeometryBasics.Mesh{2,Float32,GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}},FaceView{GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}}}}) at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:293
│    setindex!(::Observable{GeometryBasics.Mesh{2,Float32,GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}},FaceView{GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}}}}}, ::GeometryBasics.Mesh{2,Float32,GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}},FaceView{GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}}}}; notify::Observables.var"#9#11") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:205
│     ... (the last 4 lines are repeated 1 more time)
│    setindex!(::Observable{Tuple{GeometryBasics.Mesh{2,Float32,GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}},FaceView{GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}}}}}}, ::Tuple{GeometryBasics.Mesh{2,Float32,GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}},FaceView{GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}}}}}) at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:201
│    (::Observables.MapUpdater{AbstractPlotting.var"#186#187"{UnionAll},Tuple{GeometryBasics.Mesh{2,Float32,GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}},FaceView{GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}}}}}})(::GeometryBasics.Mesh{2,Float32,GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}},FaceView{GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}}}}) at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:326
│    (::Observables.OnUpdate{Observables.MapUpdater{AbstractPlotting.var"#186#187"{UnionAll},Tuple{GeometryBasics.Mesh{2,Float32,GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}},FaceView{GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}}}}}},Tuple{Observable{GeometryBasics.Mesh{2,Float32,GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}},FaceView{GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}}}}}}})(::GeometryBasics.Mesh{2,Float32,GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}},FaceView{GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}}}}) at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:293
│    setindex!(::Observable{GeometryBasics.Mesh{2,Float32,GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}},FaceView{GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}}}}}, ::GeometryBasics.Mesh{2,Float32,GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}},FaceView{GeometryBasics.Ngon{2,Float32,3,Point{2,Float32}}}}; notify::Observables.var"#9#11") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:205
│     ... (the last 4 lines are repeated 1 more time)
│     ... (the last 12 lines are repeated 1 more time)
│    setindex! at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:201 [inlined]
│    MapUpdater at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:326 [inlined]
│    (::Observables.OnUpdate{Observables.MapUpdater{AbstractPlotting.var"#183#185"{Int64},Array{Array{Point{2,Float32},1},1}},Tuple{Observable{Tuple{Array{Array{Point{2,Float32},1},1}}}}})(::Tuple{Array{Array{Point{2,Float32},1},1}}) at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:293
│    setindex!(::Observable{Tuple{Array{Array{Point{2,Float32},1},1}}}, ::Tuple{Array{Array{Point{2,Float32},1},1}}; notify::Observables.var"#9#11") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:205
│    setindex!(::Observable{Tuple{Array{Array{Point{2,Float32},1},1}}}, ::Tuple{Array{Array{Point{2,Float32},1},1}}) at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:201
│    (::AbstractPlotting.var"#201#203"{DataType,Observable{Tuple{Array{Array{Point{2,Float32},1},1}}}})(::Tuple{}, ::Tuple{GeometryBasics.HyperRectangle{2,Float32}}) at /home/niklas/.julia/packages/AbstractPlotting/JCbJs/src/interfaces.jl:626
│    (::Observables.OnUpdate{AbstractPlotting.var"#201#203"{DataType,Observable{Tuple{Array{Array{Point{2,Float32},1},1}}}},Tuple{Observable{Tuple{}},Observable{Tuple{GeometryBasics.HyperRectangle{2,Float32}}}}})(::Tuple{GeometryBasics.HyperRectangle{2,Float32}}) at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:293
│    setindex!(::Observable{Tuple{GeometryBasics.HyperRectangle{2,Float32}}}, ::Tuple{GeometryBasics.HyperRectangle{2,Float32}}; notify::Observables.var"#9#11") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:205
│    setindex! at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:201 [inlined]
│    MapUpdater at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:326 [inlined]
│    (::Observables.OnUpdate{Observables.MapUpdater{typeof(tuple),Tuple{GeometryBasics.HyperRectangle{2,Float32}}},Tuple{Observable{GeometryBasics.HyperRectangle{2,Float32}}}})(::GeometryBasics.HyperRectangle{2,Float32}) at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:293
│    setindex!(::Observable{GeometryBasics.HyperRectangle{2,Float32}}, ::GeometryBasics.HyperRectangle{2,Float32}; notify::Observables.var"#9#11") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:205
│    setindex! at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:201 [inlined]
│    (::AbstractPlotting.var"#824#825"{Scene,AbstractPlotting.Mouse.Button,Observable{Bool},Observable{GeometryBasics.HyperRectangle{2,Float32}},Observable{GeometryBasics.HyperRectangle{2,Float32}},Combined{AbstractPlotting.poly,Tuple{Array{Array{Point{2,Float32},1},1}}}})(::AbstractPlotting.Mouse.DragEnum) at /home/niklas/.julia/packages/AbstractPlotting/JCbJs/src/interaction/interactive_api.jl:166
│    #invokelatest#1 at ./essentials.jl:710 [inlined]
│    invokelatest at ./essentials.jl:709 [inlined]
│    setindex!(::Observable{AbstractPlotting.Mouse.DragEnum}, ::AbstractPlotting.Mouse.DragEnum; notify::Observables.var"#9#11") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:207
│    setindex! at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:201 [inlined]
│    #760 at /home/niklas/.julia/packages/AbstractPlotting/JCbJs/src/interaction/events.jl:29 [inlined]
│    (::Observables.OnUpdate{AbstractPlotting.var"#760#761"{Base.RefValue{Bool},Base.RefValue{AbstractPlotting.Mouse.Button},Base.RefValue{AbstractPlotting.Mouse.DragEnum},Events},Tuple{Observable{Tuple{Float64,Float64}},Observable{Set{AbstractPlotting.Mouse.Button}}}})(::Set{AbstractPlotting.Mouse.Button}) at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:293
│    setindex!(::Observable{Set{AbstractPlotting.Mouse.Button}}, ::Set{AbstractPlotting.Mouse.Button}; notify::Observables.var"#9#11") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:205
│    setindex! at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:201 [inlined]
│    (::WGLMakie.var"#31#33"{Dict{Any,Any},Scene,Events})() at /home/niklas/.julia/packages/WGLMakie/QIWts/src/events.jl:65
│    fuse(::WGLMakie.var"#31#33"{Dict{Any,Any},Scene,Events}, ::JSServe.Session) at /home/niklas/.julia/packages/JSServe/xof1n/src/session.jl:96
│    (::WGLMakie.var"#30#32"{JSServe.Session,Scene,Events})(::Dict{Any,Any}) at /home/niklas/.julia/packages/WGLMakie/QIWts/src/events.jl:54
│    #invokelatest#1 at ./essentials.jl:710 [inlined]
│    invokelatest at ./essentials.jl:709 [inlined]
│    setindex!(::Observable{Dict{String,Any}}, ::Dict{Any,Any}; notify::JSServe.var"#38#39") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:207
│    update_nocycle!(::Observable{Dict{String,Any}}, ::Dict{Any,Any}) at /home/niklas/.julia/packages/JSServe/xof1n/src/observables.jl:22
│    #invokelatest#1 at ./essentials.jl:710 [inlined]
│    invokelatest at ./essentials.jl:709 [inlined]
│    handle_ws_message(::JSServe.Session, ::Array{UInt8,1}) at /home/niklas/.julia/packages/JSServe/xof1n/src/http.jl:73
│    handle_ws_connection(::JSServe.Session, ::WebSockets.WebSocket{Sockets.TCPSocket}) at /home/niklas/.julia/packages/JSServe/xof1n/src/http.jl:111
│    websocket_handler(::NamedTuple{(:routes, :application, :request, :match),Tuple{JSServe.Routes,JSServe.Application,HTTP.Messages.Request,RegexMatch}}, ::WebSockets.WebSocket{Sockets.TCPSocket}) at /home/niklas/.julia/packages/JSServe/xof1n/src/http.jl:135
│    apply_handler(::Function, ::NamedTuple{(:routes, :application, :request, :match),Tuple{JSServe.Routes,JSServe.Application,HTTP.Messages.Request,RegexMatch}}, ::WebSockets.WebSocket{Sockets.TCPSocket}) at /home/niklas/.julia/packages/JSServe/xof1n/src/types.jl:217
│    delegate(::JSServe.Routes, ::JSServe.Application, ::HTTP.Messages.Request, ::WebSockets.WebSocket{Sockets.TCPSocket}) at /home/niklas/.julia/packages/JSServe/xof1n/src/types.jl:236
│    #5 at /home/niklas/.julia/packages/JSServe/xof1n/src/types.jl:343 [inlined]
│    upgrade(::JSServe.var"#5#7"{JSServe.Application}, ::HTTP.Streams.Stream{HTTP.Messages.Request,HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) at /home/niklas/.julia/packages/WebSockets/pc4iW/src/HTTP.jl:201
│    stream_handler(::JSServe.Application, ::HTTP.Streams.Stream{HTTP.Messages.Request,HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) at /home/niklas/.julia/packages/JSServe/xof1n/src/types.jl:342
│    #invokelatest#1 at ./essentials.jl:710 [inlined]
│    invokelatest at ./essentials.jl:709 [inlined]
│    #20 at /home/niklas/.julia/packages/JSServe/xof1n/src/types.jl:468 [inlined]
│    macro expansion at /home/niklas/.julia/packages/HTTP/IAI92/src/Servers.jl:367 [inlined]
└ @ JSServe ~/.julia/packages/JSServe/xof1n/src/http.jl:116
┌ Warning: error in websocket handler!
│   exception =
│    MethodError: no method matching resize!(::Array{Float32,2}, ::Int64)
│    Closest candidates are:
│      resize!(::Array{T,1} where T, ::Integer) at array.jl:1082
│      resize!(::BitArray{1}, ::Integer) at bitarray.jl:799
│      resize!(::OffsetArrays.OffsetArray{T,1,AA} where AA<:AbstractArray{T,1} where T, ::Integer) at /home/niklas/.julia/packages/OffsetArrays/ExQCD/src/OffsetArrays.jl:342
│      ...
│    resize!(::ShaderAbstractions.ArrayUpdater{Array{Float32,2}}, ::Int64) at /home/niklas/.julia/packages/ShaderAbstractions/vrRjy/src/types.jl:45
│    resize!(::ShaderAbstractions.Sampler{Float32,2,Array{Float32,2}}, ::Int64) at /home/niklas/.julia/packages/ShaderAbstractions/vrRjy/src/types.jl:61
│    (::ShaderAbstractions.var"#7#8"{ShaderAbstractions.Sampler{Float32,2,Array{Float32,2}}})(::Array{Float32,2}) at /home/niklas/.julia/packages/ShaderAbstractions/vrRjy/src/types.jl:108
│    #invokelatest#1 at ./essentials.jl:710 [inlined]
│    invokelatest at ./essentials.jl:709 [inlined]
│    setindex!(::Observable{Any}, ::Array{Float32,2}; notify::Observables.var"#9#11") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:207
│    setindex! at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:201 [inlined]
│    MapUpdater at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:326 [inlined]
│    (::Observables.OnUpdate{Observables.MapUpdater{WGLMakie.var"#115#116",Any},Tuple{Observable{Array{Float32,2}}}})(::Array{Float32,2}) at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:293
│    setindex!(::Observable{Array{Float32,2}}, ::Array{Float32,2}; notify::Observables.var"#9#11") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:205
│     ... (the last 4 lines are repeated 1 more time)
│    setindex!(::Observable{Tuple{IntervalSets.Interval{:closed,:closed,Float32},IntervalSets.Interval{:closed,:closed,Float32},Array{Float32,2}}}, ::Tuple{IntervalSets.Interval{:closed,:closed,Float32},IntervalSets.Interval{:closed,:closed,Float32},Array{Float32,2}}) at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:201
│    (::AbstractPlotting.var"#201#203"{DataType,Observable{Tuple{IntervalSets.Interval{:closed,:closed,Float32},IntervalSets.Interval{:closed,:closed,Float32},Array{Float32,2}}}})(::Tuple{}, ::Tuple{Array{Float64,2}}) at /home/niklas/.julia/packages/AbstractPlotting/JCbJs/src/interfaces.jl:626
│    (::Observables.OnUpdate{AbstractPlotting.var"#201#203"{DataType,Observable{Tuple{IntervalSets.Interval{:closed,:closed,Float32},IntervalSets.Interval{:closed,:closed,Float32},Array{Float32,2}}}},Tuple{Observable{Tuple{}},Observable{Tuple{Array{Float64,2}}}}})(::Tuple{Array{Float64,2}}) at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:293
│    setindex!(::Observable{Tuple{Array{Float64,2}}}, ::Tuple{Array{Float64,2}}; notify::Observables.var"#9#11") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:205
│    setindex! at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:201 [inlined]
│    MapUpdater at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:326 [inlined]
│    (::Observables.OnUpdate{Observables.MapUpdater{typeof(tuple),Tuple{Array{Float64,2}}},Tuple{Observable{Array{Float64,2}}}})(::Array{Float64,2}) at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:293
│    setindex!(::Observable{Array{Float64,2}}, ::Array{Float64,2}; notify::Observables.var"#9#11") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:205
│    setindex! at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:201 [inlined]
│    (::var"#7#8"{LAxis,Observable{Array{Float64,2}}})(::AbstractPlotting.Mouse.DragEnum) at /home/niklas/repos/TensorMakie/scripts/test_wgl.jl:16
│    #invokelatest#1 at ./essentials.jl:710 [inlined]
│    invokelatest at ./essentials.jl:709 [inlined]
│    setindex!(::Observable{AbstractPlotting.Mouse.DragEnum}, ::AbstractPlotting.Mouse.DragEnum; notify::Observables.var"#9#11") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:207
│    setindex! at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:201 [inlined]
│    #760 at /home/niklas/.julia/packages/AbstractPlotting/JCbJs/src/interaction/events.jl:29 [inlined]
│    (::Observables.OnUpdate{AbstractPlotting.var"#760#761"{Base.RefValue{Bool},Base.RefValue{AbstractPlotting.Mouse.Button},Base.RefValue{AbstractPlotting.Mouse.DragEnum},Events},Tuple{Observable{Tuple{Float64,Float64}},Observable{Set{AbstractPlotting.Mouse.Button}}}})(::Set{AbstractPlotting.Mouse.Button}) at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:293
│    setindex!(::Observable{Set{AbstractPlotting.Mouse.Button}}, ::Set{AbstractPlotting.Mouse.Button}; notify::Observables.var"#9#11") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:205
│    setindex! at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:201 [inlined]
│    (::WGLMakie.var"#31#33"{Dict{Any,Any},Scene,Events})() at /home/niklas/.julia/packages/WGLMakie/QIWts/src/events.jl:73
│    fuse(::WGLMakie.var"#31#33"{Dict{Any,Any},Scene,Events}, ::JSServe.Session) at /home/niklas/.julia/packages/JSServe/xof1n/src/session.jl:96
│    (::WGLMakie.var"#30#32"{JSServe.Session,Scene,Events})(::Dict{Any,Any}) at /home/niklas/.julia/packages/WGLMakie/QIWts/src/events.jl:54
│    #invokelatest#1 at ./essentials.jl:710 [inlined]
│    invokelatest at ./essentials.jl:709 [inlined]
│    setindex!(::Observable{Dict{String,Any}}, ::Dict{Any,Any}; notify::JSServe.var"#38#39") at /home/niklas/.julia/packages/Observables/A7I8T/src/Observables.jl:207
│    update_nocycle!(::Observable{Dict{String,Any}}, ::Dict{Any,Any}) at /home/niklas/.julia/packages/JSServe/xof1n/src/observables.jl:22
│    #invokelatest#1 at ./essentials.jl:710 [inlined]
│    invokelatest at ./essentials.jl:709 [inlined]
│    handle_ws_message(::JSServe.Session, ::Array{UInt8,1}) at /home/niklas/.julia/packages/JSServe/xof1n/src/http.jl:73
│    handle_ws_connection(::JSServe.Session, ::WebSockets.WebSocket{Sockets.TCPSocket}) at /home/niklas/.julia/packages/JSServe/xof1n/src/http.jl:111
│    websocket_handler(::NamedTuple{(:routes, :application, :request, :match),Tuple{JSServe.Routes,JSServe.Application,HTTP.Messages.Request,RegexMatch}}, ::WebSockets.WebSocket{Sockets.TCPSocket}) at /home/niklas/.julia/packages/JSServe/xof1n/src/http.jl:135
│    apply_handler(::Function, ::NamedTuple{(:routes, :application, :request, :match),Tuple{JSServe.Routes,JSServe.Application,HTTP.Messages.Request,RegexMatch}}, ::WebSockets.WebSocket{Sockets.TCPSocket}) at /home/niklas/.julia/packages/JSServe/xof1n/src/types.jl:217
│    delegate(::JSServe.Routes, ::JSServe.Application, ::HTTP.Messages.Request, ::WebSockets.WebSocket{Sockets.TCPSocket}) at /home/niklas/.julia/packages/JSServe/xof1n/src/types.jl:236
│    #5 at /home/niklas/.julia/packages/JSServe/xof1n/src/types.jl:343 [inlined]
│    upgrade(::JSServe.var"#5#7"{JSServe.Application}, ::HTTP.Streams.Stream{HTTP.Messages.Request,HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) at /home/niklas/.julia/packages/WebSockets/pc4iW/src/HTTP.jl:201
│    stream_handler(::JSServe.Application, ::HTTP.Streams.Stream{HTTP.Messages.Request,HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) at /home/niklas/.julia/packages/JSServe/xof1n/src/types.jl:342
│    #invokelatest#1 at ./essentials.jl:710 [inlined]
│    invokelatest at ./essentials.jl:709 [inlined]
│    #20 at /home/niklas/.julia/packages/JSServe/xof1n/src/types.jl:468 [inlined]
│    macro expansion at /home/niklas/.julia/packages/HTTP/IAI92/src/Servers.jl:367 [inlined]
└ @ JSServe ~/.julia/packages/JSServe/xof1n/src/http.jl:116

@SimonDanisch
Copy link
Member

This should be fixed

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