-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Can not open existing notebooks with JupyterLab 4.2.5 and jupyter-collaboration 3 #398
Comments
I've been running into this bug, too. Out of curiosity (and since I have no sense of the internals), I was curious to see if there were any format differences or added values in the The
@jtpio, I'm not sure this is always the case. When I created some sample notebooks after installing I can't be certain, but my sense was: if I created a notebook file and had it open for a while then it seemed to be good and I never encountered the bug. But if I created a short notebook file, executed a few cells, then saved and closed it relatively quickly, then it wouldn't reopen later. It seemed like there's something happening that takes a few seconds to complete and if I saved and close the file before that time, then I would never be able to reopen it later (and it would look just like the bug in the video). An aside: I also tried to downgrade to |
I had also faced similar issues and I upgraded my jupyterlab to 4.3.0. After upgrading notebooks are opening but sometimes it can take a long time to open. Issue is mentioned here. |
Any update on this issue? This is a major issue for us blocking existing notebooks from opening. If we just download a notebook, rename the file, and upload the renamed notebook, we see the issue in the video where the notebook completely fails to render. My team can't currently upgrade to JL 4.3 because we maintain a Docker image following SemVer for all installed packages, and anyway the notebook package currently pins to JL<4.3. If jupyter-collaboration isn't supposed to be compatible with JL 4.2, that should be reflected in the conda-forge feedstock. |
I'm not sure what is going on. It seems that simply removing the |
Is it possibly related to the reproduction that @brichet described on this issue: #390 (comment) |
I was able to reproduce this by following the exact steps in the video. One extra data point though. I did see the the following in the Terminal when the notebook failed to open:
|
OK, not sure if this is the root cause of this issue, but the above traceback is due to a bug in pycrdt: |
FYI: I tried the fix to the pycrdt |
A few other notes:
|
Another observation: when I delete the |
@ellisonbg do you have JupyterLab 4.3.1 or 4.3.2? |
This particular bug shows up with JupyterLab 4.2.5.Sent from my iPhoneOn Dec 6, 2024, at 12:35 AM, Michał Krassowski ***@***.***> wrote:
@ellisonbg do you have JupyterLab 4.3.1 or 4.3.2?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
it does not look like related, I do see the |
I found that
But this doesn't seem to enforce that if v2 is installed both the JavaScript and the Python sides should be v2, and if v3 is installed both the JavaScript and the Python sides should be v3. Anyways, a workaround to have JupyterLab v4.2.5 and jupyter-collaboration v3 working together is to do: pip install "jupyter-ydoc<3" |
Description
When using JupyterLab 4.2.5 and jupyter-collaboration 3 together, I cannot reopen my existing notebooks
colab-bug2.mp4
Reproduce
Expected behavior
Context
Troubleshoot Output
Command Line Output
Browser Output
The text was updated successfully, but these errors were encountered: