pypdf icon indicating copy to clipboard operation
pypdf copied to clipboard

bug while using append() method

Open pablobuenaposada opened this issue 1 month ago • 1 comments

My team is using append() from 4.2.0 for a feature where we basically append a pdf over another pdf, it seemed to be working fine until today when we caught the following error through sentry: Screenshot 2024-05-09 at 16 42 55

it's not happening with other pdfs, unfortunately, I cannot share the pdf and right now I don't have one that reproduces the error and can be shared 😢 the only I can spot strange in the pdf is that it has a blank page more or less in the middle.

For now we found that if we use add_page() for every page to basically do what append() does it does work!

Any idea?

pablobuenaposada avatar May 09 '24 14:05 pablobuenaposada