No such file or directory at end of process #376
Replies: 20 comments
-
please provide the full terminal log |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
are you using docker? |
Beta Was this translation helpful? Give feedback.
-
please use the very last git. git pull |
Beta Was this translation helpful? Give feedback.
-
Yes
…On Tue, Feb 25, 2025 at 9:42 AM ROBERT MCDOWELL ***@***.***> wrote:
are you using docker?
—
Reply to this email directly, view it on GitHub
<#376 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKSVCTLX5WXRKEHCIZVNUN32RSMOPAVCNFSM6AAAAABX24IY3GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZRGU2TGMI>
.
You are receiving this because you authored the thread.Message ID:
<DrewThomasson/ebook2audiobook/repo-discussions/376/comments/12315531@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
OK, will try that and re-run it
…On Tue, Feb 25, 2025 at 9:57 AM ROBERT MCDOWELL ***@***.***> wrote:
please use the very last git. git pull
—
Reply to this email directly, view it on GitHub
<#376 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKSVCTO4MXZH6GJKJTU5N7D2RSOIZAVCNFSM6AAAAABX24IY3GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZRGU3DQNA>
.
You are receiving this because you authored the thread.Message ID:
<DrewThomasson/ebook2audiobook/repo-discussions/376/comments/12315684@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Hi again. I downloaded the latest image (Ebook2Audiobook v25.2.18), re-ran and got same error: 2025-02-26T02:13:23.605797135Z File "/home/user/app/lib/functions.py", line 759, in assemble_audio 2025-02-26T02:13:23.605800377Z combined_audio.export(combined_chapters_file, format=default_audio_proc_format) 2025-02-26T02:13:23.605802803Z File "/home/user/.local/lib/python3.12/site-packages/pydub/audio_segment.py", line 867, in export 2025-02-26T02:13:23.605805104Z out_f, _ = _fd_or_path_or_tempfile(out_f, 'wb+') 2025-02-26T02:13:23.605807097Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-02-26T02:13:23.605809098Z File "/home/user/.local/lib/python3.12/site-packages/pydub/utils.py", line 60, in _fd_or_path_or_tempfile 2025-02-26T02:13:23.605811369Z fd = open(fd, mode=mode) 2025-02-26T02:13:23.605813346Z ^^^^^^^^^^^^^^^^^^^ 2025-02-26T02:13:23.605815339Z FileNotFoundError: [Errno 2] No such file or directory: '/home/user/app/tmp/ebook-Primo Levi/d27819d149bfef3e0d0fa6fb305f4f92/If This Is A Man/The Truce (Abacus 40th Anniversary).flac' |
Beta Was this translation helpful? Give feedback.
-
did you build a new docker or not? this path is for a docker, not native. try to use the native mode, not the docker and tell me if it's the same. |
Beta Was this translation helpful? Give feedback.
-
Yes, that was docker with a new image.
Running native I got an issue on the install of Conda (on Debian) so I went
back to docker where it ran fine.
…On Tue, Feb 25, 2025 at 7:42 PM ROBERT MCDOWELL ***@***.***> wrote:
did you build a new docker or not? this path is for a docker, not native.
try to use the native mode, not the docker and tell me if it's the same.
—
Reply to this email directly, view it on GitHub
<#376 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKSVCTJGZPHPYXU37AC5TWD2RUS2PAVCNFSM6AAAAABX24IY3GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZSGAYTMMY>
.
You are receiving this because you authored the thread.Message ID:
<DrewThomasson/ebook2audiobook/repo-discussions/376/comments/12320163@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
our entire code is tested on ubuntu/debian. so it's worth for us to understand why it does not work in native for you. |
Beta Was this translation helpful? Give feedback.
-
I just re-installed and re-ran today with Ebook2Audiobook v25.2.18 (on
Docker). I'll try native and see if I can figure out the Conda install
issue. I'm getting this:
error libmamba Bad conversion of Python version '3.12.8': filesystem
error: temp_directory_path: No such file or directory
[/root/ebook2audiobook/.cache]
/tmp/Miniforge3.sh: line 406: 1072801 Segmentation fault
CONDA_ROOT_PREFIX="$PREFIX" CONDA_REGISTER_ENVS="true"
CONDA_SAFETY_CHECKS=disabled CONDA_EXTRA_SAFETY_CHECKS=no
CONDA_CHANNELS="conda-forge/" CONDA_PKGS_DIRS="$PREFIX/pkgs"
CONDA_QUIET="$BATCH" "$CONDA_EXEC" install --offline --file
"$PREFIX/pkgs/env.txt" -yp "$PREFIX" $shortcuts --no-rc
conda installation failed.
…On Tue, Feb 25, 2025 at 8:12 PM ROBERT MCDOWELL ***@***.***> wrote:
our entire code is tested on ubuntu/debian. so it's worth for us to
understand why it does not work in native for you.
when did you try it? everyday we are fixing issues. we are in full
development since 3 months only and nothing is perfect with this short time
lap. but soon or late you'll update with the right version without any
install issue. maybe you should retry again.
—
Reply to this email directly, view it on GitHub
<#376 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKSVCTO2SLXQSDXFIRWWNKL2RUWJNAVCNFSM6AAAAABX24IY3GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZSGAZTKNI>
.
You are receiving this because you authored the thread.Message ID:
<DrewThomasson/ebook2audiobook/repo-discussions/376/comments/12320355@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
please clone the git repo, not the release. |
Beta Was this translation helpful? Give feedback.
-
I don’t know what that means.
…On Tue, Feb 25, 2025 at 8:51 PM ROBERT MCDOWELL ***@***.***> wrote:
please clone the git repo, not the release.
—
Reply to this email directly, view it on GitHub
<#376 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKSVCTM3YBRFE5MVNWV5DZT2RU24JAVCNFSM6AAAAABX24IY3GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZSGA2TKOI>
.
You are receiving this because you authored the thread.Message ID:
<DrewThomasson/ebook2audiobook/repo-discussions/376/comments/12320559@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Here I updated the docker image to the latest stable in main Pull the latest image and try it now |
Beta Was this translation helpful? Give feedback.
-
I get the exact same issue with new pull and native install. Are you suggesting I use Docker instead? That was my original setup. This is the error: error libmamba Bad conversion of Python version '3.12.8': filesystem |
Beta Was this translation helpful? Give feedback.
-
@jonherstein git clone https://github.com/DrewThomasson/ebook2audiobook.git be sure ebook2audiobook.sh has exec modechmod 755 ebook2audiobook.sh gradio GUI run example./ebook2audiobook.sh if it still does not work. I suspect you have a very old debian or bash version. |
Beta Was this translation helpful? Give feedback.
-
That’s exactly what I’ve done and I’m running Debian 12.9. I am re running
the book now. It may be a space issue.
…On Wed, Feb 26, 2025 at 6:47 PM ROBERT MCDOWELL ***@***.***> wrote:
@jonherstein <https://github.com/jonherstein>
the error you are showing looks like you don't run the right script into
the right shebang.
for native use: open a terminal in bash, clone our repo like this:
git clone https://github.com/DrewThomasson/ebook2audiobook.git
cd ebook2audiobook
be sure ebook2audiobook.sh has exec mode
chmod 755 ebook2audiobook.sh
gradio GUI run example
./ebook2audiobook.sh
if it still does not work. I suspect you have a very old debian or bash
version.
—
Reply to this email directly, view it on GitHub
<#376 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKSVCTKSQG3YVGBGS5VYD7L2RZVCDAVCNFSM6AAAAABX24IY3GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZTGI4TMNA>
.
You are receiving this because you were mentioned.Message ID:
<DrewThomasson/ebook2audiobook/repo-discussions/376/comments/12332964@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
oh are you running as root? |
Beta Was this translation helpful? Give feedback.
-
re-ran the whole thing again on Docker with new image (Gradio shows Ebook2Audiobook v25.2.18). As before, it gets all the way through then fails as it's assembling the result. Error text is slightly different. I don't know if there is something about this book causing the issue, but it's simply not working. I have attached the full logs. 2025-02-27T04:45:24.112780781Z Traceback (most recent call last): 2025-02-27T04:45:24.112841425Z File "/home/user/app/lib/functions.py", line 759, in assemble_audio 2025-02-27T04:45:24.112847679Z combined_audio.export(combined_chapters_file, format=default_audio_proc_format) 2025-02-27T04:45:24.112851969Z File "/home/user/.local/lib/python3.12/site-packages/pydub/audio_segment.py", line 867, in export 2025-02-27T04:45:24.112855811Z out_f, _ = _fd_or_path_or_tempfile(out_f, 'wb+') 2025-02-27T04:45:24.112859564Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-02-27T04:45:24.112863293Z File "/home/user/.local/lib/python3.12/site-packages/pydub/utils.py", line 60, in _fd_or_path_or_tempfile 2025-02-27T04:45:24.112866995Z fd = open(fd, mode=mode) 2025-02-27T04:45:24.112870538Z ^^^^^^^^^^^^^^^^^^^ 2025-02-27T04:45:24.112874111Z FileNotFoundError: [Errno 2] No such file or directory: '/home/user/app/tmp/ebook-Primo Levi/88e30da736fceb0a3aee74c4dc0963dc/If This Is A Man/The Truce (Abacus 40th Anniversary).flac' |
Beta Was this translation helpful? Give feedback.
-
did you try another book? try to change the filename to "test.epub" for example. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Here's the log if the error:
[Errno 2] No such file or directory: '/home/user/app/tmp/ebook-Primo Levi/b26d5d5d36b437c5e397cc2e07759c6f/If This Is A Man/The Truce (Abacus 40th Anniversary).flac' Traceback (most recent call last): File "/home/user/app/lib/functions.py", line 747, in assemble_audio combined_audio.export(combined_chapters_file, format=default_audio_proc_format) File "/home/user/.local/lib/python3.12/site-packages/pydub/audio_segment.py", line 867, in export out_f, _ = _fd_or_path_or_tempfile(out_f, 'wb+') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/user/.local/lib/python3.12/site-packages/pydub/utils.py", line 60, in _fd_or_path_or_tempfile fd = open(fd, mode=mode) ^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/home/user/app/tmp/ebook-Primo Levi/b26d5d5d36b437c5e397cc2e07759c6f/If This Is A Man/The Truce (Abacus 40th Anniversary).flac' Caught DependencyError: [Errno 2] No such file or directory: '/home/user/app/tmp/ebook-Primo Levi/b26d5d5d36b437c5e397cc2e07759c6f/If This Is A Man/The Truce (Abacus 40th Anniversary).flac' combine_audio_chapters() error: final_file not created!
And the folder structure:
user@a835514e8e82:
/app/tmp/ebook-Primo Levi/b26d5d5d36b437c5e397cc2e07759c6f$ ls -l/app/tmp/ebook-Primo Levi/b26d5d5d36b437c5e397cc2e07759c6f$total 1174
-rw------- 1 user user 598879 Feb 25 02:04 'Levi Primo - If This is a Man.epub'
-rw-r--r-- 1 user user 56117 Feb 25 02:04 'Levi Primo - If This is a Man.jpg'
-rw-r--r-- 1 user user 513073 Feb 25 02:04 '__Levi Primo - If This is a Man.epub'
drwxr-xr-x 3 user user 65 Feb 25 12:51 chapters
user@a835514e8e82:
It seems like there is no such folder as what it's trying to find. I did try changing the name of the epub I started with (per earlier suggestion) to remove the part with the parentheses, but they are back. Perhaps they are embedded in the epub file. Either way, the folder structure doesn't match...
Beta Was this translation helpful? Give feedback.
All reactions