-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Cells disappearing #7523
Comments
Please answer the following questions for yourself before submitting an issue
DescriptionJupyter Notebooks opened under Jupyter Lab 4.3.1 under a python 3.11.4 environment on a MacOS 15.1 displays a blank area where the cells should be after scrolling up or down in the notebook. The most recently executed cell and its output tends to display. This impacts the following browsers
Reloading a notebook (CMD+R) will reload the notebook and all cells will again be visible. Reproduce
Expected behaviorCells should always display. Context
Troubleshoot Outputn] $ jupyter troubleshoot (main) X $PATH: /Users/a/.pyenv/versions/3.11.4/bin /opt/homebrew/Cellar/pyenv/2.4.17/libexec /opt/homebrew/Cellar/pyenv/2.4.17/plugins/python-build/bin /Users/a/.pyenv/shims /opt/homebrew/bin /opt/homebrew/sbin /usr/local/bin /System/Cryptexes/App/usr/bin /usr/bin /bin /usr/sbin /sbin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin /Applications/iTerm.app/Contents/Resources/utilities /Users/a/bin/ /usr/local/bin Browser OutputNA |
Thank you for opening this issue @Nimahoj, and for providing more information @AaronCiuffo245484! |
Browser console logs after it happens would be super useful |
I'll try to get browser console output. my primary browser has lousy console reporting. |
Does the issue disappear when downgrading JupyterLab to 4.3.0? |
@krassowski I'm loath to downgrade on this install; it's part of a project that's working (mostly) and took longer than I want to think about to get setup for a variety of reasons. |
Hi @AaronCiuffo245484 , Thank you for providing more information. It's my first time reporting an issue on github, and I'll use your template in the future |
hi @krassowski , I downgraded to 4.3.0 and the issue looks to have gone away |
Here's the console output from Zen (1.0.1-a.19 (Firefox 132.0.1) (aarch64)) that's experiencing the blank page issue. console-export-2024-11-20_10-35-21.txt I'm unfamiliar with the console reporting features. If I've done something wrong or you need more details, let me know. Here's one more for good measure |
Thank you, this is super helpful. Unfortunately, this confirms my fear that this is a regression uncovered by jupyterlab/jupyterlab#16950 which was included in JupyterLab 4.3.1. I think that that PR did not introduce the bug, but uncovered an existing issue that was masked by the scrollbar calculation being reset after each cell operation. For now I recommend downgrading to JupyterLab 4.3.0 or switching windowing mode to
|
I opened jupyterlab/jupyterlab#16978 and marked it as a release blocker for 4.3.2. I would even consider yanking 4.3.1 from PyPI but not sure yet. |
@krassowski Changing the settings on 4.3.1 solved the issue for me. Thanks for the tip. I'll keep an eye on this thread for version information. Thanks again! |
OK. Since we updated Notebook to JupyterLab 4.3.1 recently, we may want to wait a little bit more here (for 4.3.2) before making the final 7.3.0 release. |
Hello, I also had problems with blank cells... in my case I'm using Windows 11, Python 3.11 and jupyterlab 4.3.1, but it also happened in other previous versions of jupyterlab. The browser is Google Chome (latest version, example: version 131.0.6778.86). In my case, I'm using machine learning models for several hours, typically all night and while I'm sleeping. This morning only 3 cells showed the values, everything else was blank. I don't know if it helps, but my notebook has more than 200 cells... |
See kassowski's message above for the full context, but this worked for me:
|
But has anyone discovered the source of the problem? A - How can we help investigate? B - Is it just an incompatibility between the latest jupyterlab and notebook packages? |
@celestinoxp I'm not a dev here, but it looks like the devs have found the problem. That same message has a possible workaround if you must stay on 4.3.1. |
Hi, Since yesterday I have been facing an issue during running of cells, where randomly the cells will disappear. Randomly, all the cells after the last executed cell disappear, leaving the page blank (white) in that section. The issue if fixed if I re-open the notebook, but I sometimes face it again further down below.
The text was updated successfully, but these errors were encountered: