Skip to content

DataInspector not working anymore #48

@felixcremer

Description

@felixcremer

I am following the example in the README and I get the following errors when I tried the DataInspector.
This error is thrown as soon as I am trying to change the position in the figure.

This is on OSMMakie 0.0.10 and GLMakie 0.10.9.

UndefVarError: `view_ray` not defined
Stacktrace:
  [1] show_data(inspector::DataInspector, plot::Plot{OSMMakie.osmplot, Tuple{OSMGraph{Int32, Int64, Float64}}}, idx::UInt32, source::LineSegments{Tuple{Vector{Point{2, Float32}}}})
    @ OSMMakie ~/.julia/packages/OSMMakie/9u2YE/src/inspection.jl:54
  [2] show_data_recursion(inspector::DataInspector, plot::Plot{OSMMakie.osmplot, Tuple{OSMGraph{Int32, Int64, Float64}}}, idx::UInt32, source::LineSegments{Tuple{Vector{Point{2, Float32}}}})
    @ Makie ~/.julia/packages/Makie/8h0bl/src/interaction/inspector.jl:362
  [3] show_data_recursion(inspector::DataInspector, plot::Plot{GraphMakie.graphplot, Tuple{Graphs.SimpleGraphs.SimpleDiGraph{Int32}}}, idx::UInt32, source::LineSegments{Tuple{Vector{Point{2, Float32}}}})
    @ Makie ~/.julia/packages/Makie/8h0bl/src/interaction/inspector.jl:354
  [4] show_data_recursion(inspector::DataInspector, plot::Plot{GraphMakie.edgeplot, Tuple{Vector{GraphMakie.Line{Point{2, Float32}}}}}, idx::UInt32, source::LineSegments{Tuple{Vector{Point{2, Float32}}}})
    @ Makie ~/.julia/packages/Makie/8h0bl/src/interaction/inspector.jl:354
  [5] show_data_recursion(inspector::DataInspector, plot::LineSegments{Tuple{Vector{Point{2, Float32}}}}, idx::UInt32)
    @ Makie ~/.julia/packages/Makie/8h0bl/src/interaction/inspector.jl:332
  [6] (::Makie.var"#1339#1340"{DataInspector, Scene})()
    @ Makie ~/.julia/packages/Makie/8h0bl/src/interaction/inspector.jl:309
  [7] lock(f::Makie.var"#1339#1340"{DataInspector, Scene}, l::ReentrantLock)
    @ Base ./lock.jl:229
  [8] on_hover
    @ ~/.julia/packages/Makie/8h0bl/src/interaction/inspector.jl:301 [inlined]
  [9] (::Makie.var"#1331#1335"{DataInspector})(::Tuple{Float64, Float64})
    @ Makie ~/.julia/packages/Makie/8h0bl/src/interaction/inspector.jl:281
 [10] #invokelatest#2
    @ ./essentials.jl:892 [inlined]
 [11] invokelatest
    @ ./essentials.jl:889 [inlined]
 [12] notify
    @ ~/.julia/packages/Observables/YdEbO/src/Observables.jl:206 [inlined]
 [13] setindex!
    @ ~/.julia/packages/Observables/YdEbO/src/Observables.jl:123 [inlined]
 [14] (::GLMakie.MousePositionUpdater)(::Makie.TickState)
    @ GLMakie ~/.julia/packages/GLMakie/GK1PF/src/events.jl:6
 [15] #invokelatest#2
    @ ./essentials.jl:892 [inlined]
 [16] invokelatest
    @ ./essentials.jl:889 [inlined]
 [17] notify
    @ ~/.julia/packages/Observables/YdEbO/src/Observables.jl:206 [inlined]
 [18] setindex!
    @ ~/.julia/packages/Observables/YdEbO/src/Observables.jl:123 [inlined]
 [19] pollevents(screen::GLMakie.Screen{GLFW.Window}, frame_state::Makie.TickState)
    @ GLMakie ~/.julia/packages/GLMakie/GK1PF/src/screen.jl:484
 [20] on_demand_renderloop(screen::GLMakie.Screen{GLFW.Window})
    @ GLMakie ~/.julia/packages/GLMakie/GK1PF/src/screen.jl:979
 [21] renderloop(screen::GLMakie.Screen{GLFW.Window})
    @ GLMakie ~/.julia/packages/GLMakie/GK1PF/src/screen.jl:1007
 [22] (::GLMakie.var"#68#69"{GLMakie.Screen{GLFW.Window}})()
    @ GLMakie ~/.julia/packages/GLMakie/GK1PF/src/screen.jl:867

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions