-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jupyterlab extension fails to load when c.NotebookApp.log_json is set #43
Comments
@kevin-bates any idea on this? I wasn't familiar with the push to jupyterlab and notebook -> notebook-server when I worked on jupyter/notebook#5799 but now I realize why you wanted to mirror that change in notebook-server. 😄 @rmoe mentioned he found a workaround for this issue:
Is that the correct thing to do here or is there an issue to be fixed? |
Yeah, I think the correct next step is to get the json-logging PR into jupyter_server. Given the test frameworks are different and most of the PR is test code, it might be easier to just apply the non-test changes and create new test code than cherry-pick the commits. I'm not really up on all the shimming that takes place in these environments but the fact that the 'trait not found' message is coming from |
The Should this issue be move the the notebook_shim repo? |
Hi @echarles. It looks like the issue may be that If the shim layer needs to tolerate missing traits on jupyter_server, then it sounds like an issue for that repo. However, to preserve functional compatibility, we should get jupyter/notebook#5799 into jupyter_server. @mriedem - would you be able to migrate the changes from your notebook PR into jupyter_server? The source changes should be nearly one-to-one. The test frameworks, on the other hand, differ (server uses pytest) so that's probably where some effort will need to take place. |
I'm testing out JupyterLab 3.0.5 alongside classic notebook in a JupyterHub environment. The classic notebook works fine but when navigating to
/lab
I get a 404. In the logs I see the following traceback on server startup:c.NotebookApp.log_json = True
is set in.jupyter/jupyter_notebook_config.py
The text was updated successfully, but these errors were encountered: