-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
docker compose up --build Error : espeak-ng-data/phontab': No such file or directory. #127
Comments
This issue occurs on a computer with an x86 architecture, using an Intel CPU. |
Still a problem for me on windows with AMD Ryzen processor. @remsky But got it patch by changing the folder creation hierarchy, by first creating the share. Here is my one line change:
|
Feel free to submit a PR, but otherwise thanks! Will take a look later tonight. I see I did partially miss the symlink to handle all cases which could have been part of the cause. |
I'm having this issue running with uv on macOS as well |
@shinishiho I encountered the error while running on M2, but @TheMrCodes method is also applicable to macOS. First, execute |
On Mac M3 via OrbStack - I started with the docker cmd ... I created in OrbStack Files section This has worked for me for short texts <200 characters Longer texts bring: Error generating speech: The object is in an invalid state. |
Taking a look, it looks like the issue isn't consistent between systems, a conflict with the upstream espeak-loader and the system version I install. Digging into to find a solution across all builds |
In progress on the fix, think it's related to this commit from a few days ago. |
This fixed it for me mkdir -p /home/runner/work/espeakng-loader/espeakng-loader/espeak-ng/_dynamic/share/ ln -s /app/.venv/lib/python3.10/site-packages/espeakng_loader/espeak-ng-data /home/runner/work/espeakng-loader/espeakng-loader/espeak-ng/_dynamic/share/espeak-ng-data |
https://github.com/remsky/Kokoro-FastAPI/releases/tag/v0.2.1 Should be implemented here, as far as I was able to test on a few machines. Let me know if the issues persists |
kokoro-tts-1 | Error processing file '/home/runner/work/espeakng-loader/espeakng-loader/espeak-ng/_dynamic/share/espeak-ng-data/phontab': No such file or directory.
The text was updated successfully, but these errors were encountered: