-
Notifications
You must be signed in to change notification settings - Fork 68
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
ottr::export force_save isn't working #767
Comments
@dbroockman I'm not able to reproduce these failures in force_save locally. Are you using JupyterLab, Retrolab, or the old Jupyter notebook interface on the hub? |
Same, it works for me locally. Errors are appearing on Berkeley Datahub. Here's an example link: https://r.datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fdbroockman%2FPS3-SP24-Public&branch=main&urlpath=tree%2FPS3-SP24-Public%2Fw2%2Fw2a1v2%2Fstudent%2FWeek2_Activity1.ipynb |
Unfortunately I can't access the hub since I no longer have a canvas account. Can you share a screenshot of the full page so I can figure out which you're using? |
Can you open Help > About RetroLab and send a screenshot? maybe the issue is related to the specific version of retrolab. |
I assume it's a more recent version than 0.2.2 (mine), since after upgrading to the latest version I am now able to reproduce. Will look into it. |
Can you select "About Jupyter Notebook" and send a screenshot? |
I think this is an upstream bug in Jupyter Notebook. opened jupyter/notebook#7225 |
Until that gets fixed, I've come up with a rather hacky solution that involves installing a JupyterLab extension that leaves a hook ottr can call to force-save the notebook. Since there's already an Otter-Grader lab extension I'm going to reuse it. Will let you know when the version that needs to be installed on the hub is available. |
@dbroockman I've sent off v1.5.0 of ottr to CRAN; I'll follow up once it's installable. v1.5.0 will require the Python package ottr_force_save_labextension to be installed in order for force-save to work, so when you make the request to upgrade ottr on the hub, make sure to also ask for package to be installed. |
ottr v1.5.0 is now installable from CRAN and github, so feel free to open an issue on berkeley-dsep-infra/datahub to install it and ottr_force_save_labextension |
Thank you! |
#766 (comment)
The text was updated successfully, but these errors were encountered: