[SOLVED] Existing skills from Linux VM to picroft

Sorry if this has been asked before - I cant find anything.
I have had a Mycroft system(s) working fine (ish) on a Linux VM , and today I set up a Pi with PIcroft.
I assumed that once I paired it with my account that it would synchronise those installed skills to the new pi, but that does not seem to be the case…
:skills shows only the BASIC skills

Anyway - If I ask picroft to “Install con-flip” for example, it says that it cannot find a skill called coin flip , which is obviously not right.

I have tried adding a (random) skill using the “automatic install” from the skill page too, but it never was installed.

I have stopped & started services , rebooted and “sudo msm update” but still no good…

Any ideas?

I seems it is pretty much impossible for me to add skills to PiCroft :frowning:

Don’t use sudo with msm. This will cause you problems.

Hmmm… the issue there is if I don’t , I see “permission refused” errors…

So, I think there are a few different things going on here.

Voice installation issues

Since early May, the 18.02 branch of mycroft-skills has been the default branch in the repo. The voice installation process only looks at the default branch. The coin-flip Skill has not yet been submitted to the 18.02 branch - so it is not available for voice installation.

msm

Skills can still be installed manually using msm if they are not in the 18.02 branch.

pi@mark_1:~/skills $ msm install github-repo-here

You shouldn’t have to use sudo to use msm.

If you’re able to provide a directory listing ls -las of your /opt/mycroft/skills directory then I can check permissions.

Best, Kathy

I worked out the use of msm, which of course didn’t exist in the Linux VM :wink:
Now i can attempt to load skill (and Coin-flip does work now - how else could I make any decisions!) but still can’t get some working

As for permissions, weirdly I can install using “msm install blah” bust tin remove a skill I have to use “sudo msm remove blah” I do suspect I have been making a meal out of the file system, but I can always re-image back to basics if i need to, I guess!
Here is the directory

pi@picroft:~ $ ls -las /opt/mycroft/skills
total 156
4 drwxrwxrwx 39 mycroft mycroft 4096 Jun 18 09:07 .
4 drwxr-xr-x 5 mycroft mycroft 4096 Jun 17 11:41 …
4 drwxr-xr-x 8 mycroft mycroft 4096 Jun 17 19:40 coin-flip-skill.wligtenberg
4 drwxr-xr-x 8 mycroft mycroft 4096 Jun 17 11:07 fallback-aiml
4 drwxr-xr-x 4 mycroft mycroft 4096 Jun 17 11:07 fallback-duckduckgo
4 drwxr-xr-x 6 mycroft mycroft 4096 Jun 17 11:07 fallback-unknown
4 drwxr-xr-x 8 mycroft mycroft 4096 Jun 17 11:07 fallback-wolfram-alpha
0 -rw-r–r-- 1 mycroft mycroft 0 Jun 18 13:16 .msm
4 drwxr-xr-x 8 mycroft mycroft 4096 Jun 18 07:03 mycroft-music-skill
4 drwxr-xr-x 6 mycroft mycroft 4096 Jun 17 11:06 mycroft-timer
4 drwxr-xr-x 6 mycroft mycroft 4096 Jun 18 08:24 mycroft-youtube
4 drwxr-xr-x 6 mycroft mycroft 4096 Jun 17 17:55 mycroft-youtube.augustnmonteiro
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:07 skill-alarm
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:07 skill-audio-record
4 drwxr-xr-x 6 mycroft mycroft 4096 Jun 17 18:00 skill-better-jokes.tjoen
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:06 skill-configuration
4 drwxr-xr-x 8 mycroft mycroft 4096 Jun 17 11:06 skill-date-time
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:07 skill-desktop-launcher
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:06 skill-hello-world
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:06 skill-installer
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:07 skill-ip
4 drwxr-xr-x 6 mycroft mycroft 4096 Jun 17 11:07 skill-joke
4 drwxr-xr-x 4 mycroft mycroft 4096 Jun 17 11:07 skill-mark1-demo
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:07 skill-naptime
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:07 skill-npr-news
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:01 skill-pairing
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:07 skill-personal
4 drwxr-xr-x 6 mycroft mycroft 4096 Jun 17 11:07 skill-playback-control
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:07 skill-reminder
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:07 skill-singing
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:06 skill-speak
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:07 skill-spelling
4 drwxr-xr-x 8 mycroft mycroft 4096 Jun 17 11:07 skill-stock
4 drwxr-xr-x 6 mycroft mycroft 4096 Jun 17 11:07 skill-stop
4 drwxr-xr-x 5 mycroft mycroft 4096 Jun 18 09:07 skill-subsonic-media
4 drwxr-xr-x 7 mycroft mycroft 4096 Jun 17 11:07 skill-support
4 drwxr-xr-x 6 mycroft mycroft 4096 Jun 17 11:07 skill-version-checker
4 drwxr-xr-x 8 mycroft mycroft 4096 Jun 17 11:01 skill-volume
4 drwxr-xr-x 8 mycroft mycroft 4096 Jun 17 11:07 skill-weather
4 drwxr-xr-x 8 mycroft mycroft 4096 Jun 17 11:07 skill-wiki

OK, those permissions look OK - I suspect what has happened here is that sudo may have been used with msm.

What’s happening with the coin-flip Skill - is it giving an error?

Best, Kathy

Coin-flip is working fine now, as is “better jokes”
I have proven that some skills are working now, so I am a fair bit further down the track
As in my other thread Subsonic ( and youtube) are not working, but I think I we have finished with this thread now :slight_smile:
Thanks

1 Like

You’re very welcome, glad we could help - even if it was only a little :wink: