Also @Ramalama, re: "Building that aur package leads anyway to errors already." It doesn't, I just built it fine today.
Search Criteria
Package Details: ocrmypdf 16.7.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: | 125 |
Popularity: | 3.60 |
First Submitted: | 2014-01-27 11:36 (UTC) |
Last Updated: | 2024-12-10 05:10 (UTC) |
Dependencies (21)
- ghostscript
- img2pdf (img2pdf-gitAUR)
- pngquant
- python (python37AUR, python311AUR, python310AUR)
- python-deprecation
- python-importlib_resources
- python-packaging
- python-pdfminer (pdfminerAUR)
- python-pikepdf
- python-pillow
- python-pluggy
- python-reportlab
- python-rich
- python-tqdm
- tesseract (tesseract-gitAUR)
- unpaper (unpaper-gitAUR)
- python-build (make)
- python-hatch-vcs (make)
- python-installer (python-installer-gitAUR) (make)
- python-wheel (make)
- Show 1 more dependencies...
Required by (6)
- docspell-joex (optional)
- dpsprep-git (optional)
- phoronix-test-suite-git (optional)
- python-ocrmypdf-papermerge
- riven-original-soundtrack (make)
- stirling-pdf-bin
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 22 Next › Last »
eclairevoyant commented on 2023-05-22 01:31 (UTC)
fbrennan commented on 2023-05-21 22:22 (UTC)
No, we cannot just randomly remove dependencies required upstream.
Do not rely on yay
when running into failed builds. Use makepkg
, yay
is an AUR helper, and when it fails, its help ought to end (in my opinion).
eclairevoyant commented on 2023-05-21 18:11 (UTC) (edited on 2023-05-21 18:12 (UTC) by eclairevoyant)
Please read the prior comments... Anytime you see this error, you need to rebuild the package that it's erroring on. And it's not even this package.
Mettacrawer commented on 2023-05-21 17:50 (UTC) (edited on 2023-05-21 17:59 (UTC) by Mettacrawer)
$ ocrmypdf foo.pdf foo-ocr.pdf
Traceback (most recent call last):
File "/usr/bin/ocrmypdf", line 5, in <module>
from ocrmypdf.__main__ import run
File "/usr/lib/python3.11/site-packages/ocrmypdf/__init__.py", line 14, in <module>
from ocrmypdf.api import Verbosity, configure_logging, ocr
File "/usr/lib/python3.11/site-packages/ocrmypdf/api.py", line 18, in <module>
import coloredlogs
ModuleNotFoundError: No module named 'coloredlogs'
$ yay -Q ocrmypdf
ocrmypdf 14.2.0-1
$ yay -Q | grep coloredlogs
python-coloredlogs 15.0.1-3
$ yay -Qi python-coloredlogs
Name : python-coloredlogs
Version : 15.0.1-3
Description : Colored terminal output for Python's logging module
Architecture : any
URL : https://github.com/xolox/python-coloredlogs
Licenses : MIT
Groups : None
Provides : None
Depends On : python python-humanfriendly
Optional Deps : None
Required By : ocrmypdf
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 1835.48 KiB
Packager : Unknown Packager
Build Date : Wed 09 Nov 2022 05:15:23 PM EST
Install Date : Wed 09 Nov 2022 05:15:31 PM EST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : None
$ yay -Ss python-coloredlogs
aur/python-coloredlogs 15.0.1-3 (+25 1.02) (Out-of-date: 2023-05-11) (Installed)
Colored terminal output for Python's logging module
Works if I use:
$ pip install --user coloredlogs
Ramalama commented on 2023-05-19 08:06 (UTC)
Can we remove python-coloredlogs as dependency? As far i know the autor isn't going to support that package any longer and we can install it anyway with pip. (pip install coloredlogs)
Building that aur package leads anyway to errors already. Cheers
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.
dss commented on 2023-05-09 13:01 (UTC)
@eclairevoyant is right. Rebuilding fixes it. Thank you very much!
eclairevoyant commented on 2023-05-09 11:45 (UTC)
@dss might need to rebuild and reinstall the package due to python version change
dss commented on 2023-05-09 11:19 (UTC)
Package stopped working with the following output:
Traceback (most recent call last):
File "/usr/bin/ocrmypdf", line 5, in <module>
from ocrmypdf.__main__ import run
ModuleNotFoundError: No module named 'ocrmypdf'
Any idea how to fix this? Thanks!
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.