Skip to content

Subprocess SnipsNLU went defunct #629

@oliverrahner

Description

@oliverrahner

I just set up a fresh alice environment. After starting, I noticed that the SnipsNLU service is constantly "crashing".

After investigating, I found that the snips-nlu binary is being called like this:

snips-nlu -a /home/pi/ProjectAlice/assistant --mqtt localhost:1883

This does not seem to be the right sytnax to call it? When trying it manually, I receive the following:

# snips-nlu -a /home/pi/ProjectAlice/assistant --mqtt localhost:1883
usage: python -m snips_nlu [-h] [-v] command [options ...] ...
python -m snips_nlu: error: argument command [options ...]: invalid choice: '/home/pi/ProjectAlice/assistant' (choose from 'generate-dataset', 'train', 'parse', 'download', 'download-all-languages', 'download-entity', 'download-language-entities', 'link', 'cross-val-metrics', 'train-test-metrics', 'version', 'model-version')

Am I missing something?

I am on stable and the unit has been set up using AliceCLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions