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
Notebooks in nbclassic (jupyter nbclassic) have the wrong syntax highlighting with a Julia kernel. It seems like the open parenthesis ( is ignored. For instance, in this example the opening parenthesis and all function arguments have the same color than what is used for the function name, while the closing parenthesis is correctly recognized and colored:
This is not an issue with JupyterLab (jupyter notebook). I tested a Python kernel in nbclassic, and the syntax highlighting automatically corrects itself:
Context
OS: Ubuntu 22.04.4 LTS
Browser : Chrome Version 123.0.6312.105 (Official Build) (64-bit)
Jupyter NbClassic version (here is the output of Help -> About Jupyter NbClassic ):
Server Information:
You are using Jupyter NbClassic.
The version of the Jupyter server is: 2.14.0
To get the version of nbclassic, run in a terminal: jupyter nbclassic --version
The server is running on this version of Python:
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
Current Kernel Information:
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.4.0 -- An enhanced Interactive Python. Type '?' for help.
`jupyter nbclassic --debug` output:
```
[D 2024-04-24 11:31:15.343 ServerApp] Searching ['/home/edoalvar/.jupyter', '/home/edoalvar/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 2024-04-24 11:31:15.343 ServerApp] Looking for jupyter_config in /etc/jupyter
[D 2024-04-24 11:31:15.343 ServerApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 2024-04-24 11:31:15.343 ServerApp] Looking for jupyter_config in /usr/etc/jupyter
[D 2024-04-24 11:31:15.343 ServerApp] Looking for jupyter_config in /home/edoalvar/.local/etc/jupyter
[D 2024-04-24 11:31:15.343 ServerApp] Looking for jupyter_config in /home/edoalvar/.jupyter
[D 2024-04-24 11:31:15.343 ServerApp] Looking for jupyter_server_config in /etc/jupyter
[D 2024-04-24 11:31:15.343 ServerApp] Looking for jupyter_server_config in /usr/local/etc/jupyter
[D 2024-04-24 11:31:15.343 ServerApp] Looking for jupyter_server_config in /usr/etc/jupyter
[D 2024-04-24 11:31:15.343 ServerApp] Looking for jupyter_server_config in /home/edoalvar/.local/etc/jupyter
[D 2024-04-24 11:31:15.343 ServerApp] Looking for jupyter_server_config in /home/edoalvar/.jupyter
[D 2024-04-24 11:31:15.345 ServerApp] Paths used for configuration of jupyter_server_config:
/etc/jupyter/jupyter_server_config.json
[D 2024-04-24 11:31:15.345 ServerApp] Paths used for configuration of jupyter_server_config:
/usr/local/etc/jupyter/jupyter_server_config.json
[D 2024-04-24 11:31:15.345 ServerApp] Paths used for configuration of jupyter_server_config:
/usr/etc/jupyter/jupyter_server_config.json
[D 2024-04-24 11:31:15.345 ServerApp] Paths used for configuration of jupyter_server_config:
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.d/jupyter-lsp-jupyter-server.json
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.d/jupyter_server_terminals.json
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.d/jupyterlab.json
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.d/nbclassic.json
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.d/notebook.json
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.d/notebook_shim.json
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.d/webio_jupyter_extension.json
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.json
[D 2024-04-24 11:31:15.345 ServerApp] Paths used for configuration of jupyter_server_config:
/home/edoalvar/.jupyter/jupyter_server_config.json
[D 2024-04-24 11:31:15.348 ServerApp] Extension package nbclassic took 0.0000s to import
[W 2024-04-24 11:31:15.348 ServerApp] A `_jupyter_server_extension_points` function was not found in nbclassic. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[D 2024-04-24 11:31:15.352 ServerApp] Extension package jupyter_lsp took 0.0045s to import
[D 2024-04-24 11:31:15.355 ServerApp] Extension package jupyter_server_terminals took 0.0021s to import
[D 2024-04-24 11:31:15.386 ServerApp] Extension package jupyterlab took 0.0311s to import
[D 2024-04-24 11:31:15.429 ServerApp] Paths used for configuration of page_config:
/usr/etc/jupyter/labconfig/page_config.json
[D 2024-04-24 11:31:15.430 ServerApp] Paths used for configuration of page_config:
/home/edoalvar/.jupyter/labconfig/page_config.json
[D 2024-04-24 11:31:15.430 ServerApp] Paths used for configuration of page_config:
[D 2024-04-24 11:31:15.433 ServerApp] Extension package notebook took 0.0000s to import
[D 2024-04-24 11:31:15.434 ServerApp] Extension package notebook_shim took 0.0000s to import
[D 2024-04-24 11:31:15.435 ServerApp] Extension package webio_jupyter_extension.serverextension took 0.0005s to import
[D 2024-04-24 11:31:15.435 ServerApp] A _jupyter_server_extension_points function was not found in webio_jupyter_extension.serverextension, so Jupyter Server will look for extension points in the extension pacakge's root.
[I 2024-04-24 11:31:15.435 ServerApp] jupyter_lsp | extension was successfully linked.
[D 2024-04-24 11:31:15.437 TerminalsExtensionApp] Config changed: {'ServerApp': {'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue {'update': {'jupyter_lsp': True, 'jupyter_server_terminals': True, 'jupyterlab': True, 'notebook': True, 'notebook_shim': True, 'webio_jupyter_extension.serverextension': True}}>}, 'ExtensionApp': {'log_level': 'DEBUG'}}
[D 2024-04-24 11:31:15.438 ServerApp] Config changed: {'ServerApp': {'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue value={'nbclassic': True, 'jupyter_lsp': True, 'jupyter_server_terminals': True, 'jupyterlab': True, 'notebook': True, 'notebook_shim': True, 'webio_jupyter_extension.serverextension': True}>}, 'ExtensionApp': {'log_level': 'DEBUG'}}
[I 2024-04-24 11:31:15.438 ServerApp] jupyter_server_terminals | extension was successfully linked.
[D 2024-04-24 11:31:15.440 LabApp] Config changed: {'NotebookApp': {}, 'ServerApp': {'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue value={'nbclassic': True, 'jupyter_lsp': True, 'jupyter_server_terminals': True, 'jupyterlab': True, 'notebook': True, 'notebook_shim': True, 'webio_jupyter_extension.serverextension': True}>}, 'ExtensionApp': {'log_level': 'DEBUG'}}
[I 2024-04-24 11:31:15.441 ServerApp] jupyterlab | extension was successfully linked.
[D 2024-04-24 11:31:15.443 NotebookApp] Config changed: {'NotebookApp': {'nbserver_extensions': {'jupyter_nbextensions_configurator': True}}, 'ServerApp': {'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue value={'nbclassic': True, 'jupyter_lsp': True, 'jupyter_server_terminals': True, 'jupyterlab': True, 'notebook': True, 'notebook_shim': True, 'webio_jupyter_extension.serverextension': True}>}, 'ExtensionApp': {'log_level': 'DEBUG'}}
[I 2024-04-24 11:31:15.443 ServerApp] nbclassic | extension was successfully linked.
[D 2024-04-24 11:31:15.446 JupyterNotebookApp] Config changed: {'NotebookApp': {'nbserver_extensions': {'jupyter_nbextensions_configurator': True}}, 'ServerApp': {'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue value={'nbclassic': True, 'jupyter_lsp': True, 'jupyter_server_terminals': True, 'jupyterlab': True, 'notebook': True, 'notebook_shim': True, 'webio_jupyter_extension.serverextension': True}>}, 'ExtensionApp': {'log_level': 'DEBUG'}}
[I 2024-04-24 11:31:15.446 ServerApp] notebook | extension was successfully linked.
[D 2024-04-24 11:31:15.548 ServerApp] Paths used for configuration of jupyter_notebook_config:
/home/edoalvar/.jupyter/jupyter_notebook_config.json
[D 2024-04-24 11:31:15.548 ServerApp] Paths used for configuration of jupyter_notebook_config:
/etc/jupyter/jupyter_notebook_config.json
[D 2024-04-24 11:31:15.548 ServerApp] Paths used for configuration of jupyter_notebook_config:
/usr/local/etc/jupyter/jupyter_notebook_config.json
[D 2024-04-24 11:31:15.549 ServerApp] Paths used for configuration of jupyter_notebook_config:
/usr/etc/jupyter/jupyter_notebook_config.json
[D 2024-04-24 11:31:15.549 ServerApp] Paths used for configuration of jupyter_notebook_config:
/home/edoalvar/.local/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json
/home/edoalvar/.local/etc/jupyter/jupyter_notebook_config.d/webio_jupyter_extension.json
/home/edoalvar/.local/etc/jupyter/jupyter_notebook_config.json
[D 2024-04-24 11:31:15.549 ServerApp] Paths used for configuration of jupyter_notebook_config:
/home/edoalvar/.jupyter/jupyter_notebook_config.json
[D 2024-04-24 11:31:15.549 ServerApp] Extension package jupyter_nbextensions_configurator took 0.0003s to import
[W 2024-04-24 11:31:15.549 ServerApp] A _jupyter_server_extension_points function was not found in jupyter_nbextensions_configurator. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2024-04-24 11:31:15.549 ServerApp] jupyter_nbextensions_configurator | extension was found and enabled by notebook_shim. Consider moving the extension to Jupyter Server's extension paths.
[I 2024-04-24 11:31:15.549 ServerApp] jupyter_nbextensions_configurator | extension was successfully linked.
[I 2024-04-24 11:31:15.549 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-04-24 11:31:15.549 ServerApp] webio_jupyter_extension.serverextension | extension was successfully linked.
[D 2024-04-24 11:31:15.550 ServerApp] Config changed: {'ExtensionApp': {'log_level': 'DEBUG'}, 'NotebookApp': {'nbserver_extensions': {'jupyter_nbextensions_configurator': True}}, 'ServerApp': {'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue value={'nbclassic': True, 'jupyter_lsp': True, 'jupyter_server_terminals': True, 'jupyterlab': True, 'notebook': True, 'notebook_shim': True, 'webio_jupyter_extension.serverextension': True}>}}
[D 2024-04-24 11:31:15.550 ServerApp] Raising open file limit: soft 1024->4096; hard 1048576->1048576
[I 2024-04-24 11:31:15.558 ServerApp] notebook_shim | extension was successfully loaded.
[D 2024-04-24 11:31:15.559 ServerApp] [lsp] rootUri will be file:///home/edoalvar/Dropbox/WhisperAero/LabNotebook
[D 2024-04-24 11:31:15.559 ServerApp] [lsp] virtualDocumentsUri will be file:///home/edoalvar/Dropbox/WhisperAero/LabNotebook/.virtual_documents
[I 2024-04-24 11:31:15.559 ServerApp] jupyter_lsp | extension was successfully loaded.
[D 2024-04-24 11:31:15.559 ServerApp] [jupyter_nbextensions_configurator] Loading 0.4.1
[D 2024-04-24 11:31:15.559 ServerApp] [jupyter_nbextensions_configurator] Editing templates path to add /home/edoalvar/.local/lib/python3.10/site-packages/jupyter_nbextensions_configurator/templates
[D 2024-04-24 11:31:15.559 ServerApp] [jupyter_nbextensions_configurator] Editing nbextensions path to add /home/edoalvar/.local/lib/python3.10/site-packages/jupyter_nbextensions_configurator/static
[W 2024-04-24 11:31:15.559 ServerApp] jupyter_nbextensions_configurator | extension failed loading with message: KeyError('nbextensions_path')
Traceback (most recent call last):
File "/home/edoalvar/.local/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 360, in load_extension
extension.load_all_points(self.serverapp)
File "/home/edoalvar/.local/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 232, in load_all_points
return [self.load_point(point_name, serverapp) for point_name in self.extension_points]
File "/home/edoalvar/.local/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 232, in
return [self.load_point(point_name, serverapp) for point_name in self.extension_points]
File "/home/edoalvar/.local/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 223, in load_point
return point.load(serverapp)
File "/home/edoalvar/.local/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 151, in load
return loader(serverapp)
File "/home/edoalvar/.local/lib/python3.10/site-packages/jupyter_nbextensions_configurator/init.py", line 247, in load_jupyter_server_extension
if static_files_path not in webapp.settings['nbextensions_path']:
KeyError: 'nbextensions_path'
[I 2024-04-24 11:31:15.560 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-04-24 11:31:15.561 LabApp] JupyterLab extension loaded from /home/edoalvar/.local/lib/python3.10/site-packages/jupyterlab
[I 2024-04-24 11:31:15.561 LabApp] JupyterLab application directory is /home/edoalvar/.local/share/jupyter/lab
[I 2024-04-24 11:31:15.561 LabApp] Extension Manager is 'pypi'.
[D 2024-04-24 11:31:15.561 LabApp] Plugins in PyPIExtensionManager will managed on the sys_prefix level
[D 2024-04-24 11:31:15.588 LabApp] Extensions list will be fetched from https://pypi.org/pypi.
[D 2024-04-24 11:31:15.588 LabApp] Plugins in PluginManager will managed on the sys_prefix level
[I 2024-04-24 11:31:15.589 ServerApp] jupyterlab | extension was successfully loaded.
Please note that updating to Notebook 7 might break some of your extensions.
[I 2024-04-24 11:31:15.591 ServerApp] nbclassic | extension was successfully loaded.
[I 2024-04-24 11:31:15.593 ServerApp] notebook | extension was successfully loaded.
[I 2024-04-24 11:31:15.593 ServerApp] webio_jupyter_extension.serverextension | extension was successfully loaded.
[I 2024-04-24 11:31:15.593 ServerApp] The port 8888 is already in use, trying another port.
[I 2024-04-24 11:31:15.594 ServerApp] Serving notebooks from local directory: /home/edoalvar/Dropbox/WhisperAero/LabNotebook
[I 2024-04-24 11:31:15.594 ServerApp] Jupyter Server 2.14.0 is running at:
[I 2024-04-24 11:31:15.594 ServerApp] http://localhost:8889/nbclassic/tree?token=dfc21e1187ea35c778680f606b31a59a76d544a5e836ddbe
[I 2024-04-24 11:31:15.594 ServerApp] http://127.0.0.1:8889/nbclassic/tree?token=dfc21e1187ea35c778680f606b31a59a76d544a5e836ddbe
[I 2024-04-24 11:31:15.594 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2024-04-24 11:31:15.610 ServerApp]
To access the server, open this file in a browser:
file:///home/edoalvar/.local/share/jupyter/runtime/jpserver-11452-open.html
Or copy and paste one of these URLs:
http://localhost:8889/nbclassic/tree?token=dfc21e1187ea35c778680f606b31a59a76d544a5e836ddbe
http://127.0.0.1:8889/nbclassic/tree?token=dfc21e1187ea35c778680f606b31a59a76d544a5e836ddbe
[D 2024-04-24 11:31:15.612 ServerApp] Paths used for configuration of jupyter_config:
/etc/jupyter/jupyter_config.json
[D 2024-04-24 11:31:15.612 ServerApp] Paths used for configuration of jupyter_config:
/usr/local/etc/jupyter/jupyter_config.json
[D 2024-04-24 11:31:15.612 ServerApp] Paths used for configuration of jupyter_config:
/usr/etc/jupyter/jupyter_config.json
[D 2024-04-24 11:31:15.612 ServerApp] Paths used for configuration of jupyter_config:
/home/edoalvar/.local/etc/jupyter/jupyter_config.json
[D 2024-04-24 11:31:15.612 ServerApp] Paths used for configuration of jupyter_config:
/home/edoalvar/.jupyter/jupyter_config.json
[D 2024-04-24 11:31:15.612 ServerApp] Paths used for configuration of jupyter_notebook_config:
/etc/jupyter/jupyter_notebook_config.json
[D 2024-04-24 11:31:15.613 ServerApp] Paths used for configuration of jupyter_notebook_config:
/usr/local/etc/jupyter/jupyter_notebook_config.json
[D 2024-04-24 11:31:15.613 ServerApp] Paths used for configuration of jupyter_notebook_config:
/usr/etc/jupyter/jupyter_notebook_config.json
[D 2024-04-24 11:31:15.613 ServerApp] Paths used for configuration of jupyter_notebook_config:
/home/edoalvar/.local/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json
/home/edoalvar/.local/etc/jupyter/jupyter_notebook_config.d/webio_jupyter_extension.json
/home/edoalvar/.local/etc/jupyter/jupyter_notebook_config.json
[D 2024-04-24 11:31:15.613 ServerApp] Paths used for configuration of jupyter_notebook_config:
/home/edoalvar/.jupyter/jupyter_notebook_config.json
[D 2024-04-24 11:31:15.613 ServerApp] Paths used for configuration of jupyter_server_config:
/etc/jupyter/jupyter_server_config.json
[D 2024-04-24 11:31:15.613 ServerApp] Paths used for configuration of jupyter_server_config:
/usr/local/etc/jupyter/jupyter_server_config.json
[D 2024-04-24 11:31:15.613 ServerApp] Paths used for configuration of jupyter_server_config:
/usr/etc/jupyter/jupyter_server_config.json
[D 2024-04-24 11:31:15.613 ServerApp] Paths used for configuration of jupyter_server_config:
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.d/jupyter-lsp-jupyter-server.json
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.d/jupyter_server_terminals.json
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.d/jupyterlab.json
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.d/nbclassic.json
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.d/notebook.json
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.d/notebook_shim.json
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.d/webio_jupyter_extension.json
/home/edoalvar/.local/etc/jupyter/jupyter_server_config.json
[D 2024-04-24 11:31:15.613 ServerApp] Paths used for configuration of jupyter_server_config:
/home/edoalvar/.jupyter/jupyter_server_config.json
[D 2024-04-24 11:31:15.620 ServerApp] Checking for /home/edoalvar/Dropbox/WhisperAero/LabNotebook/node_modules/bash-language-server/out/cli.js
[D 2024-04-24 11:31:15.620 ServerApp] Checking for /home/edoalvar/.local/share/jupyter/lab/staging/node_modules/bash-language-server/out/cli.js
[D 2024-04-24 11:31:15.620 ServerApp] Checking for /usr/lib/node_modules/bash-language-server/out/cli.js
[D 2024-04-24 11:31:15.620 ServerApp] Checking for /usr/node_modules/bash-language-server/out/cli.js
[D 2024-04-24 11:31:15.620 ServerApp] bash-language-server/out/cli.js not found in node_modules of [PosixPath('/home/edoalvar/Dropbox/WhisperAero/LabNotebook'), PosixPath('/home/edoalvar/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr')]
[D 2024-04-24 11:31:15.620 ServerApp] Checking for /home/edoalvar/Dropbox/WhisperAero/LabNotebook/node_modules/bash-language-server/bin/main.js
[D 2024-04-24 11:31:15.620 ServerApp] Checking for /home/edoalvar/.local/share/jupyter/lab/staging/node_modules/bash-language-server/bin/main.js
[D 2024-04-24 11:31:15.620 ServerApp] Checking for /usr/lib/node_modules/bash-language-server/bin/main.js
[D 2024-04-24 11:31:15.620 ServerApp] Checking for /usr/node_modules/bash-language-server/bin/main.js
[D 2024-04-24 11:31:15.620 ServerApp] bash-language-server/bin/main.js not found in node_modules of [PosixPath('/home/edoalvar/Dropbox/WhisperAero/LabNotebook'), PosixPath('/home/edoalvar/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr')]
[D 2024-04-24 11:31:15.621 ServerApp] Checking for /home/edoalvar/Dropbox/WhisperAero/LabNotebook/node_modules/dockerfile-language-server-nodejs/lib/server.js
[D 2024-04-24 11:31:15.621 ServerApp] Checking for /home/edoalvar/.local/share/jupyter/lab/staging/node_modules/dockerfile-language-server-nodejs/lib/server.js
[D 2024-04-24 11:31:15.621 ServerApp] Checking for /usr/lib/node_modules/dockerfile-language-server-nodejs/lib/server.js
[D 2024-04-24 11:31:15.621 ServerApp] Checking for /usr/node_modules/dockerfile-language-server-nodejs/lib/server.js
[D 2024-04-24 11:31:15.621 ServerApp] dockerfile-language-server-nodejs/lib/server.js not found in node_modules of [PosixPath('/home/edoalvar/Dropbox/WhisperAero/LabNotebook'), PosixPath('/home/edoalvar/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr')]
[D 2024-04-24 11:31:15.621 ServerApp] Checking for /home/edoalvar/Dropbox/WhisperAero/LabNotebook/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js
[D 2024-04-24 11:31:15.621 ServerApp] Checking for /home/edoalvar/.local/share/jupyter/lab/staging/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js
[D 2024-04-24 11:31:15.621 ServerApp] Checking for /usr/lib/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js
[D 2024-04-24 11:31:15.621 ServerApp] Checking for /usr/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js
[D 2024-04-24 11:31:15.621 ServerApp] javascript-typescript-langserver/lib/language-server-stdio.js not found in node_modules of [PosixPath('/home/edoalvar/Dropbox/WhisperAero/LabNotebook'), PosixPath('/home/edoalvar/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr')]
[D 2024-04-24 11:31:15.740 ServerApp] Checking for /home/edoalvar/Dropbox/WhisperAero/LabNotebook/node_modules/pyright/langserver.index.js
[D 2024-04-24 11:31:15.741 ServerApp] Checking for /home/edoalvar/.local/share/jupyter/lab/staging/node_modules/pyright/langserver.index.js
[D 2024-04-24 11:31:15.741 ServerApp] Checking for /usr/lib/node_modules/pyright/langserver.index.js
[D 2024-04-24 11:31:15.741 ServerApp] Checking for /usr/node_modules/pyright/langserver.index.js
[D 2024-04-24 11:31:15.741 ServerApp] pyright/langserver.index.js not found in node_modules of [PosixPath('/home/edoalvar/Dropbox/WhisperAero/LabNotebook'), PosixPath('/home/edoalvar/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr')]
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /home/edoalvar/Dropbox/WhisperAero/LabNotebook/node_modules/sql-language-server/dist/bin/cli.js
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /home/edoalvar/.local/share/jupyter/lab/staging/node_modules/sql-language-server/dist/bin/cli.js
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /usr/lib/node_modules/sql-language-server/dist/bin/cli.js
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /usr/node_modules/sql-language-server/dist/bin/cli.js
[D 2024-04-24 11:31:15.742 ServerApp] sql-language-server/dist/bin/cli.js not found in node_modules of [PosixPath('/home/edoalvar/Dropbox/WhisperAero/LabNotebook'), PosixPath('/home/edoalvar/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr')]
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /home/edoalvar/Dropbox/WhisperAero/LabNotebook/node_modules/typescript-language-server/lib/cli.mjs
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /home/edoalvar/.local/share/jupyter/lab/staging/node_modules/typescript-language-server/lib/cli.mjs
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /usr/lib/node_modules/typescript-language-server/lib/cli.mjs
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /usr/node_modules/typescript-language-server/lib/cli.mjs
[D 2024-04-24 11:31:15.742 ServerApp] typescript-language-server/lib/cli.mjs not found in node_modules of [PosixPath('/home/edoalvar/Dropbox/WhisperAero/LabNotebook'), PosixPath('/home/edoalvar/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr')]
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /home/edoalvar/Dropbox/WhisperAero/LabNotebook/node_modules/unified-language-server/src/server.js
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /home/edoalvar/.local/share/jupyter/lab/staging/node_modules/unified-language-server/src/server.js
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /usr/lib/node_modules/unified-language-server/src/server.js
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /usr/node_modules/unified-language-server/src/server.js
[D 2024-04-24 11:31:15.742 ServerApp] unified-language-server/src/server.js not found in node_modules of [PosixPath('/home/edoalvar/Dropbox/WhisperAero/LabNotebook'), PosixPath('/home/edoalvar/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr')]
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /home/edoalvar/Dropbox/WhisperAero/LabNotebook/node_modules/vscode-css-languageserver-bin/cssServerMain.js
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /home/edoalvar/.local/share/jupyter/lab/staging/node_modules/vscode-css-languageserver-bin/cssServerMain.js
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /usr/lib/node_modules/vscode-css-languageserver-bin/cssServerMain.js
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /usr/node_modules/vscode-css-languageserver-bin/cssServerMain.js
[D 2024-04-24 11:31:15.742 ServerApp] vscode-css-languageserver-bin/cssServerMain.js not found in node_modules of [PosixPath('/home/edoalvar/Dropbox/WhisperAero/LabNotebook'), PosixPath('/home/edoalvar/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr')]
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /home/edoalvar/Dropbox/WhisperAero/LabNotebook/node_modules/vscode-html-languageserver-bin/htmlServerMain.js
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /home/edoalvar/.local/share/jupyter/lab/staging/node_modules/vscode-html-languageserver-bin/htmlServerMain.js
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /usr/lib/node_modules/vscode-html-languageserver-bin/htmlServerMain.js
[D 2024-04-24 11:31:15.742 ServerApp] Checking for /usr/node_modules/vscode-html-languageserver-bin/htmlServerMain.js
[D 2024-04-24 11:31:15.742 ServerApp] vscode-html-languageserver-bin/htmlServerMain.js not found in node_modules of [PosixPath('/home/edoalvar/Dropbox/WhisperAero/LabNotebook'), PosixPath('/home/edoalvar/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr')]
[D 2024-04-24 11:31:15.743 ServerApp] Checking for /home/edoalvar/Dropbox/WhisperAero/LabNotebook/node_modules/vscode-json-languageserver-bin/jsonServerMain.js
[D 2024-04-24 11:31:15.743 ServerApp] Checking for /home/edoalvar/.local/share/jupyter/lab/staging/node_modules/vscode-json-languageserver-bin/jsonServerMain.js
[D 2024-04-24 11:31:15.743 ServerApp] Checking for /usr/lib/node_modules/vscode-json-languageserver-bin/jsonServerMain.js
[D 2024-04-24 11:31:15.743 ServerApp] Checking for /usr/node_modules/vscode-json-languageserver-bin/jsonServerMain.js
[D 2024-04-24 11:31:15.743 ServerApp] vscode-json-languageserver-bin/jsonServerMain.js not found in node_modules of [PosixPath('/home/edoalvar/Dropbox/WhisperAero/LabNotebook'), PosixPath('/home/edoalvar/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr')]
[D 2024-04-24 11:31:15.743 ServerApp] Checking for /home/edoalvar/Dropbox/WhisperAero/LabNotebook/node_modules/yaml-language-server/bin/yaml-language-server
[D 2024-04-24 11:31:15.743 ServerApp] Checking for /home/edoalvar/.local/share/jupyter/lab/staging/node_modules/yaml-language-server/bin/yaml-language-server
.
.
.
</pre>
</details>
The text was updated successfully, but these errors were encountered:
That would be the legacy CodeMirror 5 mode for Julia https://codemirror.net/5/mode/julia/ - I would not put too much hope in getting changes merged into CodeMirror 5, but you can try.
Of note Notebook 7 uses CodeMirror 6; it still uses the legacy mode, but there are also some alternatives using the new parser, e.g. https://github.com/JuliaPluto/lang-julia
Description
Notebooks in nbclassic (
jupyter nbclassic
) have the wrong syntax highlighting with a Julia kernel. It seems like the open parenthesis(
is ignored. For instance, in this example the opening parenthesis and all function arguments have the same color than what is used for the function name, while the closing parenthesis is correctly recognized and colored:This is not an issue with JupyterLab (
jupyter notebook
). I tested a Python kernel in nbclassic, and the syntax highlighting automatically corrects itself:Context
jupyter --version
Help -> About Jupyter NbClassic
):Troubleshoot Output
Command Line Output
The text was updated successfully, but these errors were encountered: