-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Orphaned editions throw IndexError #4051
Comments
Updated title; this isn't a Python 3 specific issue |
Fixed in #4052 |
Here's the code the edit pages use to create a "dummy" work (not committed to db) to normalize rendering. Note the return type of openlibrary/openlibrary/plugins/upstream/addbook.py Lines 738 to 746 in b586b90
|
Fixed in #4286 |
Still a problem on some records. https://openlibrary.org/books/OL16161815M/History_of_Chinese_literature.?debug=true |
Created a separate issue for this, since the cause of the error is very different this time 👍 #5404 |
Fixed in
#4052Evidence / Screenshot (if possible)
http://staging.openlibrary.org/books/OL21692921M?debug=true
<class 'IndexError'> at /books/OL21692921M
list index out of range
Python /openlibrary/openlibrary/templates/type/edition/view.html in template, line 9
Web GET http://staging.openlibrary.org/books/OL21692921M
Relevant url?
http://staging.openlibrary.org/books/OL21692921M/Catharisme?debug=true&edition=
Steps to Reproduce
Details
Proposal & Constraints
Related files
Stakeholders
The text was updated successfully, but these errors were encountered: