TimeoutError: Timeout waiting for IOPub output
See original GitHub issueOperating system
Windows 10
nbgrader --version
0.6.0
Expected behavior
The command nbgrader autograde --force “Homework XX” --student abc123 should work for well-formed notebooks.
Actual behavior
About ~20% of the time it fails with TimeoutError: Timeout waiting for IOPub output Running the same notebooks with the web interface works about 50% of the time. If I keep trying it works eventually.
Steps to reproduce the behavior
Run enough notebooks. I searched for the issue but couldn’t find anything under open issues. Is it just me?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Timeout waiting for IOPub output · Issue #426 · nteract/papermill
Hello! Issue: When a cell takes too long to execute fills up the IOPub channel ZMQ buffer, papermill (or nbconvert?)
Read more >Solved: Python tool NbConvertApp Timeout - Alteryx Community
I get the error [NbConvertApp] ERROR | Timeout waiting for execute reply ... execution timed out") TimeoutError: Cell execution timed out.
Read more >How do I fix validation in tljh/jupyter notebook? - Stack Overflow
If a cell execution takes longer, an exception (TimeoutError on python ... help=dedent( """ The time to wait (in seconds) for IOPub output....
Read more >Timeout error while submitting an assignment - coursera.support
Timeout error while submitting an assignment. Every time I submit my Assignment I ... raise TimeoutError("Timeout waiting for IOPub output").
Read more >[NbConvertApp] problem | Data Science and Machine Learning
... my kernel dies during the training process with a "[NbConvertApp] WARNING | Timeout waiting for IOPub output" warning. Any way to solve...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s not consistent with any particular notebook. What I’ve since found is that setting my PC’s power mode to “Best Performance” (on Windows 10) makes the issue completely disappear.
It might have something to do with how the timeout is calculated. It’s not just that it takes too long. When it does fail, it usually does it within a few seconds.
I also run into the issue
Timeout waiting for IOPub output
for some of my student submissions. I haven’t looked into it in enough detail to find out what is causing it. It occured with student submissins that generated a lot of outputs (plots, print statements, etc.). It might be related, but it could also be a coincidence.