Skip to content
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

OCW Courses with no year/semester fail to import #441

Closed
ChristopherChudzicki opened this issue Feb 1, 2024 · 1 comment · Fixed by #475
Closed

OCW Courses with no year/semester fail to import #441

ChristopherChudzicki opened this issue Feb 1, 2024 · 1 comment · Fixed by #475
Assignees
Labels
bug Something isn't working

Comments

@ChristopherChudzicki
Copy link
Contributor

ChristopherChudzicki commented Feb 1, 2024

Expected Behavior

Published OCW courses import successfully.

Current Behavior

Some fail. For example, https://ocw.mit.edu/courses/res-hs-002-chemistry-behind-the-magic-chemical-demonstrations-for-the-classroom/ fails to import.

Steps to Reproduce

In docker, run ./manage.py backpopulate_ocw_data --course-name=res-hs-002-chemistry-behind-the-magic-chemical-demonstrations-for-the-classroom. This results in an error:

ValueError: Field 'year' expected a number but got ''.

Possible Solution

Either:

Confirmed with @pdpinch: Some "evergreen" OCW courses are expected to have no year/semesger

@mbertrand
Copy link
Member

This will have an impact on #423

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants