Traceback (most recent call last):


 "<input>", line 1, in <module>


 "....\lib\site-packages\gtts\tts.py", line 247, in save

self.write_to_fp(f)


 "...\lib\site-packages\gtts\tts.py", line 187, in write_to_fp

part_tk = self.token.calculate_token(part)


 "...\lib\site-packages\gtts_token\gtts_token.py", line 28, in calculate_token

seed = self._get_token_key()


 "...\lib\site-packages\gtts_token\gtts_token.py", line 62, in _get_token_key

a = re.search("a\\\\x3d(-?\d+);", tkk_expr).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 418, in start

resp = await task


 "/srv/homeassistant/lib/python3.8/site-packages/aiohttp/web_app.py", line 458, in _handle

resp = await handler(request)


 "/srv/homeassistant/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl

return await handler(request)


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware

return await handler(request)


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/ban.py", line 72, in ban_middleware

return await handler(request)


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/auth.py", line 135, in auth_middleware

return await handler(request)


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/view.py", line 123, in handle

result = await result


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/alexa/smart_home_http.py", line 119, in post

response = await async_handle_message(


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/alexa/smart_home.py", line 41, in async_handle_message

response = await funct_ref(hass, config, directive, context)


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/alexa/handlers.py", line 353, in async_api_set_percentage

await hass.services.async_call(


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/core.py", line 1194, in async_call

service = service.lower()
AttributeError: 'NoneType' object has no attribute 'lower'
