{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/689","repository_url":"https://api.github.com/repos/JuliaLang/IJulia.jl","labels_url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/689/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/689/comments","events_url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/689/events","html_url":"https://github.com/JuliaLang/IJulia.jl/issues/689","id":344345858,"node_id":"MDU6SXNzdWUzNDQzNDU4NTg=","number":689,"title":"Fail to use BenchmarkTools for 0.7","user":{"login":"Roger-luo","id":8445510,"node_id":"MDQ6VXNlcjg0NDU1MTA=","avatar_url":"https://avatars2.githubusercontent.com/u/8445510?v=4","gravatar_id":"","url":"https://api.github.com/users/Roger-luo","html_url":"https://github.com/Roger-luo","followers_url":"https://api.github.com/users/Roger-luo/followers","following_url":"https://api.github.com/users/Roger-luo/following{/other_user}","gists_url":"https://api.github.com/users/Roger-luo/gists{/gist_id}","starred_url":"https://api.github.com/users/Roger-luo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roger-luo/subscriptions","organizations_url":"https://api.github.com/users/Roger-luo/orgs","repos_url":"https://api.github.com/users/Roger-luo/repos","events_url":"https://api.github.com/users/Roger-luo/events{/privacy}","received_events_url":"https://api.github.com/users/Roger-luo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-25T08:36:57Z","updated_at":"2018-07-25T09:12:34Z","closed_at":null,"author_association":"NONE","body":"I was trying to use `@benchmark` in the notebook env with Julia v0.7 kernel:\r\n\r\n```julia\r\nusing BenchmarkTools\r\n\r\na = rand(1000)\r\n\r\n@benchmark sum(a)\r\n```\r\n\r\nAnd I got\r\n\r\n```\r\nMethodError: no method matching pipe_writer(::IJulia.IJuliaStdio{Base.PipeEndpoint})\r\nThe applicable method may be too new: running in world age 27560, while current world is 27565.\r\nClosest candidates are:\r\n  pipe_writer(::IJulia.IJuliaStdio) at /Users/roger/.julia/packages/IJulia/tWHw/src/stdio.jl:15 (method too new to be called from this world context.)\r\n  pipe_writer(!Matched::Base.ProcessChain) at process.jl:344\r\n  pipe_writer(!Matched::Base.Process) at process.jl:332\r\n  ...\r\n\r\nStacktrace:\r\n [1] unsafe_write(::IJulia.IJuliaStdio{Base.PipeEndpoint}, ::Ptr{UInt8}, ::UInt64) at ./io.jl:225\r\n [2] unsafe_write(::IJulia.IJuliaStdio{Base.PipeEndpoint}, ::Ptr{UInt8}, ::Int64) at ./io.jl:512\r\n [3] write(::IJulia.IJuliaStdio{Base.PipeEndpoint}, ::Array{UInt8,1}) at ./gcutils.jl:87\r\n [4] #handle_message#2(::Nothing, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Base.CoreLogging.SimpleLogger, ::Base.CoreLogging.LogLevel, ::String, ::Module, ::Symbol, ::Symbol, ::String, ::Int64) at ./logging.jl:534\r\n [5] handle_message at ./logging.jl:516 [inlined]\r\n [6] macro expansion at ./logging.jl:310 [inlined]\r\n [7] compilecache(::Base.PkgId) at ./loading.jl:1173\r\n [8] macro expansion at ./logging.jl:298 [inlined]\r\n [9] _require(::Base.PkgId) at ./loading.jl:929\r\n [10] require(::Base.PkgId) at ./loading.jl:838\r\n [11] require(::Module, ::Symbol) at ./loading.jl:833\r\n```\r\n\r\nMy Julia version is:\r\n\r\n```\r\njulia> versioninfo()\r\nJulia Version 0.7.0-beta2.33\r\nCommit 565bd4d265* (2018-07-18 08:33 UTC)\r\nPlatform Info:\r\n  OS: macOS (x86_64-apple-darwin17.6.0)\r\n  CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz\r\n  WORD_SIZE: 64\r\n  LIBM: libimf\r\n  LLVM: libLLVM-6.0.0 (ORCJIT, skylake)\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/comments/407688646","html_url":"https://github.com/JuliaLang/IJulia.jl/issues/689#issuecomment-407688646","issue_url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/689","id":407688646,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzY4ODY0Ng==","user":{"login":"fredrikekre","id":11698744,"node_id":"MDQ6VXNlcjExNjk4NzQ0","avatar_url":"https://avatars2.githubusercontent.com/u/11698744?v=4","gravatar_id":"","url":"https://api.github.com/users/fredrikekre","html_url":"https://github.com/fredrikekre","followers_url":"https://api.github.com/users/fredrikekre/followers","following_url":"https://api.github.com/users/fredrikekre/following{/other_user}","gists_url":"https://api.github.com/users/fredrikekre/gists{/gist_id}","starred_url":"https://api.github.com/users/fredrikekre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredrikekre/subscriptions","organizations_url":"https://api.github.com/users/fredrikekre/orgs","repos_url":"https://api.github.com/users/fredrikekre/repos","events_url":"https://api.github.com/users/fredrikekre/events{/privacy}","received_events_url":"https://api.github.com/users/fredrikekre/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T09:12:34Z","updated_at":"2018-07-25T09:12:34Z","author_association":"CONTRIBUTOR","body":"#677"}}
{"actor":{"display_login":"fredrikekre"}}