Package Details: python-rapidocr 3.8.1-1

Git Clone URL: https://aur.archlinux.org/python-rapidocr.git (read-only, click to copy)
Package Base: python-rapidocr
Description: Cross-runtime OCR library
Upstream URL: https://github.com/RapidAI/RapidOCR
Licenses: Apache-2.0
Submitter: aliu
Maintainer: aliu
Last Packager: aliu
Votes: 1
Popularity: 0.040140
First Submitted: 2025-11-30 02:14 (UTC)
Last Updated: 2026-04-12 14:55 (UTC)

Latest Comments

aliu commented on 2026-02-07 03:07 (UTC)

arghhhh rookie mistake, fixed

nikod commented on 2026-02-07 02:56 (UTC)

This line needs double quotes otherwise it won't replace ${pkgver}

'https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/v${pkgver}/resources/fonts/FZYTK.TTF'

RuneArch commented on 2026-02-05 17:22 (UTC)

Having an issue with the font file, not clear where, but - for me - there was a certificate error with www.modelscope.cn.

I can download the file ok from a browser, but all my certificates are up to date... ended up modifying the PKGBUILD to point to a local copy of the font and that allowed it to continue (and immich-machine-learning too)

aliu commented on 2025-12-08 20:03 (UTC)

Sorry, forgot about this. Will fix today.

jwh commented on 2025-12-08 19:48 (UTC)

Just noticed immich-machine-learning has been failing to update because of this also:

Dec 08 19:44:09 builder-amd64 update-aurto[1858455]: ==> Extracting sources...
Dec 08 19:44:09 builder-amd64 update-aurto[1858455]:   -> Extracting v3.4.2.tar.gz with bsdtar
Dec 08 19:44:10 builder-amd64 update-aurto[1858455]:   -> Extracting required_for_whl_v3.0.0.zip with bsdtar
Dec 08 19:44:10 builder-amd64 update-aurto[1858455]: ==> Starting prepare()...
Dec 08 19:44:10 builder-amd64 update-aurto[1860420]: patching file setup.py
Dec 08 19:44:10 builder-amd64 update-aurto[1860420]: rm: cannot remove 'rapidocr/rapidocr/': No such file or directory
Dec 08 19:44:10 builder-amd64 update-aurto[1860420]: ==> ERROR: A failure occurred in prepare().
Dec 08 19:44:10 builder-amd64 update-aurto[1860420]:     Aborting...

aliu commented on 2025-12-04 15:20 (UTC)

Interesting. The directory spontaneously appears for me. I’ll add a folder existence check when I get home in a few days.

CountMurphy commented on 2025-12-02 16:58 (UTC) (edited on 2025-12-02 17:40 (UTC) by CountMurphy)

Line 60

    rm -r build/lib/rapidocr/rapidocr/  # no idea why\ {this happens,only under makepkg}

Causes the build to fail as the directory doesn't exist. Removing the line allows the build to succeed (with makepkg)