Skip to content

[bug] OCR failed in windows 11 with CLI. #3902

@xiaozhubin

Description

@xiaozhubin

describe the bug
I build the CLI with my own by chatgpt's help. The command is cargo build --release -p screenpipe-engine --bin screenpipe.
I read many PDF files which are scanned with no text in it. when I searched text, I got nothing. So I check the log, find WARN screenpipe_capture::paired_capture: windows OCR failed: 操作成功完成。 (0x00000000) in the log file.
I also checked the database, there is no data in ocr_text table.

system info

  • os: 版本

Windows 11 专业版
版本号 25H2
安装日期 ‎2024/‎12/‎6
操作系统版本 26200.8457
功能包 Windows 功能体验包 1000.26100.304.0

  • screenpipe version: 2.5.20

additional context
2026-06-08T15:27:48.842354Z DEBUG screenpipe_capture::paired_capture: a11y_content_is_thin: total_chars=30 < 100, treating as thin
2026-06-08T15:27:49.026834Z WARN screenpipe_capture::paired_capture: windows OCR failed: 操作成功完成。 (0x00000000)
2026-06-08T15:27:49.029115Z DEBUG screenpipe_db::write_queue: write_queue: draining batch of 1 writes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions