Yeah, this problem started for me today too. I had not made any changes of updated for several days. My log is almost exactly the same:
Error executing service <ServiceCall tts.google_say (c:00197ddfd299469dad9da3e9a883b88e): entity_id=['media_player.bedroom'], message=bananas>
Traceback (most recent call last):
File "/usr/src/app/homeassistant/core.py", line 1177, in _event_to_service_call
await service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/tts/__init__.py", line 137, in async_say_handle
options=options
File "/usr/src/app/homeassistant/components/tts/__init__.py", line 306, in async_get_url
engine, key, message, use_cache, language, options)
File "/usr/src/app/homeassistant/components/tts/__init__.py", line 318, in async_get_tts_audio
message, language, options)
File "/usr/src/app/homeassistant/components/tts/google.py", line 83, in async_get_tts_audio
token.calculate_token, part)
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/gtts_token/gtts_token.py", line 28, in calculate_token
seed = self._get_token_key()
File "/usr/local/lib/python3.6/site-packages/gtts_token/gtts_token.py", line 57, in _get_token_key
tkk_expr = re.search(".*?(TKK=.*?;)W.*?", line).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
Looks like Google changed something again - others are reporting the issue on the gTTS repo: https://github.com/pndurette/gTTS/issues/151
https://github.com/pndurette/gTTS/issues/150
Hopefully they’ll find and get a fix published soon.