-
Notifications
You must be signed in to change notification settings - Fork 39
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
Empty notebooks submitted to okpy / otter #2107
Comments
#1746 is related in some form. |
Here's the aforementioned temporary fix (which isn't actually actively retrying but is just waiting longer so that the save will hopefully eventually happen) that @Yanay1 wrote.
|
Also, I want to clarify that the notebook isn't actually empty, but rather the Okpy submission is empty (i.e. doesn't contain a .ipynb file at all). |
okpy is no longer used. Is this still an issue, @samwu101? |
I graduated and left the grading team right before our auto-grading system was revamped, so I'm not completely sure even though I would think this is no longer an issue. @Yanay1 or someone who worked on the grading team during the summer could probably answer this question. |
I think students still occasionally see issues with long wait times for their notebooks to save, which affects otter grader as well. (I’ve also graduated). |
@davidwagner reports this is still happening with data8 and otter as well. We did a tiny bit of investigation, and filed the following issues / next actions:
Particularly, @davidwagner is trying to find someone who can take on ucbds-infra/otter-grader#450, which I think will help. I also opened ucbds-infra/otter-grader#447 which @chrispyles merged, which might also help. |
When this issue happened for Okpy I increased the time out to around 10 minutes and it still ran into the issue for some students (a datahub issue), but it did reduce it in general from what I remember. One solution would be to notify students if the timeout occurs. |
You can actually probably copy a lot of the same code I used for Okpy solution that Sam posted above (the wait for save function)! |
For a while, there have been problems where okpy's submit notebook functionality was saving blank notebooks. Just before submitting, it injects some JS to save the notebook. But somehow, notebook saves sometimes take >10s and possibly fail. okpy then submits a blank notebook, and folks possibly lose work.
This seems to happen only to some folks, and has been hard to debug. From investigation so far, this has no obvious correlations with:
This doesn't seem to happen to anyone other than data8 students.
In the meantime, the data8 folks have added a retry to ok.submit() to make sure it works.
The text was updated successfully, but these errors were encountered: