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
I installed ocrmypdf 16.3.1 via pipx and tries OCR’ing a couple of different documents. The error is ocrmypdf.exceptions.SubprocessOutputError because tesseract dies with subprocess.CalledProcessError: Command '['tesseract', '-l', 'eng', '/tmp/ocrmypdf.io.1cr5y8l6/000001_ocr.png', '/tmp/ocrmypdf.io.1cr5y8l6/000001_ocr_hocr', 'hocr', 'txt']' died with <Signals.SIGFPE: 8>.. Individually, tesseract 5.4.0 on the same machine has no problems recognising individual pages. The same PDF can be successfully processed by tesseract 13.4.0 on a different machine with Ubuntu. Then, I tried removing the pipx version and installed ocrmypdf of the same version from AUR. Same file, same error (Signals.SIGFPE: 8 – floating-point error?..). I hereby enclose the two log files: failure and success.
Steps to reproduce
1. Run `ocrmypdf -j 1 --verbose 2 a.pdf a2.pdf`
2. The subprocess dies.
Describe the bug
I installed
ocrmypdf
16.3.1 viapipx
and tries OCR’ing a couple of different documents. The error isocrmypdf.exceptions.SubprocessOutputError
because tesseract dies withsubprocess.CalledProcessError: Command '['tesseract', '-l', 'eng', '/tmp/ocrmypdf.io.1cr5y8l6/000001_ocr.png', '/tmp/ocrmypdf.io.1cr5y8l6/000001_ocr_hocr', 'hocr', 'txt']' died with <Signals.SIGFPE: 8>.
. Individually, tesseract 5.4.0 on the same machine has no problems recognising individual pages. The same PDF can be successfully processed by tesseract 13.4.0 on a different machine with Ubuntu. Then, I tried removing thepipx
version and installedocrmypdf
of the same version from AUR. Same file, same error (Signals.SIGFPE: 8 – floating-point error?..). I hereby enclose the two log files: failure and success.Steps to reproduce
Files
a.pdf
ocrmypdf-success.log
ocrmypdf-error.log
How did you download and install the software?
PyPI (pip, poetry, pipx, etc.), Linux package manager (apt, dnf, etc.)
OCRmyPDF version
16.3.1
Relevant log output
The text was updated successfully, but these errors were encountered: