Hello! I was working on writing a script that can test ipython notebooks.
I need to catch the Error that is raised when a cell execution times out and continue executing the remaining cells. For python 3+, I can simply do this as: except TimeoutError as e: But in python 2.6/2.7, a RuntimeError results (as documented here : https://github.com/jupyter/nbconvert/blob/master/nbconvert/preprocessors/execute.py#L48 ) How do I handle this? In other words, when I see something like RuntimeError: Cell execution timed out, see log for details. I should be able to continue executing the cells following the cell causing the timeout. (I've tried using *allow_errrors = True, *but that doesn't seem to help) Any ideas on how I can do this? Thank you -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscr...@googlegroups.com. To post to this group, send email to firstname.lastname@example.org. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/b55de603-cb9e-4129-9877-59b6cf689c69%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.