Google tts not working 0.82 hassbian

It’s been a while since I used the tts feature and it’s not working after 0.82 upgrade.

I’m using hassbian and did the following:

  • Stop Service

  • Activate venv

  • pip install gTTS --upgrade

  • pip install gTTS-token --upgrade

  • Restarted

  • I see these errors

    2018-12-04 16:06:46 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall tts.google_say (c:fa524527dc1a4b3fa5f627b0a45e106e): message=Heloo, entity_id=[‘media_player.office’]>
    File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tts/init.py”, line 137, in async_say_handle
    File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tts/init.py”, line 306, in async_get_url
    File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tts/init.py”, line 318, in async_get_tts_audio
    File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tts/google.py”, line 83, in async_get_tts_audio
    File “/srv/homeassistant/lib/python3.5/site-packages/gtts_token/gtts_token.py”, line 28, in calculate_token
    File “/srv/homeassistant/lib/python3.5/site-packages/gtts_token/gtts_token.py”, line 57, in _get_token_key

I have noticed several posts with similar issues. I tried to upgrade to 0.83 and it complained there were problems so I reverted back to 0.82

Thanks in advance for any assistance

I’ve just upgraded gTTS-token to 1.1.3, and my issues have gone.