-
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
PdfReadError: Could not read Boolean object #377
Comments
It seems as if all these pdfs are encrypted in some way. Using the solution cited in this issue #53 , |
I had the same error for a signed document (Austrian "Amtssignatur"). The file contained the sequence
I think this violates the PDF 1.7 specification which says that a cross reference section (marked by the xref) consist of one or more subsection, but here we have zero subsections. The signed PDF obviously uses the "incremental update" feature of the PDF format. |
@ganeshtata , please reopen the issue. |
#1015 could fix this issue |
As there is no pdf, we can not confirm that it's solved. I assume it is and hence I'll close the issue. Please let me know if you still encounter the same issue with the latest PyPDF2 version (and please attach the pdf, if possible) |
I am able to reproduce this issue with test.pdf and pypdf. Traceback (most recent call last):
|
@isriam |
I am getting the following error for certain PDFs. Due to the confidential nature of these documents, I can't share them, but I can try and provide information which can help solve this problem.
Stacktrace -
The exception seems to be raised from the following function, in generic.py:
Printing the variable
word
yields trai. Can anyone suggest a solution for this issue?The text was updated successfully, but these errors were encountered: