{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/nbconvert/issues/234","repository_url":"https://api.github.com/repos/jupyter/nbconvert","labels_url":"https://api.github.com/repos/jupyter/nbconvert/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/nbconvert/issues/234/comments","events_url":"https://api.github.com/repos/jupyter/nbconvert/issues/234/events","html_url":"https://github.com/jupyter/nbconvert/issues/234","id":132562039,"number":234,"title":"ExecutePreprocessor.timeout does not work as expected","user":{"login":"jlamcanopy","id":13050904,"avatar_url":"https://avatars.githubusercontent.com/u/13050904?v=3","gravatar_id":"","url":"https://api.github.com/users/jlamcanopy","html_url":"https://github.com/jlamcanopy","followers_url":"https://api.github.com/users/jlamcanopy/followers","following_url":"https://api.github.com/users/jlamcanopy/following{/other_user}","gists_url":"https://api.github.com/users/jlamcanopy/gists{/gist_id}","starred_url":"https://api.github.com/users/jlamcanopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlamcanopy/subscriptions","organizations_url":"https://api.github.com/users/jlamcanopy/orgs","repos_url":"https://api.github.com/users/jlamcanopy/repos","events_url":"https://api.github.com/users/jlamcanopy/events{/privacy}","received_events_url":"https://api.github.com/users/jlamcanopy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-09T23:00:10Z","updated_at":"2016-02-10T10:41:14Z","closed_at":null,"body":"In the documentation, it says ExecutePreprocessor.timeout is \"The time to wait (in seconds) for output from executions\"\r\n\r\nMy observation is that even the cell takes 1 second, it will wait until the timeout expires before moving to the next cell. It does not seem to be right because most of the cells take seconds only a few take longer. Is that something I'm missing here?"},"comment":{"url":"https://api.github.com/repos/jupyter/nbconvert/issues/comments/182307141","html_url":"https://github.com/jupyter/nbconvert/issues/234#issuecomment-182307141","issue_url":"https://api.github.com/repos/jupyter/nbconvert/issues/234","id":182307141,"user":{"login":"takluyver","id":327925,"avatar_url":"https://avatars.githubusercontent.com/u/327925?v=3","gravatar_id":"","url":"https://api.github.com/users/takluyver","html_url":"https://github.com/takluyver","followers_url":"https://api.github.com/users/takluyver/followers","following_url":"https://api.github.com/users/takluyver/following{/other_user}","gists_url":"https://api.github.com/users/takluyver/gists{/gist_id}","starred_url":"https://api.github.com/users/takluyver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takluyver/subscriptions","organizations_url":"https://api.github.com/users/takluyver/orgs","repos_url":"https://api.github.com/users/takluyver/repos","events_url":"https://api.github.com/users/takluyver/events{/privacy}","received_events_url":"https://api.github.com/users/takluyver/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T10:41:14Z","updated_at":"2016-02-10T10:41:14Z","body":"I'd guess that it's not sending the kernel status messages:\r\nhttp://jupyter-client.readthedocs.org/en/latest/messaging.html#kernel-status\r\n\r\nThe execute code in nbconvert looks for a *kernel idle* message to tell it that there's no more output. If it doesn't see that, it will wait for the full timeout again. We can probably make that timeout shorter, because it's collecting the outputs after it's received `execute_reply`, which should already mean that execution has finished."}}