You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to generate audio (voicepack) for my converted Viomi SE (which is the same as CRL-200S). I use Ubuntu 20.04 on WSL2, python 3.8.10. But when running generate_audio.py it throws error ValueError: Unable to find token seed! Did https://translate.google.com change? :/
It's about some google translate token?
Package Version
--------------------------------- -------------
gTTS 2.0.3
gTTS-token 1.1.3
$ /usr/bin/python3 ./generate_audio.py
Available localized audio instructions:
1. language/audio_ca.csv
2. language/audio_cs.csv
3. language/audio_de.csv
4. language/audio_en.csv
5. language/audio_es.csv
6. language/audio_fi.csv
7. language/audio_fr.csv
8. language/audio_it.csv
9. language/audio_nl.csv
10. language/audio_no.csv
11. language/audio_pl.csv
12. language/audio_ru.csv
13. language/audio_se.csv
14. language/audio_tr.csv
15. language/audio_uk.csv
Please select option by typing number (1-15): 11
Available TTS engines:
1. gtts
Please select option by typing number (1-1): 1
back_dock_failed.wav
Traceback (most recent call last):
File "./generate_audio.py", line 93, in <module>
tts.save("{}.mp3".format(path))
File "/usr/lib/python3/dist-packages/gtts/tts.py", line 249, in save
self.write_to_fp(f)
File "/usr/lib/python3/dist-packages/gtts/tts.py", line 189, in write_to_fp
part_tk = self.token.calculate_token(part)
File "/usr/lib/python3/dist-packages/gtts_token/gtts_token.py", line 28, in calculate_token
seed = self._get_token_key()
File "/usr/lib/python3/dist-packages/gtts_token/gtts_token.py", line 58, in _get_token_key
raise ValueError(
ValueError: Unable to find token seed! Did https://translate.google.com change?
The text was updated successfully, but these errors were encountered:
I'm trying to generate audio (voicepack) for my converted Viomi SE (which is the same as CRL-200S). I use Ubuntu 20.04 on WSL2, python 3.8.10. But when running
generate_audio.py
it throws errorValueError: Unable to find token seed! Did https://translate.google.com change?
:/It's about some google translate token?
The text was updated successfully, but these errors were encountered: