-
Notifications
You must be signed in to change notification settings - Fork 930
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
struct.error: 'l' format requires -2147483648 <= number <= 2147483647 #186
Comments
I have the same results with the current version of pdfminer.six. I did some research to understand this error and this is what I understood. The PDF reference (Table 3.19) says something about the
And:
The And another paragraph about the encoding of the
And thus, the |
… file trailer, as unsigned long (#352) Fixes #186 * Tread the permissions (the /P entry) as unsigned long, fix #186 * handle negative values for p * Extract function for resolving an twos-complement * Add test for issue #352 * Add line to CHANGELOG.md * Only ints can be converted to a uint using two's-complement method * Standardize import style; multiple imports from same module on one line Co-authored-by: Pieter Marsman <pietermarsman@gmail.com>
There are thousands of PDFs for which this error is occurring. I am attaching whole traceback.
However these PDFs were successfully parsed before and text was extracted. Here is the sample PDF
Note: I'm have
pdfminer.six==20170720
andPython3.5.2
The text was updated successfully, but these errors were encountered: