-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
PdfMergerThe PdfMerger component is affectedThe PdfMerger component is affectedPdfWriterThe PdfWriter component is affectedThe PdfWriter component is affectedis-bugFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFis-robustness-issueFrom a users perspective, this is about robustnessFrom a users perspective, this is about robustness
Description
Hello,
When executing this piece of code:
merger = PdfFileMerger(strict=False)
merger.append(some_file)
with BytesIO() as output_io:
merger.write(output_io)I get the following error: Unable to find 'endstream' marker after stream at byte 0x1047a.
I saw the issue #167 which seemed similar, but the cause is not the same, since the file I am trying to merge has a size of only 70kB. Any help regarding this issue?
PS: I am using version 1.25.1. I tried to upgrade to 1.26.0, I experienced the same issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PdfMergerThe PdfMerger component is affectedThe PdfMerger component is affectedPdfWriterThe PdfWriter component is affectedThe PdfWriter component is affectedis-bugFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFis-robustness-issueFrom a users perspective, this is about robustnessFrom a users perspective, this is about robustness