Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backwards compat check wasnt quite right in #140 ``` Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: 2024-10-19 08:04:47.463 - voice - ovos_dinkum_listener.service:_stt_audio:747 - ERROR - Error while saving STT audio Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: Traceback (most recent call last): Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: File "/home/goldyfruit/.venvs/ovos/lib64/python3.11/site-packages/ovos_dinkum_listener/service.py", line 742, in _stt_audio Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: stt_context["filename"] = self._save_stt(audio_bytes, stt_context) Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: File "/home/goldyfruit/.venvs/ovos/lib64/python3.11/site-packages/ovos_dinkum_listener/service.py", line 707, in _save_stt Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: filename = formatter.format(utterance_filename) Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: File "/home/goldyfruit/.venvs/ovos/lib64/python3.11/site-packages/ovos_dinkum_listener/_util.py", line 107, in format Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: fmtkw = self._build_fmtkw(template, **kwargs) Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: File "/home/goldyfruit/.venvs/ovos/lib64/python3.11/site-packages/ovos_dinkum_listener/_util.py", line 91, in _build_fmtkw Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: fmtkw[key] = builder() Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: ^^^^^^^^^ Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: File "/home/goldyfruit/.venvs/ovos/lib64/python3.11/site-packages/ovos_dinkum_listener/service.py", line 705, in transcription_md5 Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: return hash_sentence(text) Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: ^^^^^^^^^^^^^^^^^^^ Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: File "/home/goldyfruit/.venvs/ovos/lib64/python3.11/site-packages/ovos_plugin_manager/utils/tts_cache.py", line 20, in hash_sentence Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: encoded_sentence = sentence.encode("utf-8", "ignore") Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: ^^^^^^^^^^^^^^^ Oct 19 08:04:47 x270.home.lan ovos-dinkum-listener[152114]: AttributeError: 'NoneType' object has no attribute 'encode' ``` also needs OpenVoiceOS/ovos-config#171
- Loading branch information