question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TimeoutError: Timeout waiting for IOPub output

See original GitHub issue

Operating 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:open
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
davidnerocommented, Nov 22, 2019

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.

0reactions
RonaldEnsingcommented, Mar 18, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found