-
Notifications
You must be signed in to change notification settings - Fork 160
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
Parsing specific PDF in 1.0.21 - RangeError: index out of range (works in 1.0.20) #205
Comments
@boazsegev For some reason this fix b966e70 broke it |
Hi @Laykou Thank you for opening this issue. Please note my comments: here for issue #185 and here for issue #191. I usually prefer lax parsers that allow formatting errors to be ignored when possible. However, issue #185 showed that a specific type of error cannot be safely ignored, which required that the parser become more strict. I strongly suspect, from the description of the issue, that the specific PDF file is malformed. Testing the PDF @ https://www.datalogics.com/products/pdf-tools/pdf-checker/ fails ... the testing suite doesn't even recognize the file as a PDF, not to mention listing the errors. I have been authoring and maintaining this gem by myself for over 7 years and have been looking for a new maintainer for over 2 years. The community is enjoying my work, but not really contributing, so... 🤷🏼♂️ ... please forgive me for not investing more time and effort to solve this issue. Kindly, |
Hi @boazsegev , |
Do you think this could be fixed in a newer version? |
Getting |
There are some pull requests created that could possibly solve this problem but so far they have not been merged and the problem occurs even after almost a year after PRs were submitted. Can you take a look at them? |
Hello, getting 'RangeError: index out of range' on 1.0.23 version as well |
When trying to parse this PDF rose_production_split_pages.pdf (file was removed), we're getting error:
How we call it:
This happens on version
1.0.21
and1.0.22
however not on1.0.20
.Now we wanted to move to Ruby 3.1 and we need matrix fix which is in
1.0.22
but we cannot upgrade because of this failing PDF example.The text was updated successfully, but these errors were encountered: