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

AttributeError: 'ArrayObject' object has no attribute 'get' #404

Closed
jc275 opened this issue Mar 15, 2018 · 0 comments · Fixed by #405
Closed

AttributeError: 'ArrayObject' object has no attribute 'get' #404

jc275 opened this issue Mar 15, 2018 · 0 comments · Fixed by #405
Labels
is-bug From a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF

Comments

@jc275
Copy link
Contributor

jc275 commented Mar 15, 2018

https://github.com/mstamy2/PyPDF2/blob/94a208e2924b77d8e3b93cccacc2c8e2f5ac3baf/PyPDF2/filters.py#L361

decodeParms may be an ArrayObject, in which case the above exception is raised by filters.decodeStreamData()

@MartinThoma MartinThoma added the is-bug From a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF label Apr 8, 2022
MartinThoma pushed a commit that referenced this issue Apr 16, 2022
Fixes bug where decodeParms.get(...) causes
AttributeError: 'ArrayObject' object has no attribute 'get'

Closes #404
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is-bug From a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants