Skip to content

mokuro hangs without any page progress while maxxing out CPU core #144

@ElnuDev

Description

@ElnuDev

Hello! I have previously run mokuro with no issues prior to 0.2.0 with CUDA on my main system that has a dedicated GPU. I'm now running mokuro 0.2.2 on NixOS on my other system that doesn't have a GPU, so I have to run it on CPU. It has been running over an hour while maxxing out one of my cores. I figured it would take a while without acceleration, but it seems to be just hanging since it doesn't show any page progress.

[elnu@pang13:~/Nextcloud/Manga/DLraw.net-Yotsubato  vol 01-15/Yotsubato v01-05/[あずまきよひこ] よつばと! 第01巻]$ mokuro . --legacy-html=False
/nix/store/nsfn3qcz4w7w158yawk8sq3fqjvbysaz-mokuro-0.2.2/lib/python3.13/site-packages/comic_text_detector/utils/yolov5_utils.py:4: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources as pkg
2025-12-03 14:20:51.391 | INFO     | mokuro.run:run:63 - Scanning paths...

Found 1 volumes:

/home/elnu/Nextcloud/Manga/DLraw.net-Yotsubato  vol 01-15/Yotsubato v01-05/[あずまきよひこ] よつばと! 第01巻 (unprocessed)

Each of the paths above will be treated as one volume.


Continue? [yes/no]yes
2025-12-03 14:20:56.726 | INFO     | mokuro.run:run:133 - Processing 1/1: /home/elnu/Nextcloud/Manga/DLraw.net-Yotsubato  vol 01-15/Yotsubato v01-05/[あずまきよひこ] よつばと! 第01巻
Processing pages...:   0%|                                                                                                                                             | 0/231 [00:00<?, ?it/s]2025-12-03 14:20:56.749 | INFO     | mokuro.manga_page_ocr:__init__:41 - Initializing text detector, using device cpu
2025-12-03 14:20:56.749 | INFO     | mokuro.cache:_download_if_needed:22 - Downloading https://github.com/zyddnys/manga-image-translator/releases/download/beta-0.2.1/comictextdetector.pt
2025-12-03 14:20:59.223 | INFO     | mokuro.cache:_download_if_needed:30 - Finished downloading https://github.com/zyddnys/manga-image-translator/releases/download/beta-0.2.1/comictextdetector.pt

Any ideas what's going on? Thanks in advance.

It's also worth mentioning that it's completely unresponsive to ^C. No issues on a Windows 11 VM either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions