JunoLab / DevTools.jl

Julia DevTools
Other
24 stars 11 forks source link

Error using profiler() #3

Closed rcnlee closed 6 years ago

rcnlee commented 8 years ago

I am getting an error when calling the profile visualizer. A window pops up saying "Not found" Any ideas? Thanks!

julia> profiler()

Error showing value of type DevTools.ProfileView.Node{DevTools.ProfileView.ProfileNode}:
ERROR: MethodError: `wait` has no method matching wait(::Condition, ::Int64)
Closest candidates are:
  wait(::Condition)
  wait(::RemoteRef{T<:AbstractChannel}, ::Any...)
 in render at C:\Users\rcnlee\.julia\v0.4\DevTools\src\display\display.jl:35
 in render at C:\Users\rcnlee\.julia\v0.4\DevTools\src\profile\blink.jl:8
 in display at C:\Users\rcnlee\.julia\v0.4\Media\src\compat.jl:9
 [inlined code] from multimedia.jl:151
 in display at multimedia.jl:162
 in print_response at REPL.jl:134
 in print_response at REPL.jl:121
 in anonymous at REPL.jl:624
 in run_interface at LineEdit.jl:1610
 in run_frontend at REPL.jl:863
 in run_repl at REPL.jl:167
 in _start at client.jl:420
MikeInnes commented 8 years ago

This is working for me at the moment. What's your Pkg.status()?

Perhaps try Pkg.checkout("Blink").

rejuvyesh commented 8 years ago

Same error with the simple Gadfly example:

using DevTools, Gadfly
plot(x=1:100, y=cumsum(randn(100)))
Error showing value of type Gadfly.Plot:
ERROR: MethodError: `wait` has no method matching wait(::Condition, ::Int64)
Closest candidates are:
  wait(::Condition)
  wait(::RemoteRef{T<:AbstractChannel}, ::Any...)
 in render at /home/rejuvyesh/.julia/v0.4/DevTools/src/display/display.jl:35
 in display at /home/rejuvyesh/.julia/v0.4/Media/src/compat.jl:9
 [inlined code] from multimedia.jl:151
 in display at /home/rejuvyesh/.julia/v0.4/Gadfly/src/Gadfly.jl:908
 in print_response at REPL.jl:134
 in print_response at REPL.jl:121
 in anonymous at REPL.jl:624
 in run_interface at ./LineEdit.jl:1610
 in run_frontend at ./REPL.jl:863
 in run_repl at ./REPL.jl:167
 in _start at ./client.jl:420

Using the latest master of Blink, Media and Gadfly:

Error showing value of type Gadfly.Plot:
ERROR: MethodError: `pool` has no method matching pool(::Void)
 in display at /home/rejuvyesh/.julia/v0.4/Media/src/compat.jl:9
 [inlined code] from multimedia.jl:151
 in display at /home/rejuvyesh/.julia/v0.4/Gadfly/src/Gadfly.jl:1017
 in print_response at REPL.jl:134
 in print_response at REPL.jl:121
 in anonymous at REPL.jl:624
 in run_interface at ./LineEdit.jl:1610
 in run_frontend at ./REPL.jl:863
 in run_repl at ./REPL.jl:167
 in _start at ./client.jl:420
musm commented 7 years ago

same problem here: try w == pinned(view) || wait(w.content.cb) on line 35 in display\display.jl