Skills not registering


#1

I have tried adding several skills from github to my picroft but none are working. They don’t seem to be registering at all on my device. I have tried both the msm command and the git command. The skills appear in my skills folder but don’t work. I have restarted my Picroft several times.
Do i need to do another step like adding something to the config file?


#2

Hello, can you check the mycroft-skills.log to see if you get any errors? I think on the picroft it should be in the /var/log directory. to check the log do tail -f mycroft-skills.log


#3

I don’t see any error messages
Unfortunately I’m not set up to copy and paste the log.


#4

Some skills just don’t work (like mycroft-bitcoinprice-skill) and some skills have dependencies that may need to be manually installed in order to get them to work.

I install skills from Git by using the “copy to clipboard” icon and then running from command prompt something like: git clone https://github.com/MycroftAI/mycroft-skills.git

I’ve posted some general notes on my initial experiences here: https://captainbodgit.blogspot.co.uk/2017/06/mycroft-open-source-alexa.html


#5

I don’t think it’s that the skills aren’t working. I have installed the CBC news and daily meditation. Neither are working. I added the bit into my config file like the instructions say for daily meditation but Mycroft is not understanding the keywords.

eg
Instruction: start my daily meditation.
Response: I couldn’t get a response for start my daily meditation. Maybe you meant meditation.

It seems like picroft doesn’t know what is in the skills folder.


#6

to answer Mn049

2017-07-13 13:09:44,066 - Skills - DEBUG - {“type”: “recognizer_loop:audio_output_end”, “data”: {}, “context”: null}
2017-07-13 13:16:35,586 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
2017-07-13 13:16:52,440 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device/068707e7-6425-4011-b26b-2e68df346866/setting HTTP/1.1” 200 2906
2017-07-13 13:16:52,474 - Skills - DEBUG - {“type”: “configuration.updated”, “data”: {“systemUnit”: “metric”, “uuid”: “148f505a-aee9-419d-b805-0e80c9f0d7a9”, “sttSettings”: [{“credential”: {“uuid”: “f49533b8-25cd-4df9-8f1f-568fc7ea9a3b”, “@type”: “token”, “createdAt”: 1499386435590, “updatedAt”: 1499386435590}, “uuid”: “3a480b56-23ec-42b9-a0be-63b9500490d1”, “updatedAt”: 1499387729787, “active”: false, “@type”: “wit”, “createdAt”: 1499386435589}, {“credential”: {“uuid”: “df5b328e-47ab-465e-85e3-82db35a518d4”, “@type”: “token”, “createdAt”: 1499386435677, “updatedAt”: 1499386435677}, “uuid”: “0c73c1a4-7c4f-41b4-97d2-a043b62f453f”, “updatedAt”: 1499387729924, “active”: false, “@type”: “google”, “createdAt”: 1499386435663}, {“credential”: {“uuid”: “bc4a2169-fb12-4c0b-b7e1-11fbec2b0d16”, “@type”: “token”, “createdAt”: 1499386435771, “updatedAt”: 1499386435771}, “uuid”: “bf5e08fc-ce8e-4751-88e7-ae251953ef8b”, “updatedAt”: 1499387729999, “active”: true, “@type”: “mycroft”, “createdAt”: 1499386435759}, {“credential”: {“uuid”: “263c367c-e34e-4cc7-b7dc-be7f3c41b20a”, “@type”: “token”, “createdAt”: 1499386435875, “updatedAt”: 1499386435875}, “uuid”: “1b8d8e72-0d41-4c29-ae4f-42289c007785”, “updatedAt”: 1499387730100, “active”: false, “@type”: “openstt”, “createdAt”: 1499386435861}, {“credential”: {“uuid”: “5cc87d80-81aa-44a7-beee-a0bc05d60eb4”, “@type”: “basic”, “createdAt”: 1499386435961, “updatedAt”: 1499386435961}, “uuid”: “9815e9ae-c3a8-4266-a101-f293540bfe30”, “updatedAt”: 1499387730213, “active”: false, “@type”: “ibm”, “createdAt”: 1499386435952}], “dateFormat”: “MDY”, “ttsSettings”: [{“active”: false, “uuid”: “3cfcc0f5-edc4-4f75-ac93-f2e9a19d8c11”, “@type”: “espeak”, “createdAt”: 1499386436051, “updatedAt”: 1499387730400}, {“active”: false, “uuid”: “12fb77cc-f1b7-4390-aa69-1cae5b953a6a”, “@type”: “fatts”, “createdAt”: 1499386436275, “updatedAt”: 1499387730471}, {“active”: false, “uuid”: “1a3c7983-b19f-4752-877e-cff36ebfdc02”, “@type”: “marytts”, “createdAt”: 1499386436314, “updatedAt”: 1499387730523}, {“active”: true, “uuid”: “d4dc8d47-76e5-4deb-a0df-33b27a976802”, “@type”: “mimic”, “createdAt”: 1499386436347, “updatedAt”: 1499387730597}, {“active”: false, “uuid”: “8fdcd270-63c9-4582-8460-91d45089192c”, “@type”: “google”, “createdAt”: 1499386436384, “updatedAt”: 1499387730685}], “timeFormat”: “half”, “listenerSetting”: {“uuid”: “7e06cda4-a212-4af5-96d3-83846c832ccd”, “multiplier”: 1.0, “channels”: 1, “wakeWord”: “hey mycroft”, “createdAt”: 1499386436452, “updatedAt”: 1499387730856, “threshold”: 1e-90, “phonemes”: “HH EY . M AY K R AO F T”, “sampleRate”: 16000, “energyRatio”: 1.5}, “user”: {“updatedAt”: 1499386435116, “socialAccounts”: [], “uuid”: “a1dc4576-076d-43db-98b6-6512d6813df0”, “createdAt”: 1499386435116, “unsubscriptionHistory”: []}, “updatedAt”: 1499387729620, “enclosureSetting”: {“uuid”: “6d0f23c0-6f1e-4eec-9437-3df5bf448f5f”, “rate”: 9600, “timeout”: 5.0, “updatedAt”: 1499387730981, “port”: “/dev/ttyAMA0”, “createdAt”: 1499386436486}, “createdAt”: 1499386435550, “skillsSetting”: {“directory”: “~/.mycroft/skills”, “stopThreshold”: 2.0, “uuid”: “afa0dad7-173e-41b9-bc60-ee80487b0366”, “createdAt”: 1499386436419, “updatedAt”: 1499387730771}}, “context”: null}
2017-07-13 13:26:52,483 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
2017-07-13 13:26:56,548 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device/068707e7-6425-4011-b26b-2e68df346866/setting HTTP/1.1” 200 2906
2017-07-13 13:26:56,583 - Skills - DEBUG - {“type”: “configuration.updated”, “data”: {“systemUnit”: “metric”, “uuid”: “148f505a-aee9-419d-b805-0e80c9f0d7a9”, “sttSettings”: [{“credential”: {“uuid”: “f49533b8-25cd-4df9-8f1f-568fc7ea9a3b”, “@type”: “token”, “createdAt”: 1499386435590, “updatedAt”: 1499386435590}, “uuid”: “3a480b56-23ec-42b9-a0be-63b9500490d1”, “updatedAt”: 1499387729787, “active”: false, “@type”: “wit”, “createdAt”: 1499386435589}, {“credential”: {“uuid”: “df5b328e-47ab-465e-85e3-82db35a518d4”, “@type”: “token”, “createdAt”: 1499386435677, “updatedAt”: 1499386435677}, “uuid”: “0c73c1a4-7c4f-41b4-97d2-a043b62f453f”, “updatedAt”: 1499387729924, “active”: false, “@type”: “google”, “createdAt”: 1499386435663}, {“credential”: {“uuid”: “bc4a2169-fb12-4c0b-b7e1-11fbec2b0d16”, “@type”: “token”, “createdAt”: 1499386435771, “updatedAt”: 1499386435771}, “uuid”: “bf5e08fc-ce8e-4751-88e7-ae251953ef8b”, “updatedAt”: 1499387729999, “active”: true, “@type”: “mycroft”, “createdAt”: 1499386435759}, {“credential”: {“uuid”: “263c367c-e34e-4cc7-b7dc-be7f3c41b20a”, “@type”: “token”, “createdAt”: 1499386435875, “updatedAt”: 1499386435875}, “uuid”: “1b8d8e72-0d41-4c29-ae4f-42289c007785”, “updatedAt”: 1499387730100, “active”: false, “@type”: “openstt”, “createdAt”: 1499386435861}, {“credential”: {“uuid”: “5cc87d80-81aa-44a7-beee-a0bc05d60eb4”, “@type”: “basic”, “createdAt”: 1499386435961, “updatedAt”: 1499386435961}, “uuid”: “9815e9ae-c3a8-4266-a101-f293540bfe30”, “updatedAt”: 1499387730213, “active”: false, “@type”: “ibm”, “createdAt”: 1499386435952}], “dateFormat”: “MDY”, “ttsSettings”: [{“active”: false, “uuid”: “3cfcc0f5-edc4-4f75-ac93-f2e9a19d8c11”, “@type”: “espeak”, “createdAt”: 1499386436051, “updatedAt”: 1499387730400}, {“active”: false, “uuid”: “12fb77cc-f1b7-4390-aa69-1cae5b953a6a”, “@type”: “fatts”, “createdAt”: 1499386436275, “updatedAt”: 1499387730471}, {“active”: false, “uuid”: “1a3c7983-b19f-4752-877e-cff36ebfdc02”, “@type”: “marytts”, “createdAt”: 1499386436314, “updatedAt”: 1499387730523}, {“active”: true, “uuid”: “d4dc8d47-76e5-4deb-a0df-33b27a976802”, “@type”: “mimic”, “createdAt”: 1499386436347, “updatedAt”: 1499387730597}, {“active”: false, “uuid”: “8fdcd270-63c9-4582-8460-91d45089192c”, “@type”: “google”, “createdAt”: 1499386436384, “updatedAt”: 1499387730685}], “timeFormat”: “half”, “listenerSetting”: {“uuid”: “7e06cda4-a212-4af5-96d3-83846c832ccd”, “multiplier”: 1.0, “channels”: 1, “wakeWord”: “hey mycroft”, “createdAt”: 1499386436452, “updatedAt”: 1499387730856, “threshold”: 1e-90, “phonemes”: “HH EY . M AY K R AO F T”, “sampleRate”: 16000, “energyRatio”: 1.5}, “user”: {“updatedAt”: 1499386435116, “socialAccounts”: [], “uuid”: “a1dc4576-076d-43db-98b6-6512d6813df0”, “createdAt”: 1499386435116, “unsubscriptionHistory”: []}, “updatedAt”: 1499387729620, “enclosureSetting”: {“uuid”: “6d0f23c0-6f1e-4eec-9437-3df5bf448f5f”, “rate”: 9600, “timeout”: 5.0, “updatedAt”: 1499387730981, “port”: “/dev/ttyAMA0”, “createdAt”: 1499386436486}, “createdAt”: 1499386435550, “skillsSetting”: {“directory”: “~/.mycroft/skills”, “stopThreshold”: 2.0, “uuid”: “afa0dad7-173e-41b9-bc60-ee80487b0366”, “createdAt”: 1499386436419, “updatedAt”: 1499387730771}}, “context”: null}
2017-07-13 13:36:56,574 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
2017-07-13 13:36:57,035 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device/068707e7-6425-4011-b26b-2e68df346866/setting HTTP/1.1” 200 2906
2017-07-13 13:36:57,081 - Skills - DEBUG - {“type”: “configuration.updated”, “data”: {“systemUnit”: “metric”, “uuid”: “148f505a-aee9-419d-b805-0e80c9f0d7a9”, “sttSettings”: [{“credential”: {“uuid”: “f49533b8-25cd-4df9-8f1f-568fc7ea9a3b”, “@type”: “token”, “createdAt”: 1499386435590, “updatedAt”: 1499386435590}, “uuid”: “3a480b56-23ec-42b9-a0be-63b9500490d1”, “updatedAt”: 1499387729787, “active”: false, “@type”: “wit”, “createdAt”: 1499386435589}, {“credential”: {“uuid”: “df5b328e-47ab-465e-85e3-82db35a518d4”, “@type”: “token”, “createdAt”: 1499386435677, “updatedAt”: 1499386435677}, “uuid”: “0c73c1a4-7c4f-41b4-97d2-a043b62f453f”, “updatedAt”: 1499387729924, “active”: false, “@type”: “google”, “createdAt”: 1499386435663}, {“credential”: {“uuid”: “bc4a2169-fb12-4c0b-b7e1-11fbec2b0d16”, “@type”: “token”, “createdAt”: 1499386435771, “updatedAt”: 1499386435771}, “uuid”: “bf5e08fc-ce8e-4751-88e7-ae251953ef8b”, “updatedAt”: 1499387729999, “active”: true, “@type”: “mycroft”, “createdAt”: 1499386435759}, {“credential”: {“uuid”: “263c367c-e34e-4cc7-b7dc-be7f3c41b20a”, “@type”: “token”, “createdAt”: 1499386435875, “updatedAt”: 1499386435875}, “uuid”: “1b8d8e72-0d41-4c29-ae4f-42289c007785”, “updatedAt”: 1499387730100, “active”: false, “@type”: “openstt”, “createdAt”: 1499386435861}, {“credential”: {“uuid”: “5cc87d80-81aa-44a7-beee-a0bc05d60eb4”, “@type”: “basic”, “createdAt”: 1499386435961, “updatedAt”: 1499386435961}, “uuid”: “9815e9ae-c3a8-4266-a101-f293540bfe30”, “updatedAt”: 1499387730213, “active”: false, “@type”: “ibm”, “createdAt”: 1499386435952}], “dateFormat”: “MDY”, “ttsSettings”: [{“active”: false, “uuid”: “3cfcc0f5-edc4-4f75-ac93-f2e9a19d8c11”, “@type”: “espeak”, “createdAt”: 1499386436051, “updatedAt”: 1499387730400}, {“active”: false, “uuid”: “12fb77cc-f1b7-4390-aa69-1cae5b953a6a”, “@type”: “fatts”, “createdAt”: 1499386436275, “updatedAt”: 1499387730471}, {“active”: false, “uuid”: “1a3c7983-b19f-4752-877e-cff36ebfdc02”, “@type”: “marytts”, “createdAt”: 1499386436314, “updatedAt”: 1499387730523}, {“active”: true, “uuid”: “d4dc8d47-76e5-4deb-a0df-33b27a976802”, “@type”: “mimic”, “createdAt”: 1499386436347, “updatedAt”: 1499387730597}, {“active”: false, “uuid”: “8fdcd270-63c9-4582-8460-91d45089192c”, “@type”: “google”, “createdAt”: 1499386436384, “updatedAt”: 1499387730685}], “timeFormat”: “half”, “listenerSetting”: {“uuid”: “7e06cda4-a212-4af5-96d3-83846c832ccd”, “multiplier”: 1.0, “channels”: 1, “wakeWord”: “hey mycroft”, “createdAt”: 1499386436452, “updatedAt”: 1499387730856, “threshold”: 1e-90, “phonemes”: “HH EY . M AY K R AO F T”, “sampleRate”: 16000, “energyRatio”: 1.5}, “user”: {“updatedAt”: 1499386435116, “socialAccounts”: [], “uuid”: “a1dc4576-076d-43db-98b6-6512d6813df0”, “createdAt”: 1499386435116, “unsubscriptionHistory”: []}, “updatedAt”: 1499387729620, “enclosureSetting”: {“uuid”: “6d0f23c0-6f1e-4eec-9437-3df5bf448f5f”, “rate”: 9600, “timeout”: 5.0, “updatedAt”: 1499387730981, “port”: “/dev/ttyAMA0”, “createdAt”: 1499386436486}, “createdAt”: 1499386435550, “skillsSetting”: {“directory”: “~/.mycroft/skills”, “stopThreshold”: 2.0, “uuid”: “afa0dad7-173e-41b9-bc60-ee80487b0366”, “createdAt”: 1499386436419, “updatedAt”: 1499387730771}}, “context”: null}


#7

This the last bit of your log. when using tail you only get the bottom part. can you try to

sudo service mycroft-skills restart - this will restart the skills service
cat mycroft-skills.log | grep "ERROR" - this will only display the errors inside that log.


#8

cat mycroft-skills.log | grep "ERROR"
2017-07-13 16:29:31,356 - mycroft.configuration - ERROR - Error loading configuration '/home/mycroft/.mycroft/mycroft.conf’
2017-07-13 16:29:31,356 - mycroft.configuration - ERROR - ValueError(‘Expecting , delimiter: line 9 column 3 (char 120)’,)
2017-07-13 16:29:32,502 - mycroft.messagebus.client.ws - ERROR - Exception(“Uncaught ‘error’ event.”,)
2017-07-13 16:29:40,086 - root - ERROR - global name ‘client’ is not defined
2017-07-13 16:31:11,714 - intent__init__ - ERROR -


#9

ok got rid of most of the errors but left with

2017-07-13 17:18:15,079 - root - ERROR - global name ‘client’ is not defined