-
-
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
Collaborative Jupyter Lab not working #179
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
1 similar comment
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
I was able to get it to work for me. Since I had just installed the extension, I was trying it out on a notebook that I already had opened in jupyterlab. I of course tried restarting the jupyterlab server and reloading the front-end multiple times, to no avail. Then I found that when I tried it out in a new 'Untitled.ipynb' notebook, it worked just fine. I noticed the Untitled notebook had "RTC:" prepended in the URL, whereas my already-opened notebook did not (despite reloading it multiple times, I think jupyterlab keeps some state in the background). By closing the notebook (closing the tab within jupyterlab, not just closing the jupyterlab tab in the browser) and reopening it, I was able to get the collaborative features to work. Hopefully, this will be enough to reproduce the bug. |
Thanks for the detailed explanation, @maximerischard!
The problem is that JupyterLab stores the layout of the workspace in the browser's local storage, so if you launch JupyterLab in collaborative mode from a workspace where you previously worked on JupyterLab without collaboration enabled, all the paths are wrong. The restored documents don't have collaboration enabled. |
I am having trouble with real-time collaborative mode.
I did the following:
I thin copied the URL in the jupyter startup output and opened it in 2 browsers.
I opened the same file in both client windows.
I am not getting any of the claimed collaborative functionality.
I only see changes made by the other 'client' by reloading the page.
I am doing this on Linux with
python version 3.11.4
jupyterlab version 4.0.2
jupyter_collaboration version 1.0.1
The text was updated successfully, but these errors were encountered: