notebook: Notebook `5.7.0` seems to miss cell execution when executing blocks of cells
Hi,
I upgrade notebook
from 5.6.0
to 5.7.0
and ipython
to 7.0.1
over the weekend.
When I tried to execute a block of cells, either by highlighting then Ctrl+Enter or selecting Execute All Below in the menu bar, some cells are being missed in the execution, resulting in following cells that depend on them to fail.
To be precise, what I have seen is, in a block, cell i
gets executed, cell i+1
missed, and then cell i+2
which uses cell i+1
result fails.
Has anyone seen similar results? I am seeing this in different notebooks on different Windows machines that have the same package versions.
System info below. Thanks.
pandas 0.23.4
numpy 1.15.2
tabulate 0.8.2
seaborn 0.9.0
2018-10-01
CPython 3.6.4
IPython 7.0.1
notebook 5.7.0
ipykernel 5.0.0
ipywidgets 7.4.2
compiler : MSC v.1900 64 bit (AMD64)
system : Windows
release : 7
machine : AMD64
processor : Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
CPU cores : 4
interpreter: 64bit
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 3
- Comments: 22 (7 by maintainers)
I was able to reproduce it on Windows and it’s related to the fact that timers are low-resolution on Windows and we didn’t handle the case where there was a possible tie in the timestamp of two messages, which is ~impossible on unix, but easy on Windows.
https://github.com/ipython/ipykernel/pull/362 should fix the problem.