I just fixed it. Thanks.
I also wrote an pull request to change it in the code (but maybe it does not affect the Ubuntu-Users and so it won't be upgraded soon).
Search Criteria
Package Details: ocrmypdf 16.2.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/ocrmypdf.git (read-only, click to copy) |
---|---|
Package Base: | ocrmypdf |
Description: | A tool to add an OCR text layer to scanned PDF files, allowing them to be searched |
Upstream URL: | https://github.com/ocrmypdf/OCRmyPDF |
Licenses: | MPL2 |
Submitter: | dreuter |
Maintainer: | fbrennan (pigmonkey) |
Last Packager: | pigmonkey |
Votes: | 110 |
Popularity: | 1.54 |
First Submitted: | 2014-01-27 11:36 (UTC) |
Last Updated: | 2024-04-19 19:30 (UTC) |
Dependencies (21)
- ghostscript
- img2pdf (img2pdf-gitAUR)
- pngquant
- python (python32AUR, python37AUR, python311AUR, python310AUR)
- python-deprecation
- python-importlib_resources
- python-packaging
- python-pdfminer (pdfminerAUR)
- python-pikepdf
- python-pillow (python-pillow-gitAUR)
- python-pluggy
- python-reportlab
- python-rich (python-rich-gitAUR)
- python-tqdm
- tesseract (tesseract-gitAUR)
- unpaper (unpaper-gitAUR)
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-setuptools-scm (make)
- python-wheel (make)
- Show 1 more dependencies...
Required by (6)
- docspell-joex (optional)
- dpsprep-git (optional)
- paperless-ngx
- phoronix-test-suite-git (optional)
- python-ocrmypdf-papermerge
- riven-soundtrack (make)
Sources (1)
dreuter commented on 2014-03-09 17:44 (UTC)
p3t3r commented on 2014-03-05 17:39 (UTC)
Thank for this package, it's a great tool for quick and decent OCR.
While it worked at first, it unfortunately stopped soon afterwards. But there's a fix, since it's just a module/function in Python that has since been renamed:
In /usr/lib/ocrmypdf/src/hocrTransform.py replace
_AsciiBase85Encode
with
asciiBase85Encode
and everything is fine again.
Pinned Comments
fbrennan commented on 2023-05-12 22:54 (UTC)
The flag was invalid and has been removed with no action taken as no new version was released. There's nothing to do for this package; no new release has been made. Rebuild, as @eclairevoyant has said.