-
Notifications
You must be signed in to change notification settings - Fork 152
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
Notebook validation failed - notebook with widget- nbformat 5.0.4 #166
Comments
I believe this is the same issue as #160 with the same resolution path. |
Actually, I already check that. But unfortunately, I don't understand the solution! I am not able to save the notebook as it shows the error. So, I don't know how to update it's metadata correctly! So, no idea where I can change these values or check it: |
If you load the notebook in jupyter lab instead of jupyter classic it should upgrade the file format for you. Otherwise, you can try editing the ipynb notebook with a text editor and changing the version line referenced by hand (this may work, but if there's structural differences your notebook won't load either). Worse case, install an older version of nbformat, copy the cell contents to a new new notebook, save the new notebook, upgrade nbformat back, and replace the old file with the new one. |
I failed to open the notebook in jupyter lab, as after I installed jupyterlab using the terminal in my jupyter hub, nothing worked! When I run Anyway, long story short, replacing Thanks :) |
As a short-term workaround, you could downgrade your
|
@mzarei Changing |
@youweiliang's answer did the trick for me. |
I did Duplicate from the Home page / notebook list, and the duplicate passed validation, so this solved my issue. |
Hi @MSeal Can you please explain why this was happening and why this fixes the issue? Thanks a lot in advance. |
I am getting following error over and over and have no idea what causes it!
Notebook validation failed: {'model_id': '59d3b150e8eb4e44b6c0ce0030dfc2b7', 'version_major': 2, 'version_minor': 0} is not valid under any of the given schemas: { "model_id": "59d3b150e8eb4e44b6c0ce0030dfc2b7", "version_major": 2, "version_minor": 0 }
I see following details when I run this command:
jupyter-jupyadmin@labs:~$ conda list
Also, checking the notebook metadata I see following information:
The text was updated successfully, but these errors were encountered: