hassio-addons icon indicating copy to clipboard operation
hassio-addons copied to clipboard

vosk won't start in HA

Open KVinS opened this issue 6 months ago • 0 comments

Hello. I'm trying to run Vosk in HA, but I keep getting the same error:

[01:53:48] INFO: Service exited with code 2 (by signal 0)
usage: __main__.py [-h] [--uri URI] --data-dir DATA_DIR
                   [--download-dir DOWNLOAD_DIR] [--language LANGUAGE]
                   [--preload-language PRELOAD_LANGUAGE]
                   [--model-for-language language model]
                   [--casing-for-language language casing]
                   [--model-index MODEL_INDEX] [--sentences-dir SENTENCES_DIR]
                   [--database-dir DATABASE_DIR]
                   [--correct-sentences [CORRECT_SENTENCES]]
                   [--limit-sentences] [--allow-unknown] [--debug]
                   [--log-format LOG_FORMAT] [--version]
__main__.py: error: argument --correct-sentences: invalid float value: 'null'
[01:53:50] INFO: Service exited with code 2 (by signal 0)
usage: __main__.py [-h] [--uri URI] --data-dir DATA_DIR
                   [--download-dir DOWNLOAD_DIR] [--language LANGUAGE]
                   [--preload-language PRELOAD_LANGUAGE]
                   [--model-for-language language model]
                   [--casing-for-language language casing]
                   [--model-index MODEL_INDEX] [--sentences-dir SENTENCES_DIR]
                   [--database-dir DATABASE_DIR]
                   [--correct-sentences [CORRECT_SENTENCES]]
                   [--limit-sentences] [--allow-unknown] [--debug]
                   [--log-format LOG_FORMAT] [--version]
__main__.py: error: argument --correct-sentences: invalid float value: 'null'
[01:53:52] INFO: Service exited with code 2 (by signal 0)
usage: __main__.py [-h] [--uri URI] --data-dir DATA_DIR
                   [--download-dir DOWNLOAD_DIR] [--language LANGUAGE]
                   [--preload-language PRELOAD_LANGUAGE]
                   [--model-for-language language model]
                   [--casing-for-language language casing]
                   [--model-index MODEL_INDEX] [--sentences-dir SENTENCES_DIR]
                   [--database-dir DATABASE_DIR]
                   [--correct-sentences [CORRECT_SENTENCES]]
                   [--limit-sentences] [--allow-unknown] [--debug]
                   [--log-format LOG_FORMAT] [--version]
__main__.py: error: argument --correct-sentences: invalid float value: 'null'
[01:53:54] INFO: Service exited with code 2 (by signal 0)
usage: __main__.py [-h] [--uri URI] --data-dir DATA_DIR
                   [--download-dir DOWNLOAD_DIR] [--language LANGUAGE]
                   [--preload-language PRELOAD_LANGUAGE]
                   [--model-for-language language model]
                   [--casing-for-language language casing]
                   [--model-index MODEL_INDEX] [--sentences-dir SENTENCES_DIR]
                   [--database-dir DATABASE_DIR]
                   [--correct-sentences [CORRECT_SENTENCES]]
                   [--limit-sentences] [--allow-unknown] [--debug]
                   [--log-format LOG_FORMAT] [--version]
__main__.py: error: argument --correct-sentences: invalid float value: 'null'
[01:53:55] INFO: Service exited with code 2 (by signal 0)
usage: __main__.py [-h] [--uri URI] --data-dir DATA_DIR
                   [--download-dir DOWNLOAD_DIR] [--language LANGUAGE]
                   [--preload-language PRELOAD_LANGUAGE]
                   [--model-for-language language model]
                   [--casing-for-language language casing]
                   [--model-index MODEL_INDEX] [--sentences-dir SENTENCES_DIR]
                   [--database-dir DATABASE_DIR]
                   [--correct-sentences [CORRECT_SENTENCES]]
                   [--limit-sentences] [--allow-unknown] [--debug]
                   [--log-format LOG_FORMAT] [--version]
__main__.py: error: argument --correct-sentences: invalid float value: 'null'
[01:53:57] INFO: Service exited with code 2 (by signal 0)
usage: __main__.py [-h] [--uri URI] --data-dir DATA_DIR
                   [--download-dir DOWNLOAD_DIR] [--language LANGUAGE]
                   [--preload-language PRELOAD_LANGUAGE]
                   [--model-for-language language model]
                   [--casing-for-language language casing]
                   [--model-index MODEL_INDEX] [--sentences-dir SENTENCES_DIR]
                   [--database-dir DATABASE_DIR]
                   [--correct-sentences [CORRECT_SENTENCES]]
                   [--limit-sentences] [--allow-unknown] [--debug]
                   [--log-format LOG_FORMAT] [--version]
__main__.py: error: argument --correct-sentences: invalid float value: 'null'
[01:53:59] INFO: Service exited with code 2 (by signal 0)
usage: __main__.py [-h] [--uri URI] --data-dir DATA_DIR
                   [--download-dir DOWNLOAD_DIR] [--language LANGUAGE]
                   [--preload-language PRELOAD_LANGUAGE]
                   [--model-for-language language model]
                   [--casing-for-language language casing]
                   [--model-index MODEL_INDEX] [--sentences-dir SENTENCES_DIR]
                   [--database-dir DATABASE_DIR]
                   [--correct-sentences [CORRECT_SENTENCES]]
                   [--limit-sentences] [--allow-unknown] [--debug]
                   [--log-format LOG_FORMAT] [--version]
__main__.py: error: argument --correct-sentences: invalid float value: 'null'
[01:54:01] INFO: Service exited with code 2 (by signal 0)
usage: __main__.py [-h] [--uri URI] --data-dir DATA_DIR
                   [--download-dir DOWNLOAD_DIR] [--language LANGUAGE]
                   [--preload-language PRELOAD_LANGUAGE]
                   [--model-for-language language model]
                   [--casing-for-language language casing]
                   [--model-index MODEL_INDEX] [--sentences-dir SENTENCES_DIR]
                   [--database-dir DATABASE_DIR]
                   [--correct-sentences [CORRECT_SENTENCES]]
                   [--limit-sentences] [--allow-unknown] [--debug]
                   [--log-format LOG_FORMAT] [--version]
__main__.py: error: argument --correct-sentences: invalid float value: 'null'
[01:54:03] INFO: Service exited with code 2 (by signal 0)

What am I missing?

Lang - RU Core - 2024.8.1 Supervisor - 2024.08.0 Operating System - 12.4 On VMware (Intel 3965U, 4GB RAM)

KVinS avatar Aug 10 '24 23:08 KVinS