Hi guys,
I am trying to set up a MyCroft client on my Arch Linux machine, and so far I am getting Mycroft to listen to my voice input, but MyCroft will not generate a code to authenticate to the home.mycroft.ai website (neither via speech nor in the logs). Which means I get no answers to queries because access is always denied. Mycroft speech does work though, because it’s telling me that it’s updated and ready, and I can hear the sound when it detects the wakeword.
How can I debug this? Is there a way to generate a key via the cli?
This is the output of the cli client:
2017-04-21 16:44:59,344 - mycroft.client.speech.mic - DEBUG - Recording...
2017-04-21 16:44:59,344 - SpeechClient - INFO - Begin Recording...
Wiedergabe: WAVE '/home/stefan/git/mycroft-core/mycroft/res/snd/start_listening.wav' : Signed 16 bit Little Endian, Rate: 44100 Hz, stereo
2017-04-21 16:45:01,688 - SpeechClient - INFO - End Recording...
2017-04-21 16:45:01,689 - mycroft.client.speech.mic - DEBUG - Thinking...
2017-04-21 16:45:01,690 - mycroft.session - INFO - New Session Start: 40f9fb4a-ad72-4ab4-9bab-417a47540cfd
2017-04-21 16:45:01,690 - SpeechClient - INFO - Wakeword Detected: hey mycroft
2017-04-21 16:45:01,703 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
2017-04-21 16:45:02,642 - mycroft.client.speech.mic - DEBUG - Waiting for wake word...
2017-04-21 16:45:02,721 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "POST /v1/stt?lang=en-US&limit=1 HTTP/1.1" 401 38
2017-04-21 16:45:02,727 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
2017-04-21 16:45:03,576 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "GET /v1/auth/token HTTP/1.1" 401 38
2017-04-21 16:45:03,580 - mycroft.client.speech.listener - WARNING - Access Denied at mycroft.ai
2017-04-21 16:45:03,580 - SpeechClient - INFO - Utterance: ['pair my device']
and this is the output of the mycroft-skills.log:
2017-04-21 16:44:59,345 - Skills - DEBUG - {"type": "recognizer_loop:record_begin", "data": {}, "context": null}
2017-04-21 16:45:01,691 - Skills - DEBUG - {"type": "recognizer_loop:record_end", "data": {}, "context": null}
2017-04-21 16:45:01,694 - Skills - DEBUG - {"type": "recognizer_loop:wakeword", "data": {"session": "40f9fb4a-ad72-4ab4-9bab-417a47540cfd", "utterance": "hey mycroft"}, "context": null}
2017-04-21 16:45:03,582 - Skills - DEBUG - {"type": "recognizer_loop:utterance", "data": {"lang": "en-US", "session": "40f9fb4a-ad72-4ab4-9bab-417a47540cfd", "utterances": ["pair my device"]}, "context": null}
2017-04-21 16:45:03,583 - mycroft.skills.intent_service - ERROR -
Traceback (most recent call last):
File "/home/stefan/git/mycroft-core/mycroft/skills/intent_service.py", line 54, in handle_utterance
normalize(utterance, lang), 100))
StopIteration
2017-04-21 16:45:03,584 - Skills - DEBUG - {"type": "intent_failure", "data": {"lang": "en-US", "utterance": "pair my device"}, "context": null}