Hi,
My Mark 1 went deaf recently so I rebooted and now it is endlessly updating. Anyone else got this problem? Anyone know the least drastic solution?
Martin
Hi,
My Mark 1 went deaf recently so I rebooted and now it is endlessly updating. Anyone else got this problem? Anyone know the least drastic solution?
Martin
Hey there @CaptainFuzzyFace sorry to hear your Mark 1 is in difficulty.
Can you please give me some info on whatās happening such as;
This will help me identify the best way forward.
Kind regards,
Kathy
Hi,
The poor little thing is sitting there with spinning white eyes and the word āupdatingā¦ā scrolling across his face. I donāt think that he reboots at all. Poor thing.
Martin
Thanks for that info, @CaptainFuzzyFace.
Mycroft appears to be stuck in a reboot loop. Iāve found the only option here is to do a few hard reboots - ie take the power connector out of the Device, wait 10 seconds, then plug it back in.
Can you try a few hard reboots for me and see how you go?
Hi,
Iād already tried two, but will try a few more when I get home again. Will reply here again, probably Monday.
Thanks,
Martin
No worries, are you comfortable SSHāing in to the Device? I have a couple other tricks but it means SSHāing into the Device.
Hi,
Yes, done that several times. Can try those once Iām back. I canāt see it remotely.
Regards,
Martin
Great stuff.
SSH
and ensure it is set to enabled
Hey Mycroft, what's your IP address
ssh pi@your-ip-address
, password mycroft
sudo apt-get update && apt-get upgrade
Hi,
Thanks. Obviously the first part was you testing me. Heās gone deaf, so that wonāt work. As Iāve sshād into him before, thatās not a problem.
Guess that I should have remembered that this should have been tried as Iāve had to do it before. Anywayā¦
The update and upgrade have run. Spotify was added and that was asking for user input so maybe that was why he was permanently updating. However, he is now sitting happily with his blue eyes (they were yellow for a while) , however he is still deaf.
Iāve run the CLI and he responds to typed commands OK. Iām happy to send sections of the skills log, but canāt attach them to this unfortunately. Let me know what sort of filter youād like applied. Thanks.
Thanks @CaptainFuzzyFace, great notes. Great to hear that thereās at least some progress. So, we know that heās generally OK, but is not responding to sound.
Letās try restarting the audio service:
pi@mark_1:~ $ sudo service mycroft-audio stop
pi@mark_1:~ $ sudo service mycroft-audio start
Can you do a Pastebin or similar grep
'd for error
or audio
or microphone
?
Thanks too for offering to help debug - really appreciate it.
Best, Kathy
That log was super helpful, thanks @CaptainFuzzyFace.
08:37:21.692 - mycroft.skills.core:load_skill:143 - ERROR - Failed to load skill: mycroft-speedtest
AttributeError: 'NoneType' object has no attribute 'get'
08:41:55.106 - SKILLS - DEBUG - {"type": "recognizer_loop:audio_output_start", "data": {}, "context": null}
08:41:57.290 - SKILLS - DEBUG - {"type": "recognizer_loop:audio_output_end", "data": {}, "context": null}
09:37:50.876 - mycroft.skills.main:download_skills:332 - ERROR - msm failed with error 20: === Checking for default skills
Searching for for 'mycroft-audio-record'...exists
error: cannot open .git/FETCH_HEAD: Permission denied
Checked /opt/mycroft/skills/skill-audio-record.
msm: error 20
^^ this error means that itās trying to install the skill mycroft-audio-record
and cannot because itās already installed. That is what msm: error 20
means.
Can you please try msm update mycroft-audio-record
?
Best, Kathy
Hi,
Tried that but got permission errors. Tried it with sudo and that seemed to work.
Tried talking to Mycroft without response. Stopped and restarted the audio service but no response.
Shutdown and restarted Mycroft. Still no response. Eyes were yellow for a while but are now blue.
Sorry for the frustration, I totally understand how annoying it is.
Have you tried uninstalling mycroft-audio-record
, just in case?
Iām cool.
I am just following instructions. I know how frustrating it can be when you are trying to help someone and they start doing things that you havenāt suggested, especially when they donāt tell you they have done it.
Soā¦
Searching for for āmycroft-audio-recordāā¦exists
msm: error 20
So Iām guessing that it wonāt uninstall properly.
Right letās blow that Skill away.
sudo rm -R /opt/mycroft/skills/mycroft-audio-record
Then try installing it with msm
msm install mycroft-audio-record
Letās see if that does the trick.
Really appreciate your patience.
Hereās a fun oneā¦
pi@mark_1:~ $ sudo rm -R /opt/mycroft/skills/mycroft-audio-record
rm: cannot remove ā/opt/mycroft/skills/mycroft-audio-recordā: No such file or directory
So, for the record.
pi@mark_1:~ $ ls -l /opt/mycroft/skills
total 148
drwxr-xr-x 4 mycroft mycroft 4096 Apr 4 10:20 fallback-aiml
drwxr-xr-x 3 mycroft mycroft 4096 Apr 4 10:20 fallback-duckduckgo
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 fallback-unknown
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 fallback-wolfram-alpha
drwxr-xr-x 7 pi pi 4096 Nov 7 16:00 GoogleCalendar-Skill
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 mycroft-mark-1
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 mycroft-speedtest
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 mycroft-timer
drwxr-xr-x 5 mycroft mycroft 4096 Apr 10 08:32 pianobar-skill
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-alarm
drwxr-xr-x 6 mycroft mycroft 4096 Apr 10 13:10 skill-audio-record
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-configuration
drwxr-xr-x 7 mycroft mycroft 4096 Apr 4 10:20 skill-date-time
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-desktop-launcher
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-hello-world
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 skill-installer
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-ip
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 skill-joke
drwxr-xr-x 3 mycroft mycroft 4096 Apr 4 10:20 skill-mark1-demo
drwxr-xr-x 4 mycroft mycroft 4096 Sep 27 2017 skill-media
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-naptime
drwxr-xr-x 6 mycroft mycroft 4096 Apr 10 12:16 skill-npr-news
drwxr-xr-x 6 mycroft mycroft 4096 Apr 10 08:28 skill-pairing
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-personal
drwxr-xr-x 4 mycroft mycroft 4096 Apr 4 10:20 skill-playback-control
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-reminder
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 skill-singing
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-speak
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-spelling
drwxr-xr-x 7 mycroft mycroft 4096 Apr 4 10:20 skill-stock
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 skill-stop
drwxr-xr-x 5 mycroft mycroft 4096 Apr 10 08:32 skill-support
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 skill-version-checker
drwxr-xr-x 7 mycroft mycroft 4096 Apr 4 10:20 skill-volume
drwxr-xr-x 7 mycroft mycroft 4096 Apr 4 10:20 skill-weather
drwxr-xr-x 7 mycroft mycroft 4096 Apr 4 10:20 skill-wiki
drwxr-xr-x 6 mycroft mycroft 4096 Apr 10 10:57 spotify-skill
Do you want me to try anything else before I retry the install? Not tried it as effectively nothing has changed since I last tried and failed.
Not yet, Iām going to get my colleague @forslund to take a look here, Iām at the end of what I know how to do, and I donāt want to stuff it up even more for you
Thanks.
Iām multi-tasking, so no problem.
If your debug tools and FAQ improves because of this then we all win.
Exactly, appreciate you being so understanding. Tricky thing is, I havenāt seen this sort of error before, but Ake @Forslund may have.