-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
[Bug]: Applio fails to start due to mistaken encoding of tts_voices.json #735
Comments
you can open a pr with your fix :) |
Actually, my initial idea of the fix was insufficient; it failed for the same reason in tts.py. So it needs two fixes: core.py:
tts.py:
I will create a PR then. |
@AznamirWoW Wondering if this would affect Python JSON loader as well? Is it using this Windows setting? @blaisewf I cloned the latest main, just to be sure my PR gets applied to the latest version and works with it... but now I cannot start Applio anymore because of another error:
It looks like there have been recent changes in |
Ah, it looks like these were the changes that made it impossible to start Applio: #729 |
Use a compiled Applio build, not a git clone that may or may not be stable. As for Python and json loader, as far as I know Python has issues opening files with non-standard console code page, thus enabling utf-8 solves most of the issues. |
@AznamirWoW Ok, I'll try that. Anyway, while browsing the source code, I noticed that some |
Ugh....isn't the main branch supposed to be stable?? Like seriously.... |
stable branches are the releases, you can clone a release |
Project Version
main branch
Platform and OS Version
Windows 11, 64bit
Affected Devices
Computer
Existing Issues
No response
What happened?
Installed Applio inside pinokio. Attempted to start it. It failed. The error in the logs says the following:
When inspecting the issue, it seems that JSON fails to detect that the file
tts_voices.json
is in UTF-8 and tries to use cp1257.Steps to reproduce
Expected behavior
Expected Applio to start.
Attachments
No response
Screenshots or Videos
No response
Additional Information
Running in pinokio
The text was updated successfully, but these errors were encountered: