-
-
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
catalog/onix/onix.py doesn't handle books with multiple title tags #3
Comments
I've fixed this in my fork if you want to pull it. |
@mekarpeles I think we should close this! |
This was referenced Jul 21, 2020
yoonmgyg
pushed a commit
to yoonmgyg/openlibrary
that referenced
this issue
Nov 30, 2022
…atch-1 Update README.md
BrendenInhelder
added a commit
to BrendenInhelder/openlibrary
that referenced
this issue
Feb 11, 2023
Elias0127
added a commit
to CodeDay-Init/openlibrary-2
that referenced
this issue
Feb 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've got a book in an ONIX record that has more than one <title> tag. When this happens, onix.py raises an Exception:
File "/openlibrary/catalog/onix/onix.py", line 62, in getitem
raise Exception ("more than one value for %s (%s)" % (reference_name, name))
Exception: more than one value for Title (title)
It is valid according to the ONIX docs for there to exist more than one <title> tag. This often happens when a book is bilingual.
The text was updated successfully, but these errors were encountered: