Open dboaretti opened 3 years ago
Hey I would clean the machine of JupyterLab - in particular remove the folder /usr/local/share/jupyter/lab
. Then install JupyterLab 3.
You should try first without installing any extensions if you were using some. Then if JupyterLab works, install extensions again (as the error may be introduced by one of them).
Thanks! This is a shared machine in our group. Cleaning and updating the machine is a bit more difficult than normal. I reverted JupyterLab to version 2.3.1 which is working as expected. I hope to get back to it by the end of September, and maybe I will be luckier.
I tried to install it from a Python 3.9 environment that does not have jupyterlab but the problem persists. Is it possible that jupyterlab_server parses the path somehow in a wrong way? Webpack is a node module and I have noticed that there is some information for the migration from Jupyterlab 1 to 2 https://jupyterlab.readthedocs.io/en/2.2.x/developer/extension_migration.html?highlight=node_modules#updating-former-jupyterlab-coreutils-imports , maybe it's connected to this issue even if here the migration is different?
Are you using some extensions?
There were no extensions installed.
Would you mind reporting the content of /usr/local/share/jupyter/lab/schemas/
?
Description
I was trying to update a fedora machine from JupyterLab 2.2.4 to JupyterLab 3.0.14. This operation was successful on 2 other similar machines, but not on this one. We have a problem loading the welcome page after successfully logging in. This is the output from
journalctl
:the lines which break are here:
Jul 19 14:34:40 g-wst-lbb-jupyter2.ethz.ch jupyterhub[27243]: [W 2021-07-19 14:34:40.595 SingleUserLabApp web:1787] 404 GET /user/bdaniele/lab/api/settings?1626698078713 (10.249.112.8): Schema not found: /usr/local/share/jupyter/lab/schemas/WebpackOptions.json Jul 19 14:34:40 g-wst-lbb-jupyter2.ethz.ch jupyterhub[27243]: [W 2021-07-19 14:34:40.595 LabApp] Schema not found: /usr/local/share/jupyter/lab/schemas/WebpackOptions.json
These lines do not show up when logging in to the other updated machines I mentioned. I am wondering where it could come from. The console output has many of these errors (here the pic is cropped):
It would be great to receive your help. Thank you! 😄