JuliaGraphics / Immerse.jl

Dive deeper into your data with interactive graphics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errors during lasso

tbreloff opened this issue · comments

I've been seeing this a lot:

WARNING: Error in @guarded callback
ERROR: MethodError: `convert` has no method matching convert(::Type{Tuple{Int64,Int64}}, ::Int64)
This may have arisen from a call to the constructor Tuple{Int64,Int64}(...),
since type constructors fall back to convert methods.
 in push! at array.jl:429
 in find_inmask at /home/tom/.julia/v0.4/Immerse/src/compose.jl:548
 in select_points at /home/tom/.julia/v0.4/Immerse/src/select.jl:77
 [inlined code] from /home/tom/.julia/v0.4/Immerse/src/select.jl:42
 in anonymous at /home/tom/.julia/v0.4/Gtk/src/base.jl:86
 in mouseup_cb at /home/tom/.julia/v0.4/Gtk/src/events.jl:177FATAL ERROR: Gtk state corrupted by error thrown in a callback:   

I thought it was a Plots problem, but I just restarted julia, and did using Immerse; plot(sin,0,π) and saw the same error.

Same here, error looks like:

WARNING: Error in @guarded callback
ERROR: UndefVarError: reveal not defined
 [inlined code] from /home/kristoffer/.julia/v0.4/Immerse/src/select.jl:54
 in dragging at /home/kristoffer/.julia/v0.4/Gtk/src/base.jl:86
 in mousemove_cb at /home/kristoffer/.julia/v0.4/Gtk/src/events.jl:186
 in notify_motion at /home/kristoffer/.julia/v0.4/Gtk/src/events.jl:64

I'm at release candidate, Ubuntu, using i3 window manager if that could have anything to do with it.

See #9

OK, should be fixed now.