Raise KeyError: /Parent when attempting to extract the text from an empty page using layout mode #2533
Labels
key-error
Could be a bug, but also a robustness issue
workflow-text-extraction
From a users perspective, text extraction is the affected feature/workflow
pypdf will raise a KeyError: /Parent when attempting to extract the text from an empty page using layout mode. (Default mode works fine)
Environment
ubuntu 22.04 + py3.10 + pypdf4.1.0
Code + PDF
Share here the PDF file(s) that cause the issue. The smaller they are, the
better. Let us know if we may add them to our tests!
Traceback
This is the complete traceback I see:
test.pdf
The text was updated successfully, but these errors were encountered: