PyPDFForm icon indicating copy to clipboard operation
PyPDFForm copied to clipboard

PPF-1210: PdfWrapper crashes with any corrupted/unexpected widgets

Open alvin-r opened this issue 5 months ago • 1 comments

Version

PyPDFForm=3.6.1

Issue Description

We use PyPDFForm with a large variety of PDFs - sometimes there's one corrupted/faulty widget in a PDF, that causes the Wrapper to crash. We should warn instead of error out when building widgets to prevent this from happening.

Code Snippet

Will update when I find specific non-customer examples that I'm able to share - but this is a generic issue with a long-tail of errors we're seeing in prod

PDF Form Template

Screenshots (if applicable)

alvin-r avatar Nov 06 '25 19:11 alvin-r

Please stop creating PRs that simply wraps (potentially) problematic logics around a try catch block. If certain logics fail, they need to be fixed. And to do that actual PDF samples and code snippets are both needed.

chinapandaman avatar Nov 07 '25 00:11 chinapandaman