Addons: Snips 5 totally broken

Created on 13 Dec 2018  路  9Comments  路  Source: home-assistant/addons

Documentation is non up-to-date between exemple, parameters and real json accepted in addon.
Because if i try :

{
  "assistant": "jarvis.zip",
  "language": "fr",
  "custom_tts": {
    "active": false,
    "platform": "snips"
  }
}

or

{
  "assistant": "jarvis.zip",
  "language": "fr",
  "custom_tts": true,
  "tts_platform": "snips"
}

or

{
  "mqtt_bridge": {
    "active": true,
    "host": "192.168.1.24",
    "port": 1883,
    "user": "abc",
    "password": "123"
  },
  "assistant": "jarvis.zip",
  "language": "fr",
  "custom_tts": true,
  "tts_platform": "snips"
}

Nothing work.
The config i set is replaced each time by the default one.
And i got this error

[INFO] LANG: fr
[INFO] Checking for /share/snips.toml
[INFO] - Using default tts (picotts)
[ERROR] No Hass.io mqtt service found!
wontfix

Most helpful comment

I get the same error as adamotte with snips_nlu:
"Expected model version 0.16.0 but found 0.17.0"

All 9 comments

Ok well succeed to start the addon by setting "anonymous": true in mosquitto, but i dont like that...
And I still have the same error as with the version 4 :

2018-12-13 17:13:25,013 INFO spawned: 'snips-asr' with pid 97
2018-12-13 17:13:25,016 INFO spawned: 'snips-nlu' with pid 98
1544717605: New connection from 127.0.0.1 on port 1883.
1544717605: New client connected from 127.0.0.1 as b548b89bbdb845bf9fc212ad6661affa (c0, k10).
/usr/bin/snips-asr: symbol lookup error: /usr/bin/snips-asr: undefined symbol: nnet3model_create_dynamic
2018-12-13 17:13:25,042 INFO exited: snips-asr (exit status 127; not expected)
INFO:snips_nlu_hermes: loading model at path "/usr/share/snips/assistant/nlu_engine"
ERROR:snips_nlu       : Unable to read file '/usr/share/snips/assistant/nlu_engine/nlu_engine.json'
 -> caused by: Expected model version 0.16.0 but found 0.17.0

ERROR:rumqtt::client  : b548b89bbdb845bf9fc212ad6661affa Disconnected: (Error(SyncMpsc(Disconnected), State { next_error: None, backtrace: None }))
1544717605: Socket error on client b548b89bbdb845bf9fc212ad6661affa, disconnecting.
2018-12-13 17:13:25,052 INFO exited: snips-nlu (exit status 1; not expected)

I have another problem with the new Snips version:
1544804839: Socket error on client snips-asr|111-core-snips-1, disconnecting. 1544804839: Socket error on client snips-asr|111-core-snips-3, disconnecting.

The problem is also mentioned here: https://community.home-assistant.io/t/who-has-got-snips-working-on-hassio/25449/143

I get the same error as adamotte with snips_nlu:
"Expected model version 0.16.0 but found 0.17.0"

Same issue with snips addon 5.0 on Raspberry 3B+ with hassio 141 beta channel, HA 0.84. Any idea?

1544871729: New client connected from 127.0.0.1 as d6c90f652fb94c90a142b3f6022ea6c1 (c0, k10). INFO:snips_nlu_hermes: loading model at path "/usr/share/snips/assistant/nlu_engine" /usr/bin/snips-asr: symbol lookup error: /usr/bin/snips-asr: undefined symbol: nnet3model_create_dynamic 2018-12-15 12:02:09,974 INFO exited: snips-asr (exit status 127; not expected) ERROR:snips_nlu : Unable to read file '/usr/share/snips/assistant/nlu_engine/nlu_engine.json' -> caused by: Expected model version 0.16.0 but found 0.17.0 2018-12-15 12:02:10,004 INFO gave up: snips-asr entered FATAL state, too many start retries too quickly 1544871730: Socket error on client d6c90f652fb94c90a142b3f6022ea6c1, disconnecting. 2018-12-15 12:02:10,008 INFO exited: snips-nlu (exit status 1; not expected) 2018-12-15 12:02:11,012 INFO gave up: snips-nlu entered FATAL state, too many start retries too quickly

Sorry all, it looks like Snips never updated that package. There should be a new version soon, but if you want you can try using the "beta" from my repository. I am now having to build the image from scratch so any testing would be great. Add this to your add-on store https://github.com/tschmidty69/hassio-snips

Sorry all, it looks like Snips never updated that package. There should be a new version soon, but if you want you can try using the "beta" from my repository. I am now having to build the image from scratch so any testing would be great. Add this to your add-on store https://github.com/tschmidty69/hassio-snips

I've installed this version and am no longer having the issues described above.

:+1: working fine for me as well with recent changes

Works for me, too. Thank you :-)

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ThomasThomsen01 picture ThomasThomsen01  路  5Comments

willidh74 picture willidh74  路  6Comments

escoand picture escoand  路  9Comments

lordfiSh picture lordfiSh  路  11Comments

colindunn picture colindunn  路  9Comments