However, this seems to fail:
2020-11-17 21:25:26.828 | DEBUG | 1902 | urllib3.connectionpool | Starting new HTTPS connection (1): api.mycroft.ai:443
2020-11-17 21:25:27.715 | DEBUG | 1902 | urllib3.connectionpool | https://api.mycroft.ai:443 "GET /v1/device/<UUID>/subscription HTTP/1.1" 200 17
2020-11-17 21:25:27.723 | ERROR | 1902 | mycroft.tts.tts:create:529 | The TTS could not be loaded.
Traceback (most recent call last):
File "/mnt/dietpi_userdata/mycroft-core/mycroft/tts/mimic_tts.py", line 187, in validate_connection
subprocess.call([BIN, '--version'])
File "/usr/lib/python3.7/subprocess.py", line 323, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1436, in _execute_child
executable = os.fsencode(executable)
File "/usr/lib/python3.7/os.py", line 809, in fsencode
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not NoneType
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/dietpi_userdata/mycroft-core/mycroft/tts/tts.py", line 519, in create
tts.validator.validate()
File "/mnt/dietpi_userdata/mycroft-core/mycroft/tts/tts.py", line 435, in validate
self.validate_connection()
File "/mnt/dietpi_userdata/mycroft-core/mycroft/tts/mimic_tts.py", line 189, in validate_connection
LOG.info("Failed to find mimic at: " + BIN)
TypeError: can only concatenate str (not "NoneType") to str
2020-11-17 21:25:27.725 | ERROR | 1902 | mycroft.audio.speech:handle_speak:99 | Error in mute_and_speak
Traceback (most recent call last):
File "/mnt/dietpi_userdata/mycroft-core/mycroft/tts/mimic_tts.py", line 187, in validate_connection
subprocess.call([BIN, '--version'])
File "/usr/lib/python3.7/subprocess.py", line 323, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1436, in _execute_child
executable = os.fsencode(executable)
File "/usr/lib/python3.7/os.py", line 809, in fsencode
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not NoneType
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/dietpi_userdata/mycroft-core/mycroft/audio/speech.py", line 95, in handle_speak
mute_and_speak(chunk, ident, listen)
File "/mnt/dietpi_userdata/mycroft-core/mycroft/audio/speech.py", line 123, in mute_and_speak
tts = TTSFactory.create()
File "/mnt/dietpi_userdata/mycroft-core/mycroft/tts/tts.py", line 519, in create
tts.validator.validate()
File "/mnt/dietpi_userdata/mycroft-core/mycroft/tts/tts.py", line 435, in validate
self.validate_connection()
File "/mnt/dietpi_userdata/mycroft-core/mycroft/tts/mimic_tts.py", line 189, in validate_connection
LOG.info("Failed to find mimic at: " + BIN)
TypeError: can only concatenate str (not "NoneType") to str
This is btw not a single instance but I tested it on three different VMs (different Debian versions) and a notebook, so it must be an issue with our implementation, however I cannot find an issue (tanking into account that with all other voices it works fine) and the error messages doesn’t tell me much as I am no good Python programmer .