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
The save operation succeeded, but the notebook does not appear to be valid. The validation error was:
Notebook validation failed: Additional properties are not allowed ('id' was unexpected):
{
"metadata": {
"deletable": false,
"editable": false,
"trusted": false
},
"id": "hungarian-region",
"cell_type": "code",
"source": "# Initialize Otter\nimport otter\ngrader = otter.Notebook(\"assign-full-example-v1.ipynb\")",
"execution_count": null,
"outputs": []
}
To Reproduce
Steps to reproduce the behavior:
Place assign-full-example-v1.ipynb in a given folder, download from the above link.
cd into the folder
otter assign assign-full-example-v1.ipynb dist --v1 in a shell
Open assign-full-example-v1.ipynb in dist/student in Jupyter Notebook.
Expected behavior
No such message.
Versions
Otter 3.0.3
Additional context
macOS Big Sur
Am I missing something?
The text was updated successfully, but these errors were encountered:
What version of Jupyter notebook do you have installed? This error is caused by a mismatched version of nbformat and notebook. Cell IDs were added to the notebook format in nbformat 5.1.0 but I don't think that the notebook front-end supported them until notebook 6.4.0.
Describe the bug
Opening a student version of
assign-full-example-v1.ipynb
created using a file at the following urlhttps://github.com/ucbds-infra/otter-grader/blob/master/docs/_static/notebooks/assign-full-example-v1.ipynb
generates the following "Notebook validation failed" message in Jupyter Notebook.
BTW, it is the file mentioned at https://otter-grader.readthedocs.io/en/latest/otter_assign/v1/notebook_format.html#sample-notebook
To Reproduce
Steps to reproduce the behavior:
assign-full-example-v1.ipynb
in a given folder, download from the above link.cd
into the folderotter assign assign-full-example-v1.ipynb dist --v1
in a shellassign-full-example-v1.ipynb
indist/student
in Jupyter Notebook.Expected behavior
No such message.
Versions
Otter 3.0.3
Additional context
macOS Big Sur
Am I missing something?
The text was updated successfully, but these errors were encountered: