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

Init_cell together with restart and run all goes to infinite loop #1619

Open
MichalRIcar opened this issue Dec 12, 2022 · 1 comment
Open

Comments

@MichalRIcar
Copy link

MichalRIcar commented Dec 12, 2022

Hello,

I am wondering if it is by design or a bug - I have come to a following issue:
I set all cells of jupyter notebook as init_cell true.
Works as expected and upon opening the notebook the cells auto run.
After sometime I need to restart the notebook and run all cells. When I use option Restart and Run All the notebook never passes the first cell - all cells are denoted as restarting and ready to run (*) but it stays there forever.
Hoewer, if I use restart the kernel only then it auto runs all cells which is caused by init_cell.

Thus my question is if this behavior is intentional? As you can imagine, in reality I am operating in code remotely, thus knowing if user has set his notebook with init_cell option or not is a difference between working and not working notebook.

Thank you for Your thoughts.

@juhasch
Copy link
Member

juhasch commented Dec 21, 2022

It might be related to a race condition fixed in PR #1474.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants