Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vosk won't start in HA #62

Open
KVinS opened this issue Aug 10, 2024 · 0 comments
Open

vosk won't start in HA #62

KVinS opened this issue Aug 10, 2024 · 0 comments
Assignees

Comments

@KVinS
Copy link

KVinS commented Aug 10, 2024

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)

@synesthesiam synesthesiam self-assigned this Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants