-
-
Notifications
You must be signed in to change notification settings - Fork 414
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
Writing more than 64 kb to stdout #243
Comments
I can't reproduce:
works fine for me (128kiB output). Does this example fail for you? What is the output of |
Your example works fine. versioninfo() below. I am using PyCall and the win32com.client python module to call COM-functions. Since exactly the same thing works in a standalone julia process I didn't think it was a python issue. Julia Version 0.3.1 |
What about:
? That works for me, but maybe there is a problem with the As shown from my example code, there is no inherent problem in IJulia and IPython with more than 64kB standard output, so I'm not sure where the problem lies on your machine. |
Actually, now I see a problem on my machine:
returns cc: @vtjnash |
I'm closing this in favor of JuliaLang/julia#8789, since I was able to reproduce the problem outside IJulia by redirecting stdout. |
OK, good, thank you! |
Re-opening this issue as it is not a Julia problem per se, it is an OS limitation for reading and writing a buffer device from the same thread. The only solution would be to somehow instantiate a genuine OS thread that is responsible for reading the IO buffers; this is theoretically possible but will require some work (possibly at the C level). |
I am calling something that writes more than 64 kb to stdout from IJulia Notebook and the process stalls. Less than 64 kb works and doing the same thing on a worker process (or outside Ijulia notebook) works fine.
The text was updated successfully, but these errors were encountered: