Closed psi-cmd closed 3 years ago
Oh, I finally locate the Failed parsing schema
in jupyterlab_server module, set_trace with pdb, and caught the json loading error and the json path.
The problem is that when building after install the extension, main.json under jupyter/lab/schemas/@jupyterlab/debugger
was created as an empty file temporarily, and then memory run out. Leaving a json load failure to next startup of jupyter lab.
(But the drawback is: the extension sidebar can't display anything, just blank)
Thanks @psi-cmd.
Since the debugger extension is now shipped in JupyterLab 3.0 by default, were you able to try with JupyterLab 3.0 final?
Which can be installed with pip install jupyterlab
or updated with pip install -U jupyterlab
.
[W 17:21:02.113 LabApp] Build recommended [W 17:21:02.113 LabApp] jupyterlab_filetree needs to be included in build [W 17:21:02.113 LabApp] jupyterlab-theme-solarized-dark needs to be included in build [W 17:21:02.113 LabApp] @jupyter-voila/jupyterlab-preview needs to be included in build [W 17:21:02.113 LabApp] jupyterlab-drawio needs to be included in build [W 17:21:02.113 LabApp] @telamonian/theme-darcula needs to be included in build [W 17:21:02.113 LabApp] jupyterlab-recents needs to be included in build
Also as a side note it looks like some of these extensions still need to be published so they are compatible with 3.0, which might take up to a couple of weeks.
Oh, I finally realize that behaviour is not unique to debugger extension after running into another memory run-out. And the solution is just jupyter labextention uninstall <full name of plugin that cause error>
, then jupyter lab rebuild
. Then you may reinstall the plugin if you like.
OK, thanks @psi-cmd for getting back and posting the details.
Let's close the issue then if it's not related to the debugger extension. And feel free to open new issues in https://github.com/jupyterlab/jupyterlab if you would like to. Thanks!
I don't know if it's better to ask in jupyter repo or here, but I have to try to fix the problem.
I install the extention from the jupyter lab page, and it requires rebuild. And the VM crashed due to out of memory ( in WSL2 in windows). And when I try to restart the jupyter lab and visit the webpage, page fail to render and raise red logs as below:
Then I try to uninstall the extention with
jupyter-labextension uninstall @jupyterlab/debugger
. It tells me success.However when I try to rebuild the jupyter lab with
jupyter lab build --dev-build=False --minimize=False
(option was suggested byjupyter lab --help
when last failure due to out of memory), and launch jupyter lab again, it just repeat the problem as the picture above, which means I can't get rid of the extention by uninstall.If there is any other issue to be the reference, or anyone can help with this issue? Thanks very much.