{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/331","labels_url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/331/comments","events_url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/331/events","html_url":"https://github.com/JuliaLang/IJulia.jl/issues/331","id":99190191,"number":331,"title":"Connection to kernel hangs on last Julia master","user":{"login":"bermanmaxim","id":5989894,"avatar_url":"https://avatars.githubusercontent.com/u/5989894?v=3","gravatar_id":"","url":"https://api.github.com/users/bermanmaxim","html_url":"https://github.com/bermanmaxim","followers_url":"https://api.github.com/users/bermanmaxim/followers","following_url":"https://api.github.com/users/bermanmaxim/following{/other_user}","gists_url":"https://api.github.com/users/bermanmaxim/gists{/gist_id}","starred_url":"https://api.github.com/users/bermanmaxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bermanmaxim/subscriptions","organizations_url":"https://api.github.com/users/bermanmaxim/orgs","repos_url":"https://api.github.com/users/bermanmaxim/repos","events_url":"https://api.github.com/users/bermanmaxim/events{/privacy}","received_events_url":"https://api.github.com/users/bermanmaxim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-05T12:09:01Z","updated_at":"2015-08-05T15:56:03Z","closed_at":null,"body":"Hello, I face some issue with last `Julia` master (version 0.4.0-dev+6494),\r\n\r\nI checked out and built last master version of IJulia, on a fresh Julia installation, after having deleted my julia ipython profile folder. IPython is version 3.2.1\r\n\r\nWhen I launch `ipython notebook` and send a computation `1+1` there is no answer (`[*]`); however if I press ctrl+C in the terminal the answer is received and the result shows. I can do that several times if I don't press ctrl+C twice in a row... The Python notebook works fine.\r\n\r\nHere is the output when I turn `verbose=true` in `src/IJulia.jl`:\r\n\r\n```\r\nPROFILE = Dict{AbstractString,Any}(\"key\"=>\"337e5083-b859-4148-a50b-5f920aa122ff\",\"transport\"=>\"tcp\",\"signature_scheme\"=>\"hmac-sha256\",\"ip\"=>\"127.0.0.1\",\"hb_port\"=>55298,\"control_port\"=>40397,\"shell_port\"=>35496,\"stdin_port\"=>47856,\"iopub_port\"=>34977)\r\nSENDING IPython Msg [ idents status ] {\r\n  header = Dict(\"msg_id\"=>\"ec516e24-c1f3-427f-b6a4-a1f52550b437\",\"msg_type\"=>\"status\",\"username\"=>\"jlkernel\",\"version\"=>\"5.0\",\"session\"=>\"????\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict(\"execution_state\"=>\"starting\")\r\n}\r\nStarting kernel event loops.\r\ngot msg part �<�i\r\ngot msg part <IDS|MSG>\r\nRECEIVED IPython Msg [ idents �<�i ] {\r\n  header = Dict{AbstractString,Any}(\"msg_id\"=>\"24937c19-407f-4b17-992d-cd9ba9302df5\",\"msg_type\"=>\"kernel_info_request\",\"username\"=>\"maxim\",\"date\"=>\"2015-08-05T14:04:09.175072\",\"version\"=>\"5.0\",\"session\"=>\"BD165CF00C3D46F6940B70827CF1B5DB\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict{AbstractString,Any}()\r\n}\r\nSENDING IPython Msg [ idents status ] {\r\n  header = Dict(\"msg_id\"=>\"784033d4-280b-4dc2-b07c-7fc6579d3f2b\",\"msg_type\"=>\"status\",\"username\"=>\"jlkernel\",\"version\"=>\"5.0\",\"session\"=>\"????\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict(\"execution_state\"=>\"busy\")\r\n}\r\nSENDING IPython Msg [ idents �<�i ] {\r\n  header = Dict(\"msg_id\"=>\"f8937648-0e4d-49e2-a0a4-70a9a048ef5d\",\"msg_type\"=>\"kernel_info_reply\",\"username\"=>\"maxim\",\"version\"=>\"5.0\",\"session\"=>\"BD165CF00C3D46F6940B70827CF1B5DB\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict{ASCIIString,Any}(\"help_links\"=>[Dict(\"text\"=>\"Julia Home Page\",\"url\"=>\"http://julialang.org/\"),Dict(\"text\"=>\"Julia Documentation\",\"url\"=>\"http://docs.julialang.org/\"),Dict(\"text\"=>\"Julia Packages\",\"url\"=>\"http://pkg.julialang.org/\")],\"language_info\"=>Dict(\"file_extension\"=>\".jl\",\"name\"=>\"julia\",\"mimetype\"=>\"application/julia\",\"version\"=>\"0.4.0\"),\"implementation\"=>\"ijulia\",\"banner\"=>\"Julia: A fresh approach to technical computing.\",\"protocol_version\"=>\"5.0\")\r\n}\r\nSENDING IPython Msg [ idents status ] {\r\n  header = Dict(\"msg_id\"=>\"215efeb8-dc44-4825-acf8-047a6f1241dc\",\"msg_type\"=>\"status\",\"username\"=>\"jlkernel\",\"version\"=>\"5.0\",\"session\"=>\"????\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict(\"execution_state\"=>\"idle\")\r\n}\r\n\r\n```\r\n\r\nand it hangs there (even if I send `1+1` command). Now if I press Ctrl+C in the terminal this gets added\r\n\r\n```\r\n[I 14:06:47.870 NotebookApp] interrupted\r\nServing notebooks from local directory: /home/maxim\r\n1 active kernels \r\nThe IPython Notebook is running at: http://localhost:8934/\r\nShutdown this notebook server (y/[n])? got msg part BD165CF00C3D46F6940B70827CF1B5DB\r\ngot msg part <IDS|MSG>\r\nRECEIVED IPython Msg [ idents BD165CF00C3D46F6940B70827CF1B5DB ] {\r\n  header = Dict{AbstractString,Any}(\"msg_id\"=>\"3F581B6D3EFF496897B8BBEE5B631AE2\",\"msg_type\"=>\"kernel_info_request\",\"username\"=>\"username\",\"version\"=>\"5.0\",\"session\"=>\"BD165CF00C3D46F6940B70827CF1B5DB\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict{AbstractString,Any}()\r\n}\r\nSENDING IPython Msg [ idents status ] {\r\n  header = Dict(\"msg_id\"=>\"2222647f-dd66-4d0f-a621-205d3f505f2b\",\"msg_type\"=>\"status\",\"username\"=>\"jlkernel\",\"version\"=>\"5.0\",\"session\"=>\"????\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict(\"execution_state\"=>\"busy\")\r\n}\r\nSENDING IPython Msg [ idents BD165CF00C3D46F6940B70827CF1B5DB ] {\r\n  header = Dict(\"msg_id\"=>\"1a40ec07-ac74-4e59-8199-cf738a597eb9\",\"msg_type\"=>\"kernel_info_reply\",\"username\"=>\"username\",\"version\"=>\"5.0\",\"session\"=>\"BD165CF00C3D46F6940B70827CF1B5DB\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict{ASCIIString,Any}(\"help_links\"=>[Dict(\"text\"=>\"Julia Home Page\",\"url\"=>\"http://julialang.org/\"),Dict(\"text\"=>\"Julia Documentation\",\"url\"=>\"http://docs.julialang.org/\"),Dict(\"text\"=>\"Julia Packages\",\"url\"=>\"http://pkg.julialang.org/\")],\"language_info\"=>Dict(\"file_extension\"=>\".jl\",\"name\"=>\"julia\",\"mimetype\"=>\"application/julia\",\"version\"=>\"0.4.0\"),\"implementation\"=>\"ijulia\",\"banner\"=>\"Julia: A fresh approach to technical computing.\",\"protocol_version\"=>\"5.0\")\r\n}\r\nSENDING IPython Msg [ idents status ] {\r\n  header = Dict(\"msg_id\"=>\"2581dd2b-e7c9-45e6-837a-a54eb17438c1\",\"msg_type\"=>\"status\",\"username\"=>\"jlkernel\",\"version\"=>\"5.0\",\"session\"=>\"????\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict(\"execution_state\"=>\"idle\")\r\n}\r\ngot msg part BD165CF00C3D46F6940B70827CF1B5DB\r\ngot msg part <IDS|MSG>\r\nRECEIVED IPython Msg [ idents BD165CF00C3D46F6940B70827CF1B5DB ] {\r\n  header = Dict{AbstractString,Any}(\"msg_id\"=>\"66A81594AE014B218E30D3CB56B7C1C1\",\"msg_type\"=>\"execute_request\",\"username\"=>\"username\",\"version\"=>\"5.0\",\"session\"=>\"BD165CF00C3D46F6940B70827CF1B5DB\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict{AbstractString,Any}(\"store_history\"=>true,\"user_expressions\"=>Dict{AbstractString,Any}(),\"allow_stdin\"=>true,\"code\"=>\"1+1\",\"silent\"=>false,\"stop_on_error\"=>true)\r\n}\r\nSENDING IPython Msg [ idents status ] {\r\n  header = Dict(\"msg_id\"=>\"6b69018f-77f9-4c96-80d4-6e62ced855b7\",\"msg_type\"=>\"status\",\"username\"=>\"jlkernel\",\"version\"=>\"5.0\",\"session\"=>\"????\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict(\"execution_state\"=>\"busy\")\r\n}\r\nEXECUTING 1+1\r\nSENDING IPython Msg [ idents execute_input ] {\r\n  header = Dict(\"msg_id\"=>\"a733aef2-bf62-43db-aed1-10483f9622e1\",\"msg_type\"=>\"execute_input\",\"username\"=>\"username\",\"version\"=>\"5.0\",\"session\"=>\"BD165CF00C3D46F6940B70827CF1B5DB\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict{ASCIIString,Any}(\"code\"=>\"1+1\",\"execution_count\"=>1)\r\n}\r\nSENDING IPython Msg [ idents execute_result ] {\r\n  header = Dict(\"msg_id\"=>\"28d103a9-f516-45f2-89e9-4ae3c0ea43ac\",\"msg_type\"=>\"execute_result\",\"username\"=>\"username\",\"version\"=>\"5.0\",\"session\"=>\"BD165CF00C3D46F6940B70827CF1B5DB\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict{ASCIIString,Any}(\"data\"=>Dict{ASCIIString,ByteString}(\"text/plain\"=>\"2\"),\"metadata\"=>Dict{Any,Any}(),\"execution_count\"=>1)\r\n}\r\nSENDING IPython Msg [ idents BD165CF00C3D46F6940B70827CF1B5DB ] {\r\n  header = Dict(\"msg_id\"=>\"e78f73d8-bde2-47b5-b114-f59354677e23\",\"msg_type\"=>\"execute_reply\",\"username\"=>\"username\",\"version\"=>\"5.0\",\"session\"=>\"BD165CF00C3D46F6940B70827CF1B5DB\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict{ASCIIString,Any}(\"status\"=>\"ok\",\"payload\"=>\"\",\"user_expressions\"=>Dict{Any,Any}(),\"execution_count\"=>1)\r\n}\r\nSENDING IPython Msg [ idents status ] {\r\n  header = Dict(\"msg_id\"=>\"b8b97f9a-c44a-495c-825e-814c0cc2b228\",\"msg_type\"=>\"status\",\"username\"=>\"jlkernel\",\"version\"=>\"5.0\",\"session\"=>\"BD165CF00C3D46F6940B70827CF1B5DB\"),\r\n  metadata = Dict{AbstractString,Any}(),\r\n  content = Dict(\"execution_state\"=>\"idle\")\r\n}\r\nNo answer for 5s: resuming operation...\r\n```\r\n\r\nI will try to build an older commit of `Julia` master to see if the problem goes away..."},"comment":{"url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/comments/128048425","html_url":"https://github.com/JuliaLang/IJulia.jl/issues/331#issuecomment-128048425","issue_url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/331","id":128048425,"user":{"login":"stevengj","id":2913679,"avatar_url":"https://avatars.githubusercontent.com/u/2913679?v=3","gravatar_id":"","url":"https://api.github.com/users/stevengj","html_url":"https://github.com/stevengj","followers_url":"https://api.github.com/users/stevengj/followers","following_url":"https://api.github.com/users/stevengj/following{/other_user}","gists_url":"https://api.github.com/users/stevengj/gists{/gist_id}","starred_url":"https://api.github.com/users/stevengj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevengj/subscriptions","organizations_url":"https://api.github.com/users/stevengj/orgs","repos_url":"https://api.github.com/users/stevengj/repos","events_url":"https://api.github.com/users/stevengj/events{/privacy}","received_events_url":"https://api.github.com/users/stevengj/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T15:56:03Z","updated_at":"2015-08-05T15:56:03Z","body":"@vtjnash, any idea why that commit would affect IJulia?"}}