You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most extensions and some code in core JupyterLab didn't know about custom drives because the default drive doesn't have a prefix (for example, "RTC:"). This issue should be fixed on those extensions.
(edef) [edef@jaguar ~]$ jupyter-lab --ContentsManager.allow_hidden=True --no-browser
[I 2024-12-11 13:22:49.221 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-12-11 13:22:49.224 ServerApp] jupyter_server_fileid | extension was successfully linked.
[I 2024-12-11 13:22:49.226 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-12-11 13:22:49.228 ServerApp] jupyter_server_ydoc | extension was successfully linked.
[I 2024-12-11 13:22:49.231 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-12-11 13:22:49.383 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-12-11 13:22:49.398 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-12-11 13:22:49.400 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-12-11 13:22:49.400 FileIdExtension] Configured File ID manager: ArbitraryFileIdManager
[I 2024-12-11 13:22:49.400 FileIdExtension] ArbitraryFileIdManager : Configured root dir: /home/edef
[I 2024-12-11 13:22:49.400 FileIdExtension] ArbitraryFileIdManager : Configured database path: /home/edef/.local/share/jupyter/file_id_manager.db
[I 2024-12-11 13:22:49.400 FileIdExtension] ArbitraryFileIdManager : Successfully connected to database file.
[I 2024-12-11 13:22:49.400 FileIdExtension] ArbitraryFileIdManager : Creating File ID tables and indices with journal_mode = DELETE
[I 2024-12-11 13:22:49.400 FileIdExtension] Attached event listeners.
[I 2024-12-11 13:22:49.401 ServerApp] jupyter_server_fileid | extension was successfully loaded.
[I 2024-12-11 13:22:49.401 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-12-11 13:22:49.404 ServerApp] jupyter_server_ydoc | extension was successfully loaded.
[I 2024-12-11 13:22:49.406 LabApp] JupyterLab extension loaded from /home/edef/lib/python3.12/site-packages/jupyterlab
[I 2024-12-11 13:22:49.406 LabApp] JupyterLab application directory is /home/edef/share/jupyter/lab
[I 2024-12-11 13:22:49.406 LabApp] Extension Manager is 'pypi'.
[I 2024-12-11 13:22:49.428 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-12-11 13:22:49.429 ServerApp] Serving notebooks from local directory: /home/edef
[I 2024-12-11 13:22:49.429 ServerApp] Jupyter Server 2.14.2 is running at:
[I 2024-12-11 13:22:49.429 ServerApp] http://localhost:8888/lab?token=63e23ff45f8f348cdceef04dcd4f92860c64d7e4ceff57ec
[I 2024-12-11 13:22:49.429 ServerApp] http://127.0.0.1:8888/lab?token=63e23ff45f8f348cdceef04dcd4f92860c64d7e4ceff57ec
[I 2024-12-11 13:22:49.429 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2024-12-11 13:22:49.431 ServerApp]
To access the server, open this file in a browser:
file:///home/edef/.local/share/jupyter/runtime/jpserver-733-open.html
Or copy and paste one of these URLs:
http://localhost:8888/lab?token=63e23ff45f8f348cdceef04dcd4f92860c64d7e4ceff57ec
http://127.0.0.1:8888/lab?token=63e23ff45f8f348cdceef04dcd4f92860c64d7e4ceff57ec
[I 2024-12-11 13:22:49.446 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
[I 2024-12-11 13:22:58.895 ServerApp] 302 GET / (@::1) 0.81ms
[I 2024-12-11 13:22:58.901 LabApp] 302 GET /lab? (@::1) 0.87ms
[W 2024-12-11 13:23:08.827 LabApp] Could not determine jupyterlab build status without nodejs
[I 2024-12-11 13:23:11.567 ServerApp] Request for Y document 'Untitled.ipynb' with room ID: 01405ec7-3485-46dc-a04b-84807a006adc
[I 2024-12-11 13:23:11.725 YDocExtension] Creating FileLoader for: Untitled.ipynb
[I 2024-12-11 13:23:11.726 YDocExtension] Watching file: Untitled.ipynb
[I 2024-12-11 13:23:11.727 ServerApp] Initializing room json:notebook:01405ec7-3485-46dc-a04b-84807a006adc
[I 2024-12-11 13:23:11.775 ServerApp] Content in room json:notebook:01405ec7-3485-46dc-a04b-84807a006adc loaded from the ystore SQLiteYStore
[I 2024-12-11 13:23:11.880 ServerApp] Kernel started: 82003cee-68e1-492c-a625-c7f81d186adf
[I 2024-12-11 13:23:12.256 ServerApp] Connecting to kernel 82003cee-68e1-492c-a625-c7f81d186adf.
[I 2024-12-11 13:23:12.269 ServerApp] Connecting to kernel 82003cee-68e1-492c-a625-c7f81d186adf.
[I 2024-12-11 13:23:12.282 ServerApp] Connecting to kernel 82003cee-68e1-492c-a625-c7f81d186adf.
[I 2024-12-11 13:23:12.789 ServerApp] Saving the content from room json:notebook:01405ec7-3485-46dc-a04b-84807a006adc
[I 2024-12-11 13:23:12.790 YDocExtension] Saving file: Untitled.ipynb
[W 2024-12-11 13:23:12.819 ServerApp] 404 GET /api/contents?content=1&hash=0&1733923392814 ([email protected]) 3.53ms referer=http://127.0.0.1:8888/lab/tree/RTC%3AUntitled.ipynb
[W 2024-12-11 13:23:12.820 ServerApp] 404 GET /api/contents?content=1&hash=0&1733923392814 (127.0.0.1): No such file or directory: .jupyter_ystore.db-journal
[W 2024-12-11 13:23:21.327 ServerApp] 400 GET /api/contents/.virtual_documents/RTC%3AUntitled.ipynb?type=notebook&content=1&hash=1&1733923401316 (127.0.0.1): Unreadable Notebook: /home/edef/.virtual_documents/RTC:Untitled.ipynb NotJSONError("Notebook does not appear to be JSON: 'x = 123\n\n\nx\n'")
[W 2024-12-11 13:23:21.327 ServerApp] wrote error: 'Unreadable Notebook: /home/edef/.virtual_documents/RTC:Untitled.ipynb NotJSONError("Notebook does not appear to be JSON: 'x = 123\\n\\n\\nx\\n'")'
Traceback (most recent call last):
File "/home/edef/lib/python3.12/site-packages/tornado/web.py", line 1790, in _execute
result = await result
^^^^^^^^^^^^
File "/home/edef/lib/python3.12/site-packages/jupyter_server/auth/decorator.py", line 73, in inner
return await out
^^^^^^^^^
File "/home/edef/lib/python3.12/site-packages/jupyter_server/services/contents/handlers.py", line 154, in get
model = await ensure_async(
^^^^^^^^^^^^^^^^^^^
File "/home/edef/lib/python3.12/site-packages/jupyter_core/utils/init.py", line 198, in ensure_async
result = await obj
^^^^^^^^^
File "/home/edef/lib/python3.12/site-packages/jupyter_server/services/contents/filemanager.py", line 922, in get
model = await self._notebook_model(path, content=content, require_hash=require_hash)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/edef/lib/python3.12/site-packages/jupyter_server/services/contents/filemanager.py", line 868, in _notebook_model
nb, bytes_content = await self._read_notebook(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/edef/lib/python3.12/site-packages/jupyter_server/services/contents/fileio.py", line 471, in _read_notebook
raise HTTPError(
tornado.web.HTTPError: HTTP 400: Bad Request (Unreadable Notebook: /home/edef/.virtual_documents/RTC:Untitled.ipynb NotJSONError("Notebook does not appear to be JSON: 'x = 123\n\n\nx\n'"))
[W 2024-12-11 13:23:21.330 ServerApp] 400 GET /api/contents/.virtual_documents/RTC%3AUntitled.ipynb?type=notebook&content=1&hash=1&1733923401316 ([email protected]) 3.87ms referer=http://127.0.0.1:8888/lab/tree/.virtual_documents/RTC%3AUntitled.ipynb
(yes, this has various tokens in it, but these logs are from an ephemeral clean repro environment)
The text was updated successfully, but these errors were encountered:
edef1c
changed the title
RTC: prefix breaks go-to-definitionRTC: prefix breaks go-to-definition
Dec 11, 2024
I was hoping that pyright would fare better, since it does have requires_documents_on_disk=False, but that just gets us redirected to /.lsp_symlink/RTC:Untitled.ipynb instead.
Description
jupyterlab/jupyter-collaboration#183 (comment)
Reproduce
.virtual_documents/RTC:Untitled.ipynb
and receive a "Notebook does not appear to be JSON" errorExpected behavior
It goes to the first cell, as it would without jupyter-collaboration.
Context
Required: installed server extensions
Required: installed lab extensions
Troubleshoot Output
Command Line Output
(yes, this has various tokens in it, but these logs are from an ephemeral clean repro environment)
The text was updated successfully, but these errors were encountered: