Open ybh0822 opened 4 years ago
This doesn't seem to be related to the Jupyterlab mode. Just curious, are you using DataHub or the like? The issue only affecting some proportion of students suggests this depends on the environment and is possibly a race condition in the saving logic.
@ja5087, thank you for your comment. Sorry you are right, this isn't related to the Jupyterlab mode. We are using Datahub indeed. Hmm, any advice on how to debug this? This time, half of the students who had issues in the last assignment got affected.
We might have figured out the issue. It looks like our Jupyter Hub was having trouble saving notebooks: the save took longer than 5 seconds, or failed. When that happens, the client-side code uploads an empty notebook, and the symptoms described here happen.
Yuvi Panda made some changes to the Berkeley datahub that have mostly (but not entirely) eliminated this problem. So, if you see this, I suggest checking whether that's what's going on.
I think this can probably be closed as the root cause is primarily datahub. The best that okpy could do is handle this error message better.
Hello,
This is related to #349 and #372. I am a GSI for Physics 188/288. We use OK for homework submission.
Running ok.submit(), I get the following error message:
Downloading the submissions for that assignment, I also get only an info.json file in it and no notebook. (similar to #372 ) Weirdly I get this error on an assignment that I know was working last fall. (also similar to #372 )
If I change the initialization to ok = Notebook('HW4.ok', mode="jupyterlab"), as suggested in #372 , I get this following error:
Thank you for the help in advance!
Also, below I uploaded a copy of the notebook and .ok file: P188_ok_issue.zip
Update: Out of 54 submissions, we have issues with 10 students. Any advise or comment would be greatly appreciated.