Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: can't open file '/ebook2audiobookXTTS/app.py': [Errno 2] No such file or directory #202

Open
thefoxman88 opened this issue Jan 7, 2025 · 8 comments
Labels
docker Related to docker unraid

Comments

@thefoxman88
Copy link

Using the default template in UNRAID 6.12.8 I am unable to start the container. I get the error "python: can't open file '/ebook2audiobookXTTS/app.py': [Errno 2] No such file or directory"

Most container that need a "directory" for config etc have it included in the basic template.
Screenshot 2025-01-07 134902

======================
Below is the docker logs.

text error warn system array login

python: can't open file '/ebook2audiobookXTTS/app.py': [Errno 2] No such file or directory
python: can't open file '/ebook2audiobookXTTS/app.py': [Errno 2] No such file or directory

==========
== CUDA ==

CUDA Version 11.8.0

Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license

A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.

==========
== CUDA ==

CUDA Version 11.8.0

Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license

A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.

** Press ANY KEY to close this window **
Screenshot 2025-01-07 134716

@PrzemekSkw
Copy link

Hello, the same issue here. Something is missing in template or there should be some instructions what to do before start container.
Regards.

@DrewThomasson
Copy link
Owner

DrewThomasson commented Jan 7, 2025

The error is just telling you that you're looking for the app.py in the wrong location

Just look at the Dockerfile in the repo to see how the image was build

@DrewThomasson
Copy link
Owner

DrewThomasson commented Jan 7, 2025

The Dockerfile that's used to construct the Docker image is in the repo

Also

The docker image

athomasson2/ebook2audiobookxtts

Is being deprecated and marked as legacy (as its naming no longer makes sense)

The latest docker image is now

athomasson2/ebook2audiobook

@DrewThomasson
Copy link
Owner

DrewThomasson commented Jan 7, 2025

I'm guessing the guide that everyone is using for unraid is just out of date or something?

@ROBERT-MCDOWELL
Copy link
Collaborator

maybe put a comment where they grab it?

@DrewThomasson
Copy link
Owner

DrewThomasson commented Jan 7, 2025

Oh yeah tru, here's the Dockerfile

Dockerfile

My bad 😅

Also if there is an out of date guide would anyone be willing to send a link to it? 😅

@Sidamos666
Copy link

I got it working by manually changing the unraid template from
repository: athomasson2/ebook2audiobookxtts:latest
to
athomasson2/ebook2audiobook:latest
and adding (not necessary for it to work, but i prefer) persistent external paths:
/home/user/app/tmp > /mnt/user/appdata/ebook2audiobook/tmp/
/home/user/app/audiobooks > /mnt/user/appdata/ebook2audiobook/audiobooks/
/home/user/app/models > /mnt/user/appdata/ebook2audiobook/models/

@DrewThomasson DrewThomasson added unraid docker Related to docker labels Jan 13, 2025
@DrewThomasson
Copy link
Owner

For reference for me and others here is the GitHub issue page where me and the Maintainer of the ebook2audiobook are talking to each other
#162 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker Related to docker unraid
Projects
None yet
Development

No branches or pull requests

5 participants