-
Notifications
You must be signed in to change notification settings - Fork 388
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
Using real time collaboration with Jupytext #1124
Comments
out of curiosity could you please try to run this in a terminal jupytext-config set-default-viewer before trying again (not quite sure what exactly needs to be restarted, so please be on a safe side and restart the jupyter lab session entirely) |
Thanks @parmentelat for the comment. I tried the command, reset the workspace, restarted jupyter lab and that worked out nicely! So this part of the the issue looks solved. What turns out now is even more severe though... To reproduce on Jupyter lab 4.0.6 with jupytext 1.15.2 and collaborative extension 1.2.0 data loss occurs with the following steps here:
The file content is now looks corrupted: The file content on disk looks OK though. |
hi @asteppke
|
Hi @parmentelat, Without the collaboration extension this bug does not occur. It requires both, jupytext and the collaboration extension to happen. So it is most likely an interaction of both extensions, I cannot judge in which code part the responsibility for this lies. |
I'm seeing the exact same bug as described in #1124 (comment) (paired with the "light" script). The I've opened jupyterlab/jupyter-collaboration#214 |
The issue is still there with the newest jupyter-collaboration 2.0 release: jupyterlab/jupyter-collaboration#214 (comment) |
When using Jupytext with Jupyterlab 4 and the real time collaboration feature and using a notebook in the %-format, e.g.
test.py
the collaboration does not work straight away.The issue is that when creating the link to share the notebook, for example "localhost:8888/lab/.../RTC%3A.../test.py" the second jupyter lab browser instance thinks this is a pure .py file and opens the plain text editor. And collaboration between the notebook editor and the plain text editor is not supported (jupyterlab/jupyter-collaboration#189).
As a workaround one can always make sure only create links to the .ipynb file. Is there a possibility that this works with notebooks as %-formatted .py files as well?
The text was updated successfully, but these errors were encountered: