jupyterlab / jupyter-collaboration

A Jupyter Server Extension Providing Support for Y Documents
https://jupyterlab-realtime-collaboration.readthedocs.io/en/latest/
Other
166 stars 31 forks source link

Cannot switch collaborative mode off #336

Open sntgluca opened 3 months ago

sntgluca commented 3 months ago

Description

I am trying to switch off RTC via jupyter lab --YDocExtension.disable_rtc=True without success. The extension is still active no matter what I try...

Screenshot 2024-08-15 at 16 06 25 Screenshot 2024-08-15 at 16 07 16

Reproduce

  1. Create a conda environment with the latest available jupyter-lab and jupyter-collaboration conda install -c conda-forge jupyter-collaboration
  2. Run jupyterlab jupyter lab --YDocExtension.disable_rtc=True

I have no idea how to further troubleshoot...

Expected behavior

I'd expect that when starting with the YDocExtension.disable_rtc flag the "collaboration" functionalities would be inactive, including menus, URL changes, etc, as if the extension was disabled...

Context

❯ jupyter --version Selected Jupyter core packages... IPython : 8.26.0 ipykernel : 6.29.5 ipywidgets : 8.1.3 jupyter_client : 8.6.2 jupyter_core : 5.7.2 jupyter_server : 2.14.2 jupyterlab : 4.2.4 nbclient : 0.10.0 nbconvert : 7.16.4 nbformat : 5.10.4 notebook : 7.2.1 qtconsole : not installed traitlets : 5.14.3

jupyter troubleshoot [cut] sys.version: 3.10.14 | packaged by conda-forge | (main, Mar 20 2024, 12:45:18) [GCC 12.3.0]

platform.platform(): Linux-3.10.0-1160.108.1.el7.x86_64-x86_64-with-glibc2.17

delestro commented 2 months ago

Leaving a comment here, because I'm also looking at how to disable the RTC when starting the jupyter server. I have the same issue; it's always on, no matter what.

davidbrochart commented 3 days ago

I just tried from a fresh environment and jupyter lab --YDocExtension.disable_rtc=True effectively disables RTC. That's with jupyterlab v4.3.0 and jupyter-collaboration v3.0.0.