Skip to content

While trying to download a youtube video: No such file or directory: 'lb-wrapper' #331

Description

@Akatama

Describe the bug/problem

While writing some integration tests for Calibre-Web, I have decided to test downloading videos from Youtube. I submitted 3 such videos, and after waiting for 10 minutes, I saw no change in behavior. I clicked the Tasks button and saw this error for my video:

Admin Metadata Fetch: https://www.youtube.com/watch?v=mUxzKVrSAjs failed: [Errno 2] No such file or directory: 'lb-wrapper'

To Reproduce

Steps to reproduce the behavior:

  1. Create a Python virtual environment
  2. pip install -r requirements.txt
  3. Run nohup python3 cps.py & to enable the application
  4. Open the browser to http://localhost:8083
  5. Click on 'Download to IIAB'
  6. Enter in the Youtube video URL
  7. Click Submit
  8. Wait a few minutes, then click on the Tasks button

Logfile

 688   │ [2025-09-07 20:40:32,939] DEBUG {uploader.py:392} Temporary file: /tmp/calibre_web/afccbdf30b8a56883b178f783e39cd9f
 689   │ [2025-09-07 20:40:33,135] DEBUG {helper.py:536} Moving title: /tmp/calibre_web/afccbdf30b8a56883b178f783e39cd9f to /library/calibre-web/Robert W. Chambers/The King in Yellow (5)
 690   │ [2025-09-07 20:40:33,148] DEBUG {worker.py:91} Add Task for user: Admin - Upload The King in Yellow
 691   │ [2025-09-07 20:40:33,719] DEBUG {uploader.py:392} Temporary file: /tmp/calibre_web/898973dc73bd98269d5747aeaafffbc6
 692   │ [2025-09-07 20:40:33,883] DEBUG {helper.py:536} Moving title: /tmp/calibre_web/898973dc73bd98269d5747aeaafffbc6 to /library/calibre-web/Alexandre Dumas/The Count of Monte Cristo (6)
 693   │ [2025-09-07 20:40:33,898] DEBUG {worker.py:91} Add Task for user: Admin - Upload The Count of Monte Cristo
 694   │ [2025-09-07 21:06:48,309] DEBUG {worker.py:91} Add Task for user: Admin - Metadata fetch task for https://www.youtube.com/watch?v=mUxzKVrSAjs
 695   │ [2025-09-07 21:06:48,309]  INFO {metadata_extract.py:155} Starting to fetch metadata for URL: https://www.youtube.com/watch?v=mUxzKVrSAjs
 696   │ [2025-09-07 21:06:48,310] ERROR {metadata_extract.py:54} An error occurred during subprocess execution: [Errno 2] No such file or directory: 'lb-wrapper'
 697   │ [2025-09-07 21:08:56,110] DEBUG {worker.py:91} Add Task for user: Admin - Metadata fetch task for https://www.youtube.com/watch?v=mUxzKVrSAjs
 698   │ [2025-09-07 21:08:56,326]  INFO {metadata_extract.py:155} Starting to fetch metadata for URL: https://www.youtube.com/watch?v=mUxzKVrSAjs
 699   │ [2025-09-07 21:08:56,326] ERROR {metadata_extract.py:54} An error occurred during subprocess execution: [Errno 2] No such file or directory: 'lb-wrapper'
 700   │ [2025-09-07 21:17:00,961] DEBUG {worker.py:91} Add Task for user: Admin - Metadata fetch task for https://www.youtube.com/watch?v=mUxzKVrSAjs
 701   │ [2025-09-07 21:17:00,961]  INFO {metadata_extract.py:155} Starting to fetch metadata for URL: https://www.youtube.com/watch?v=mUxzKVrSAjs
 702   │ [2025-09-07 21:17:00,962] ERROR {metadata_extract.py:54} An error occurred during subprocess execution: [Errno 2] No such file or directory: 'lb-wrapper'

Expected behavior

I expect the video to be downloaded and available in Calibre-Web with as little delay as possible,

Environment (please complete the following information):

  • OS: OpenSUSE Tumbleweed 20250829
  • Python version: 3.13.7
  • Calibre-Web version: 0.6.26 Beta
  • Docker container: [None/LinuxServer]: None
  • Special Hardware: This is just my computer
  • Browser: Firefox 141.0.2

Metadata

Metadata

Assignees

No one assigned

    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