Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter Kernel timeout Option #30

Closed
amichuda opened this issue Jun 9, 2020 · 3 comments
Closed

Jupyter Kernel timeout Option #30

amichuda opened this issue Jun 9, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@amichuda
Copy link

amichuda commented Jun 9, 2020

I'm creating some tables in codebraid and it takes a while, but after a minute, I get the error:

Jupyter kernel "python3" timed out during execution

I checked the code and I think it might have something to do with:

msg = jupyter_client.iopub_channel.get_msg(timeout=60)

Would it be possible to let the jupyter kernel timeout be an option set when running codebraid? I can open a pull request, but I'm not sure whether you would want it exposed in Converter or somewhere else?

@gpoore
Copy link
Owner

gpoore commented Jun 9, 2020

In the last commit, I've added a jupyter_timeout option that you can specify in the first code chunk in a session, right next to jupyter_kernel. It will probably make sense to allow this to be set elsewhere eventually, but there isn't a good way to set options in a centralized location yet.

@gpoore gpoore added the enhancement New feature or request label Jun 9, 2020
@amichuda
Copy link
Author

amichuda commented Jun 9, 2020

Ah! My apologies, I didn't see that option. Thank you!

@gpoore
Copy link
Owner

gpoore commented Jun 9, 2020

You couldn't have seen that option, because I just added it after you opened the issue.

@gpoore gpoore closed this as completed Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants