Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print, println, and @printf do not print results in the notebook #23

Closed
nfoti opened this issue Jul 29, 2013 · 5 comments
Closed

print, println, and @printf do not print results in the notebook #23

nfoti opened this issue Jul 29, 2013 · 5 comments

Comments

@nfoti
Copy link
Contributor

nfoti commented Jul 29, 2013

When I run print("Test") in an IJulia notebook the string is printed to the terminal but not as the result of the cell in the notebook as is the case when I run print "Test" in an IPython notebook.

@JeffBezanson
Copy link
Member

On our todo list in #4.

stevengj added a commit that referenced this issue Aug 6, 2013
@stevengj
Copy link
Member

stevengj commented Aug 6, 2013

@loladiro, I thought commit 8d40d9d would do the trick, but readavailable seems to block forever (even if I execute a print statement in the execute handler). What am I doing wrong?

@stevengj
Copy link
Member

stevengj commented Aug 6, 2013

From the IJulia notebook:

In [1]: IJulia.set_verbose()
Out[1]: true
In [2]: println("Hello world!")
In [3]: STDOUT
Out[3]: Pipe(open, 0 bytes waiting)

So STDOUT apparently has "0 bytes waiting" even though the vprintln("STDIO ...) line in stdio.jl never executed.

@wizofe
Copy link

wizofe commented Mar 4, 2021

I still have this issue. Is it somehow resolved?

@stevengj
Copy link
Member

stevengj commented Mar 4, 2021

Works for me:
image
This issue was fixed 7 years ago. Any problem you are seeing now is unrelated and should be opened in a new issue or discussed on https://discourse.julialang.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants