Yes, I get normal output in a Python notebook.
On Sunday, November 1, 2015 at 7:57:55 PM UTC-5, Yichao Yu wrote: > > On Sun, Nov 1, 2015 at 7:25 PM, Simon Kornblith <si...@simonster.com > <javascript:>> wrote: > > I'm trying to figure out why IJulia appears to stopped working for me. > It > > executes code, but it never prints the output. It looks like the kernel > is > > trying to send it back, but for some reason it's not making it back to > the > > client. With verbose = true, for a cell that contains println("hello > world") > > I see: > > Possibly dumb question but does (I)Python kernel work? > > > > > got msg part 0571B15088884EE5BDDD5DD2FB31E826 > > got msg part <IDS|MSG> > > RECEIVED IPython Msg [ idents 0571B15088884EE5BDDD5DD2FB31E826 ] { > > header = > > > Dict{AbstractString,Any}("msg_id"=>"B1BF99EE7ECC4CFD8BD3EE2EF2ACBAF1","msg_type"=>"execute_request","username"=>"username","version"=>"5.0","session"=>"0 > > > > 571B15088884EE5BDDD5DD2FB31E826"), > > metadata = Dict{AbstractString,Any}(), > > content = > > > Dict{AbstractString,Any}("store_history"=>true,"user_expressions"=>Dict{AbstractString,Any}(),"allow_stdin"=>true,"code"=>"println(\"hello > > > > world\")","si > > lent"=>false,"stop_on_error"=>true) > > } > > SENDING IPython Msg [ idents status ] { > > header = > > > Dict("msg_id"=>"638d0490-61db-4d5c-94c8-f8d88e154c5f","msg_type"=>"status","username"=>"jlkernel","version"=>"5.0","session"=>"0571B15088884EE5BDDD5DD2FB > > > > 31E826"), > > metadata = Dict{AbstractString,Any}(), > > content = Dict("execution_state"=>"busy") > > } > > EXECUTING println("hello world") > > SENDING IPython Msg [ idents execute_input ] { > > header = > > > Dict("msg_id"=>"312c5e9c-2981-4187-ba2a-a79f9bfbeb8a","msg_type"=>"execute_input","username"=>"username","version"=>"5.0","session"=>"0571B15088884EE5BDD > > > > D5DD2FB31E826"), > > metadata = Dict{AbstractString,Any}(), > > content = Dict{ASCIIString,Any}("code"=>"println(\"hello > > world\")","execution_count"=>2) > > } > > SENDING IPython Msg [ idents stdout ] { > > header = > > > Dict("msg_id"=>"052a8a7f-c576-4a71-a60e-546be2d6e25d","msg_type"=>"stream","username"=>"username","version"=>"5.0","session"=>"0571B15088884EE5BDDD5DD2FB > > > > 31E826"), > > metadata = Dict{AbstractString,Any}(), > > content = Dict("name"=>"stdout","text"=>"hello world\n") > > } > > SENDING IPython Msg [ idents 0571B15088884EE5BDDD5DD2FB31E826 ] { > > header = > > > Dict("msg_id"=>"5b8b2b53-483d-4e3a-9b7d-99763a352266","msg_type"=>"execute_reply","username"=>"username","version"=>"5.0","session"=>"0571B15088884EE5BDD > > > > D5DD2FB31E826"), > > metadata = Dict{AbstractString,Any}(), > > content = > > > Dict{ASCIIString,Any}("status"=>"ok","payload"=>"","user_expressions"=>Dict{Any,Any}(),"execution_count"=>2) > > > > } > > SENDING IPython Msg [ idents status ] { > > header = > > > Dict("msg_id"=>"43a9b3d2-d335-4dde-a8ea-662aa25f30ce","msg_type"=>"status","username"=>"jlkernel","version"=>"5.0","session"=>"0571B15088884EE5BDDD5DD2FB > > > > 31E826"), > > metadata = Dict{AbstractString,Any}(), > > content = Dict("execution_state"=>"idle") > > } > > > > But nothing shows up in the browser. This is probably an issue with my > > configuration, but I have no idea what. Any idea on how I could debug > this > > further? I have notebook server 4.0.6 and IJulia 1.1.8 on julia > 0.4.1-pre+8. > > > > Thanks, > > Simon >