Closed klundry closed 5 years ago
That sounds wrong - does the skill install and load ? what is in the log regarding loading ?
I'm not sure. Which log should I be looking at? The main mycroft log?
It looks like the skill is not loading.
04:53:53.307 - mycroft.skills.core:load_skill:117 - INFO - ATTEMPTING TO LOAD SKILL: picroft-google-aiy-voicekit.andlo with ID picroft-google-aiy-voicekit.andlo 04:53:53.326 - mycroft.skills.core:load_skill:159 - ERROR - Failed to load skill: picroft-google-aiy-voicekit.andlo Traceback (most recent call last): File "/home/pi/mycroft-core/mycroft/skills/core.py", line 130, in load_skill skill = skill_module.create_skill() File "/opt/mycroft/skills/picroft-google-aiy-voicekit.andlo/__init__.py", line 56, in create_skill return PicroftGoogleAiyVoicehat() NameError: name 'PicroftGoogleAiyVoicehat' is not defined 04:53:53.332 - SKILLS - DEBUG - {"context": null, "data": {"id": "picroft-google-aiy-voicekit.andlo", "path": "/opt/mycroft/skills/picroft-google-aiy-voicekit.andlo"}, "type": "mycroft.skills.loading_failure"}
Also, adding the mycroft user to the gpio group fails because there is no mycroft user on the system. Only user pi.
Same identical issue here. I added the pi user to the gpio group - but the log returns the same error as @klundry
Hmmm dont know. I will make a new picroft install soon, and then Ill test and see what is gooing on.
It looks like there is an update of the stuff form google, and that could wery well be the problems... On an running pi with working AIY i just did an apt-get update and apt-get upgrade, and it pulled lots of updates from google. and failed on one of them Errors were encountered while processing: aiy-python-wheels
After a reboot everything still works, but maybe on a fresh install it wouldnt ?
That we must lookinto - as I said, I will flash a rpi soon and try new install.
OK now after I did try installing on fresh flash of Picroft I experianced why you didnt get the latest version fo the skill…..
mycroft-msm do install the skill, but not the latest version, but the version that were commitet to the store. So to get around that you need to do git clone instead. Make sure to remove the bad one first. Like this
mycroft-msm remove picroft-google-aiy-voicekit-skill
cd /opt/mycroft/skills
git clone https://github.com/andlo/picroft-google-aiy-voicekit-skill.git
Then it should install the latest version and it should work out of the box.
Confirmed, it works. Thank you!
After working through the issues with installing the skill and getting it to work I can trigger mycroft with voice and get a reply through the speaker. The button does not every light up and pushing it does nothing.