so here is the audio.log for “wie ist das wetter”:
19:31:29.356 - mycroft.audio.speech:mute_and_speak:122 - INFO - Speak: Es ist gerade Regenschauer und 6 Grad. Das heutige Maximun ist 6 und der Tiefstwert 3.
19:31:29.364 - gtts.tts - DEBUG - slow: False
19:31:29.364 - gtts.tts - DEBUG - slow: False
19:31:29.365 - gtts.tts - DEBUG - lang: de
19:31:29.365 - gtts.tts - DEBUG - lang: de
19:31:29.365 - gtts.tts - DEBUG - pre_processor_funcs: [<function tone_marks at 0x75aa9cd8>, <function end_of_line at 0x75a26108>, <function abbreviations at 0x75a2615
0>, <function word_sub at 0x75a26198>]
19:31:29.365 - gtts.tts - DEBUG - pre_processor_funcs: [<function tone_marks at 0x75aa9cd8>, <function end_of_line at 0x75a26108>, <function abbreviations at 0x75a2615
0>, <function word_sub at 0x75a26198>]
19:31:29.366 - gtts.tts - DEBUG - lang_check: True
19:31:29.366 - gtts.tts - DEBUG - lang_check: True
19:31:29.366 - gtts.tts - DEBUG - tokenizer_func: <bound method Tokenizer.run of re.compile('(?<=\\?).|(?<=\\!).|(?<=\\?).|(?<=\\!).|(?<!\\.[a-z])\\. |(?<!\\.[a-z])\
\, |\\、|\\:|\\—|\\。|\\;|\\\n|\\[|\\)|\\،|\\¿|\\…|\\¡|\\‥|\\]|\\(|\\,|\\:', re.IGNORECASE) from: [<function tone_marks at 0x75a26228>, <function period_comma at 0x7
5a26270>, <function other_punctuation at 0x75a262b8>]>
19:31:29.366 - gtts.tts - DEBUG - tokenizer_func: <bound method Tokenizer.run of re.compile('(?<=\\?).|(?<=\\!).|(?<=\\?).|(?<=\\!).|(?<!\\.[a-z])\\. |(?<!\\.[a-z])\
\, |\\、|\\:|\\—|\\。|\\;|\\\n|\\[|\\)|\\،|\\¿|\\…|\\¡|\\‥|\\]|\\(|\\,|\\:', re.IGNORECASE) from: [<function tone_marks at 0x75a26228>, <function period_comma at 0x7
5a26270>, <function other_punctuation at 0x75a262b8>]>
19:31:29.368 - gtts.tts - DEBUG - text: Es ist gerade Regenschauer und 6 Grad. Das heutige Maximun ist 6 und der Tiefstwert 3.
19:31:29.368 - gtts.tts - DEBUG - text: Es ist gerade Regenschauer und 6 Grad. Das heutige Maximun ist 6 und der Tiefstwert 3.
19:31:29.375 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): translate.google.com:80
19:31:29.375 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): translate.google.com:80
19:31:29.447 - urllib3.connectionpool - DEBUG - http://translate.google.com:80 "GET / HTTP/1.1" 302 226
19:31:29.447 - urllib3.connectionpool - DEBUG - http://translate.google.com:80 "GET / HTTP/1.1" 302 226
19:31:29.457 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): translate.google.com:443
19:31:29.457 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): translate.google.com:443
19:31:29.648 - urllib3.connectionpool - DEBUG - https://translate.google.com:443 "GET / HTTP/1.1" 200 None
19:31:29.648 - urllib3.connectionpool - DEBUG - https://translate.google.com:443 "GET / HTTP/1.1" 200 None
19:31:29.857 - gtts.tts - DEBUG - Unable to get language list: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/opt/venvs/mycroft-core/lib/python3.4/site-packages/gtts/lang.py", line 36, in tts_langs
langs.update(_fetch_langs())
File "/opt/venvs/mycroft-core/lib/python3.4/site-packages/gtts/lang.py", line 62, in _fetch_langs
js_path = soup.find(src=re.compile(JS_FILE))['src']
TypeError: 'NoneType' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/venvs/mycroft-core/lib/python3.4/site-packages/gtts/tts.py", line 117, in __init__
langs = tts_langs()
File "/opt/venvs/mycroft-core/lib/python3.4/site-packages/gtts/lang.py", line 41, in tts_langs
raise RuntimeError("Unable to get language list: %s" % str(e))
RuntimeError: Unable to get language list: 'NoneType' object is not subscriptable
19:31:29.857 - gtts.tts - DEBUG - Unable to get language list: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/opt/venvs/mycroft-core/lib/python3.4/site-packages/gtts/lang.py", line 36, in tts_langs
langs.update(_fetch_langs())
File "/opt/venvs/mycroft-core/lib/python3.4/site-packages/gtts/lang.py", line 62, in _fetch_langs
js_path = soup.find(src=re.compile(JS_FILE))['src']
TypeError: 'NoneType' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/venvs/mycroft-core/lib/python3.4/site-packages/gtts/tts.py", line 117, in __init__
langs = tts_langs()
File "/opt/venvs/mycroft-core/lib/python3.4/site-packages/gtts/lang.py", line 41, in tts_langs
raise RuntimeError("Unable to get language list: %s" % str(e))
RuntimeError: Unable to get language list: 'NoneType' object is not subscriptable
19:31:29.858 - gtts.tts - WARNING - Unable to get language list: 'NoneType' object is not subscriptable
19:31:29.858 - gtts.tts - WARNING - Unable to get language list: 'NoneType' object is not subscriptable
19:31:29.860 - gtts.tts - DEBUG - pre-processing: <function tone_marks at 0x75aa9cd8>
19:31:29.860 - gtts.tts - DEBUG - pre-processing: <function tone_marks at 0x75aa9cd8>
19:31:29.861 - gtts.tts - DEBUG - pre-processing: <function end_of_line at 0x75a26108>
19:31:29.861 - gtts.tts - DEBUG - pre-processing: <function end_of_line at 0x75a26108>
19:31:29.862 - gtts.tts - DEBUG - pre-processing: <function abbreviations at 0x75a26150>
19:31:29.862 - gtts.tts - DEBUG - pre-processing: <function abbreviations at 0x75a26150>
19:31:29.863 - gtts.tts - DEBUG - pre-processing: <function word_sub at 0x75a26198>
19:31:29.863 - gtts.tts - DEBUG - pre-processing: <function word_sub at 0x75a26198>
19:31:29.863 - gtts.tts - DEBUG - text_parts: 1
19:31:29.863 - gtts.tts - DEBUG - text_parts: 1
19:31:29.869 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): translate.google.com:443
19:31:29.869 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): translate.google.com:443
19:31:30.063 - urllib3.connectionpool - DEBUG - https://translate.google.com:443 "GET / HTTP/1.1" 200 None
19:31:30.063 - urllib3.connectionpool - DEBUG - https://translate.google.com:443 "GET / HTTP/1.1" 200 None
19:31:30.121 - gtts.tts - DEBUG - payload-0: {'textlen': 86, 'client': 'tw-ob', 'ttsspeed': 1, 'tk': '988152.624202', 'q': 'Es ist gerade Regenschauer und 6 Grad. Das heutige Maximun ist 6 und der Tiefstwert 3.', 'idx': 0, 'ie': 'UTF-8', 'total': 1, 'tl': 'de'}
19:31:30.121 - gtts.tts - DEBUG - payload-0: {'textlen': 86, 'client': 'tw-ob', 'ttsspeed': 1, 'tk': '988152.624202', 'q': 'Es ist gerade Regenschauer und 6 Grad. Das heutige Maximun ist 6 und der Tiefstwert 3.', 'idx': 0, 'ie': 'UTF-8', 'total': 1, 'tl': 'de'}
19:31:30.131 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): translate.google.com:443
19:31:30.131 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): translate.google.com:443
19:31:30.464 - urllib3.connectionpool - DEBUG - https://translate.google.com:443 "GET /translate_tts?textlen=86&client=tw-ob&ttsspeed=1&tk=988152.624202&q=Es+ist+gerade+Regenschauer+und+6+Grad.+Das+heutige+Maximun+ist+6+und+der+Tiefstwert+3.&idx=0&ie=UTF-8&total=1&tl=de HTTP/1.1" 200 30624
19:31:30.464 - urllib3.connectionpool - DEBUG - https://translate.google.com:443 "GET /translate_tts?textlen=86&client=tw-ob&ttsspeed=1&tk=988152.624202&q=Es+ist+gerade+Regenschauer+und+6+Grad.+Das+heutige+Maximun+ist+6+und+der+Tiefstwert+3.&idx=0&ie=UTF-8&total=1&tl=de HTTP/1.1" 200 30624
19:31:30.497 - gtts.tts - DEBUG - headers-0: {'Referer': 'http://translate.google.com/', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36', 'Accept': '*/*', 'Connection': 'keep-alive'}
19:31:30.497 - gtts.tts - DEBUG - headers-0: {'Referer': 'http://translate.google.com/', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36', 'Accept': '*/*', 'Connection': 'keep-alive'}
19:31:30.498 - gtts.tts - DEBUG - url-0: https://translate.google.com/translate_tts?textlen=86&client=tw-ob&ttsspeed=1&tk=988152.624202&q=Es+ist+gerade+Regenschauer+und+6+Grad.+Das+heutige+Maximun+ist+6+und+der+Tiefstwert+3.&idx=0&ie=UTF-8&total=1&tl=de
19:31:30.498 - gtts.tts - DEBUG - url-0: https://translate.google.com/translate_tts?textlen=86&client=tw-ob&ttsspeed=1&tk=988152.624202&q=Es+ist+gerade+Regenschauer+und+6+Grad.+Das+heutige+Maximun+ist+6+und+der+Tiefstwert+3.&idx=0&ie=UTF-8&total=1&tl=de
19:31:30.499 - gtts.tts - DEBUG - status-0: 200
19:31:30.499 - gtts.tts - DEBUG - status-0: 200
19:31:30.500 - gtts.tts - DEBUG - part-0 written to <_io.BufferedWriter name='/tmp/mycroft/cache/tts/e3b13207a90ba10e8402fa11eb72ad27.mp3'>
19:31:30.500 - gtts.tts - DEBUG - part-0 written to <_io.BufferedWriter name='/tmp/mycroft/cache/tts/e3b13207a90ba10e8402fa11eb72ad27.mp3'>
19:31:30.501 - gtts.tts - DEBUG - Saved to /tmp/mycroft/cache/tts/e3b13207a90ba10e8402fa11eb72ad27.mp3
19:31:30.501 - gtts.tts - DEBUG - Saved to /tmp/mycroft/cache/tts/e3b13207a90ba10e8402fa11eb72ad27.mp3
19:31:30.529 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443
19:31:30.529 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.20.1; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
Directory: /tmp/mycroft/cache/tts/
Playing MPEG stream 1 of 1: e3b13207a90ba10e8402fa11eb72ad27.mp3 ...
MPEG 2.0 layer III, 32 kbit/s, 24000 Hz mono
19:31:31.079 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/device/28679107-9c23-4db7-b038-2c086311d200/metric/timing HTTP/1.1" 200 357
19:31:31.079 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/device/28679107-9c23-4db7-b038-2c086311d200/metric/timing HTTP/1.1" 200 357
[0:07] Decoding of e3b13207a90ba10e8402fa11eb72ad27.mp3 finished.
19:31:38.261 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443
19:31:38.261 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443
19:31:38.332 - mycroft.audio.speech:mute_and_speak:122 - INFO - Speak: Heute wird ein Maximum von 6 und ein Minimum von 3 Grad vorhergesagt.
19:31:38.337 - mycroft.tts:execute:303 - DEBUG - TTS cache hit
19:31:38.359 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443
19:31:38.359 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.20.1; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
Directory: /tmp/mycroft/cache/tts/
Playing MPEG stream 1 of 1: 5e74964ce84f7bb0ce594fcc3c072c5f.mp3 ...
MPEG 2.0 layer III, 32 kbit/s, 24000 Hz mono
19:31:38.797 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/device/28679107-9c23-4db7-b038-2c086311d200/metric/timing HTTP/1.1" 200 242
19:31:38.797 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/device/28679107-9c23-4db7-b038-2c086311d200/metric/timing HTTP/1.1" 200 242
19:31:38.897 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/device/28679107-9c23-4db7-b038-2c086311d200/metric/timing HTTP/1.1" 200 342
19:31:38.897 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/device/28679107-9c23-4db7-b038-2c086311d200/metric/timing HTTP/1.1" 200 342
[0:06] Decoding of 5e74964ce84f7bb0ce594fcc3c072c5f.mp3 finished.
19:31:44.783 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443
19:31:44.783 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai:443
19:31:45.312 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/device/28679107-9c23-4db7-b038-2c086311d200/metric/timing HTTP/1.1" 200 242
19:31:45.312 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/device/28679107-9c23-4db7-b038-2c086311d200/metric/timing HTTP/1.1" 200 242
My configuration is:
"tts": {
"module": "google",
"google": {
"lang": "de"
}
},
"lang": "de-de",
"play_wav_cmdline": "aplay %1",
"play_mp3_cmdline": "mpg123 %1"