[jupyter] Handling the Runtime error cause by Cell execution Time out inside a python program (python 2.7)

2016-10-14 Thread Sreehari S
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 RuntimeErr

Re: [jupyter] Handling the Runtime error cause by Cell execution Time out inside a python program (python 2.7)

2016-10-14 Thread Sreehari S
else: raise e The above snippet seems to do the job. Thank you On Friday, October 14, 2016 at 6:56:46 PM UTC+5:30, takowl wrote: > > On 14 October 2016 at 11:30, Sreehari S > > wrote: > >> But in python 2.6/2.7, a RuntimeError results (as documented here : >>

[jupyter] "No module named jupyter_client.manager" error throws up in Travis CI tests

2016-11-11 Thread Sreehari S
I am trying to test a bunch of ipython notebooks and I've been trying to do the same using the 'nbformat' and the 'nbconvert' libraries. I get the error - "No module named jupyter_client.manager" on the Travis CI tests and this does not happen when I run the tests locally. The .travis.yml file

Re: [jupyter] "No module named jupyter_client.manager" error throws up in Travis CI tests

2016-11-12 Thread Sreehari S
Thank you! I added jupyter_client to the test dependencies and it worked! On Saturday, November 12, 2016 at 3:24:28 AM UTC+5:30, takowl wrote: > > On 11 November 2016 at 12:33, Sreehari S > > wrote: > >> What exactly should I do to remove the error in the CI tests? As