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

Downloading large MARC records #797

Open
awead opened this issue Jul 28, 2021 · 1 comment
Open

Downloading large MARC records #797

awead opened this issue Jul 28, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@awead
Copy link
Contributor

awead commented Jul 28, 2021

When downloading the marc file for https://catalog.libraries.psu.edu/catalog/71529, we're getting:

MARC::Exception: Can't write MARC record in binary format, as a length/offset value of 100082 is too long for a 5-byte slot.

@banukutlu banukutlu added the bug Something isn't working label Mar 29, 2022
@nicktiberi
Copy link
Contributor

nicktiberi commented Apr 4, 2022

This is handled in the ruby-marc gem here: https://github.com/ruby-marc/ruby-marc/blob/335a02065136440c8fb57c8f18e99dcd6e23791a/lib/marc/writer.rb#L113-L133

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

No branches or pull requests

3 participants