Skip to content

RapidOCR try to get additional font #5

@bnille

Description

@bnille

The system attempted to run the OCR stage using RapidOCR, but it failed because a required font file (FZYTK.TTF) could not be downloaded from the ModelScope URL:
https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/v3.4.0/resources/fonts/FZYTK.TTF
The download request failed, and as a result RapidOCR raised an error, causing the entire OCR stage (stage ocr for run 7) to fail.
Additionally, this issue is common in many environments where access to .cn (China-hosted) domains is restricted or blocked, which prevents the required file from being fetched.
In summary: The OCR process failed because RapidOCR tried to download a required font from a .cn domain, but the environment cannot access .cn pages.

neo-1 | [ERROR] 2025-12-09 20:07:04,649 [RapidOCR] download_file.py:74: Download failed: https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/v3.4.0/resources/fonts/FZYTK.TTF
neo-1 | 2025-12-09 20:07:04,649 - ERROR - Stage ocr failed for run 7: Failed to download https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/v3.4.0/resources/fonts/FZYTK.TTF

There is no information in the security.md or on the requirement page about modelscope.cn need to be accessible.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions