Package: ocrmypdf Version: 9.0.1+dfsg-1 Severity: important Tags: patch Hello,
running ocrmypdf (ocrmypdf --lang deu --deskew) fails with the
following error
ERROR - GPL Ghostscript RELEASE CANDIDATE 2 9.28: Setting Overprint Mode to
1
not permitted in PDF/A-2, overprint mode not set
Error: /invalidfileaccess in --file--
Operand stack:
--nostringval-- --nostringval--
(/usr/lib/python3/dist-packages/ocrmypdf/data/sRGB.icc) (r)
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1974 1 3 %oparray_pop
1973 1 3 %oparray_pop 1961 1 3 %oparray_pop 1817 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:736/1123(ro)(G)-- --dict:1/20(G)-- --dict:76/200(L)--
Current allocation mode is local
Last OS error: Permission denied
Current file position is 576
GPL Ghostscript RELEASE CANDIDATE 2 9.28: Unrecoverable error, exit code 1
ERROR - SubprocessOutputError: Ghostscript PDF/A rendering failed
This is fixed by upstream commit [1], released in version 9.0.3.
Please consider packaging the latest version to fix this issue.
Regards
Simon
[1]:
https://github.com/jbarlow83/OCRmyPDF/commit/17ac9d7a9a296ae3d50146fbefad5281e2851b0f
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
signature.asc
Description: PGP signature

