Closed TobiBu closed 4 years ago
There is a lot going on in the log. It's hard to see which addon is failing. Can you please deactivate the other addons so we can see the actual error.
Ok, I think you meant this one:
2020-05-02 18:32:17.118 INFO : voice-addon: ERROR: python2: can't open file 'script_recording.py': [Errno 2] No such file or directory
This would be the voice-addon. Unfortunately, I'm not familiar with this addon. The best thing would be to open an issue at https://github.com/andrenatal/voice-addon.
It looks a bit like the snips dependency is missing. Where did you install the addon?
Hi,
yes, sorry, I mean that one. I installed the add-on directly on the pi.
@TobiBu As @tim-hellhake said, please open an issue against the voice-addon.
@mrstegeman Thanks for the quick response. I opened an issue in the voice-addon
Hi,
I tried installing the voice controller but it seems to not be working. The internal logs give this error:
2020-05-02 18:30:42.538 INFO : Successfully created new thing Snips 2020-05-02 18:30:42.557 INFO : date-time-adapter: AddonManagerProxy: recv: {'messageType': 8207, 'data': {'deviceId': 'voice-controller', 'device': {'title': 'Snips', '@context': 'https://iot.mozilla.org/schemas', '@type': ['OnOffSwitch'], 'description': 'Voice Controller', 'href': '/things/voice-controller', 'properties': {'on': {'title': 'On/Off', 'type': 'boolean', '@type': 'OnOffProperty', 'links': [{'rel': 'property', 'href': '/things/voice-controller/properties/on'}]}}, 'actions': {}, 'events': {'wakeword': {'description': 'A wakeword was deteced', 'type': 'string', 'links': [{'rel': 'event', 'href': '/things/voice-controller/events/wakeword'}]}, 'speechinput': {'description': 'A voice command was detected', 'type': 'string', 'links': [{'rel': 'event', 'href': '/things/voice-controller/events/speechinput'}]}, 'command': {'description': 'A web thing command was executed', 'type': 'string', 'links': [{'rel': 'event', 'href': '/things/voice-controller/events/command'}]}, 'training': {'description': 'Wakeword training started', 'type': 'string', 'links': [{'rel': 'event', 'href': '/things/voice-controller/events/training'}]}}, 'links': [{'rel': 'properties', 'href': '/things/voice-controller/properties'}, {'rel': 'actions', 'href': '/things/voice-controller/actions'}, {'rel': 'events', 'href': '/things/voice-controller/events'}, {'rel': 'alternate', 'mediaType': 'text/html', 'href': '/things/voice-controller'}], 'layoutIndex': 5, 'selectedCapability': 'OnOffSwitch', 'iconHref': None}, 'adapterId': 'date-time-adapter', 'pluginId': 'date-time-adapter'}} 2020-05-02 18:30:42.570 INFO : date-time-adapter: AddonManagerProxy: recv: {'messageType': 8207, 'data': {'deviceId': 'voice-controller', 'device': {'title': 'Snips', '@context': 'https://iot.mozilla.org/schemas', '@type': ['OnOffSwitch'], 'description': 'Voice Controller', 'href': '/things/voice-controller', 'properties': {'on': {'title': 'On/Off', 'type': 'boolean', '@type': 'OnOffProperty', 'links': [{'rel': 'property', 'href': '/things/voice-controller/properties/on'}]}}, 'actions': {}, 'events': {'wakeword': {'description': 'A wakeword was deteced', 'type': 'string', 'links': [{'rel': 'event', 'href': '/things/voice-controller/events/wakeword'}]}, 'speechinput': {'description': 'A voice command was detected', 'type': 'string', 'links': [{'rel': 'event', 'href': '/things/voice-controller/events/speechinput'}]}, 'command': {'description': 'A web thing command was executed', 'type': 'string', 'links': [{'rel': 'event', 'href': '/things/voice-controller/events/command'}]}, 'training': {'description': 'Wakeword training started', 'type': 'string', 'links': [{'rel': 'event', 'href': '/things/voice-controller/events/training'}]}}, 'links': [{'rel': 'properties', 'href': '/things/voice-controller/properties'}, {'rel': 'actions', 'href': '/things/voice-controller/actions'}, {'rel': 'events', 'href': '/things/voice-controller/events'}, {'rel': 'alternate', 'mediaType': 'text/html', 'href': '/things/voice-controller'}], 'layoutIndex': 5, 'selectedCapability': 'OnOffSwitch', 'iconHref': None}, 'adapterId': 'date-time-adapter', 'pluginId': 'date-time-adapter'}} 2020-05-02 18:30:43.277 INFO : weather-adapter: Adapter: WeatherAdapter id weather-adapter pairing cancelled 2020-05-02 18:30:43.278 INFO : thing-url-adapter: Adapter: ThingURLAdapter id thing-url-adapter pairing cancelled 2020-05-02 18:30:43.279 INFO : zigbee-adapter: Cancelling pairing mode 2020-05-02 18:30:43.284 INFO : voice-addon: VoiceAdapter: VoiceAdapter id VoiceAdapter pairing cancelled 2020-05-02 18:30:43.285 INFO : spotify-adapter: Adapter: SpotifyAdapter id SpotifyAdapter pairing cancelled 2020-05-02 18:30:43.287 INFO : internet-radio: Adapter: InternetRadioAdapter id internet-radio pairing cancelled 2020-05-02 18:30:43.293 INFO : date-time-adapter: AddonManagerProxy: recv: {'messageType': 4100, 'data': {'adapterId': 'date-time-adapter', 'pluginId': 'date-time-adapter'}} 2020-05-02 18:30:43.294 INFO : date-time-adapter: date_adapter.py:51 INFO cancel_pairing 2020-05-02 18:30:43.788 INFO : voice-addon: different set of things. retrain: 2020-05-02 18:32:17.075 INFO : voice-addon: spawn training 2020-05-02 18:32:17.098 INFO : voice-addon: setCachedValueAndNotify for property on from false to true for voice-controller 2020-05-02 18:32:17.118 INFO : voice-addon: ERROR: python2: can't open file 'script_recording.py': [Errno 2] No such file or directory 2020-05-02 18:32:17.119 INFO : voice-addon: 2020-05-02 18:32:17.121 INFO : voice-addon: process exit code 2
any clues how to solve this issue? cheers Tobias