Skip to content

No file uploaded by ok.submit() - related to #372 #451

@ybh0822

Description

@ybh0822

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:

Saving notebook... Could not automatically save 'HW4_188.ipynb'
Make sure your notebook is correctly named and saved before submitting to OK!
Making a best attempt to submit latest 'HW4_188.ipynb', last modified at Thu Sep 17 23:51:49 2020
Submit... 100% complete

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:

Javascript error adding output!
TypeError: Cannot read property 'click' of null
See your browser Javascript console for more details.
Saving notebook... Could not automatically save 'HW4_188.ipynb'
Make sure your notebook is correctly named and saved before submitting to OK!
Making a best attempt to submit latest 'HW4_188.ipynb', last modified at Thu Sep 17 23:51:49 2020
Submit... 100% complete

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions