-
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
assert xrefstream["/Type"] == "/XRef" #357
Comments
I am getting the same issue with another PDF. That can be causing this? Also getting this with the PDF provided. |
Workaround:
|
I got this error when I try to read pdf from s3. later I found that there is some unexpected unicode character apostrophe in pdf content. What I did is to replace apostrophe with "’" then read agian, it works fine. then pass content to file reader. |
Can somebody create a minimal Python script that shows the issue with the shared PDF? |
The comment by @AzizieAbuduaini indicates that it might be related to #384 |
As here is not PDF to check, I assume that #924 has fixed this issue. I'll release the new Please ping me if you still encounter this issue with 2.1.0 or later. |
I cant read one PDF file because /Type == /Page and I cant understand the reason.
<class 'PyPDF2.generic.DictionaryObject'> {'/Parent': IndirectObject(1, 0), '/Contents': IndirectObject(4, 0), '/Type': '/Page', '/Resources': Indirec tObject(2, 0)}
Follow the file: http://communy.com.br/static/cobranca.pdf
Please, can anybody help me?
The text was updated successfully, but these errors were encountered: