You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to add it to paperless-ngx it call myocrpdf and fails at the end. I went ahead and tried processing the file with myocrpdf directly, and it fails with the following.
They seem to think this is an ocrmypdf issue. It seems like ghostcript is the component failing but I'm not familiar with how ocrpdf is calling it so I figured i would start here.
--continue-on-soft-render-error will work around the issue.
This is likely a Ghostscript issue. Earlier versions of Ghostscript (9.55) don't produce this error. Some time around 10.x, it appeared. I cannot make sense of the error message from Ghostscript.
I could not identify any issue with the input PDF (as seen right before handing off to Ghostscript). iText RUPS, qpdf, Foxit report no syntax issues or other issues. I also tried deleting all of the metadata before processing, and the struct tree, and this does not fix the issue.
Describe the bug
Some background info. I'm using paperless-ngx. I tried to add the Document ECMA-395 (Ultra-Speed
Compact Disc ReWritable System Description" Which can be found at the following website.
https://www.ecma-international.org/publications-and-standards/standards/ecma-395/
When trying to add it to paperless-ngx it call myocrpdf and fails at the end. I went ahead and tried processing the file with myocrpdf directly, and it fails with the following.
Error: /typecheck in --runpdf--
Operand stack:
--nostringval-- --nostringval-- --nostringval-- --nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- runpdf --nostringval-- 2 %stopped_push --nostringval-- runpdf runpdf false 1 %stopped_push 1974 1 3 %oparray_pop
1973 1 3 %oparray_pop 1961 1 3 %oparray_pop 1962 1 3 %oparray_pop runpdf runpdf runpdf runpdf
Dictionary stack:
--dict:778/1123(ro)(G)-- --dict:0/20(G)-- --dict:87/200(L)-- --dict:18/20(L)--
Current allocation mode is local
GPL Ghostscript 10.01.2: Unrecoverable error, exit code 1
SubprocessOutputError: Ghostscript PDF/A rendering failed
I found a similiar bug from paperless-ngx
paperless-ngx/paperless-ngx#3933
They seem to think this is an ocrmypdf issue. It seems like ghostcript is the component failing but I'm not familiar with how ocrpdf is calling it so I figured i would start here.
Steps to reproduce
Files
Input is copyrighted but is freely available. No output was created.
ocrmypdf_ecma_395_log.txt
How did you download and install the software?
No response
OCRmyPDF version
14.4.0
Relevant log output
The text was updated successfully, but these errors were encountered: