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
Is your feature request related to a problem? Please describe.
Currently the force-save implemented by grader.export(force_save=True) is flaky and we have observed it sometimes failing in Data 8. When it fails, the student sees the error message "AssertionError: Notebook project2.ipynb is empty. Please save and checkpoint your notebook and rerun this cell." We are having trouble identifying what is causing this failure.
Describe the solution you'd like
It would be useful to have more diagnostics about this. In particular:
It'd be useful to get this error into the syslog logs that are visible in Google Cloud Platform logs, so we can track how often it occurs and when it occurs. Right now the error is displayed to the student but it is not logged.
It would be useful to have additional logging about the cause of the problem. The relevant code calls IPython.display.display(IPython.display.Javascript("Jupyter.notebook.save_checkpoint();")), which is async, so any uncaught exceptions/errors will get swallowed. It would be nice to try to catch exceptions/errors and log them.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is your feature request related to a problem? Please describe.
Currently the force-save implemented by
grader.export(force_save=True)
is flaky and we have observed it sometimes failing in Data 8. When it fails, the student sees the error message "AssertionError: Notebook project2.ipynb is empty. Please save and checkpoint your notebook and rerun this cell." We are having trouble identifying what is causing this failure.Describe the solution you'd like
It would be useful to have more diagnostics about this. In particular:
IPython.display.display(IPython.display.Javascript("Jupyter.notebook.save_checkpoint();"))
, which is async, so any uncaught exceptions/errors will get swallowed. It would be nice to try to catch exceptions/errors and log them.Additional context
#444,
otter-grader/otter/check/utils.py
Line 18 in 6a33a75
The text was updated successfully, but these errors were encountered: