-
We use paperless-ngx version 2.6.3 to archive our documents. With this current version, errors are shown in the log for a few digital invoices, which we did not have with a previous version. We suspect that this is due to a newer version of "pikepdf", with which "ocrmypdf" may be more restrictive. We did not have this error with version 8.12.0. The error occurred for the first time with version 8.13.0. The version of "ocrmypdf" is unchanged at 15.4.4. The error log from paperless-ngx is as follows: [2024-03-29 19:48:25,125] [INFO] [ocrmypdf._pipelines.ocr] Postprocessing... I would like to make this invoice available to the maintainer, but I don't know how. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The only thing changed from pikepdf 8.12 to 8.13 releasing more binary wheels for PyPy and tweak a test that randomly failed because it took long. You're not using PyPy or running the test suite, so it had to be something else that changed because 8.12 and 8.13 are the same code. This type of error is also not fatal. It only means we can't optimize the image because it violated some expectations about images we can optimize. You can GPG encrypt your file with my public key as described here: |
Beta Was this translation helpful? Give feedback.
-
I could not reproduce the issue with the latest ocrmypdf and pikepdf. The provided PDF (note: saved as 1288.pdf) contains errors/was incorrectly generated.
|
Beta Was this translation helpful? Give feedback.
The only thing changed from pikepdf 8.12 to 8.13 releasing more binary wheels for PyPy and tweak a test that randomly failed because it took long. You're not using PyPy or running the test suite, so it had to be something else that changed because 8.12 and 8.13 are the same code.
This type of error is also not fatal. It only means we can't optimize the image because it violated some expectations about images we can optimize.
You can GPG encrypt your file with my public key as described here:
https://github.com/ocrmypdf/OCRmyPDF/wiki
Alternately you can email me. My email is listed on this page
https://pypi.org/project/pikepdf/