-
Notifications
You must be signed in to change notification settings - Fork 362
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
gtts.tts.gTTSError: 200 (OK) from TTS API. Probable cause: Unknown #363
Comments
I confirm this issue |
@iichelhadi Quick question: roughly how much text are you pushing through? Actually, what's the result of |
Hi pndurette, |
Hi, I use this library in order to convert in audio simple word,so max len text : 10 |
I ve tried to change TLD option |
'com' should be the default. That's what I am also using but issue persists |
So I think there's two distinct issues here:
Before your code, add: import logging
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("gtts")
|
@pndurette I'm also getting this error. It was working perfectly before and then after not even changing anything it doesn't work anymore. The error says it starts when it tries to save the mp3 file. I included my debug (I just posted here not sure if it would have been better another way) hopefully you can make some sense of it. I just used a reddit post as a filler to try it out Edit: If I run my same script but use a different text to use it works perfectly. I think the difference is that this text has a lot of \n which might be affecting it somehow. It's the only pattern I can find
|
Prerequisites
pip install --upgrade gTTS
)The issue was reported before but no solution seems to be working
Current Behaviour (steps to reproduce)
Error
Environment
The text was updated successfully, but these errors were encountered: