Weirdness from a brand new install of PiCroft - installing coin-flip

OK, a couple of things that I can see here;

I know that Regina from Neon is working on updating that Skill for Python 3, so it might just be a little while.

That explains the errors on that one.

It also looks to me like you’re using the old version of msm - because the error codes you’re getting are for the old version of msm. The current version throws Python errors, not custom error codes.

@forslund - should this be the case? Should Picroft update to the new msm on reboot? Sorry, I should know.

Hi,
The quote below is a little disappointing

Because in another thread @forslund said

"An easy mistake to make :wink:

The developers are currently scrambling to get the skills updated. A list of the resubmitted and vetted skills can be seen in the mycroft-skills repo 3 https://github.com/mycroftai/mycroft-skills "

I want to get Picroft to do something LOL!!

So is there the definitive “Safe for Python3” list of Skills anywhere?

Sure - try

Thanks Kathy
that is just the readme from the same repository that I had linked to before, That is why I tried to install AVmusic-skill as it is listed there…,. and ran itno the issue as described in this thread…
Sometimes I think my life is a never-ending circle … LOL

So the simple question at this stage is “Does AVmusic skill work with Python3 and if, so where is the repository?”

Was there a resolution to this problem?
Really Mycroft is very unfriendly for the average user.

Much better now than a year ago, and improving all the time. What is your specific issue. Plenty of people willing to help you through.

@pcwii Thanks.
I don’t mean to be critical of a tremendous achievement.
However I think in general that the Mycroft project could benefit from a dedicated rethink on user experience from initial unpack to getting it to ‘do things’.
Although I’m technically aware and can root around to try to fix things, not every consumer will be able to. Maybe I’m expecting too much from a very configurable device that’s probably primarily aimed at those who want to tinker, but there are probably many people concerned about privacy that don’t want Alexa or Siri or Google knowing their every move. These consumers (not tinkerers) want an alternative and Mycroft could be that if it was a smoother experience.
But perhaps it’s not a consumer device and is aimed at hobbyists.
As a specific issue, the AVmusic skill is still listed on the web page but it doesn’t seem able to be installed. There isn’t much documentation and although there is a github page, the skill can’t be installed either by spoken command or by ssh’ing to the Mark 1.
I just think a consumer-level, out-of-the-box package of skills would be really great; and the web page needs kept up to date.
I am a big fan, by the way and want it to succeed. I’m not trying to criticise but make helpful suggestions as a newbie to the product.

1 Like

Hi @roy, thanks for your feedback.

We’re definitely working hard to transition Mycroft from an Advanced Prototype to a Consumer-Ready Device, and aim to be there within about six months or so.

Part of that, as you say, is focusing on the overall user experience - which includes things like unboxing, documentation and customer support.

In regard to your specific feedback;

  • Documentation - we have fairly extensive documentation - our challenge at the moment is that the product is moving faster than the documentation can keep pace, which in a way is a good problem to have. We warmly welcome contributions from the Community to documentation - you can see the documentation repo here. If there are gaps in the documentation, you’re very welcome to suggest amendments.

  • Smoother experience - I’m going to make an assumption here that you’re on a Picroft Device - our CTO @steve.penrod has done an enormous amount of work recently on reworking the Picroft image, and a brand new Picroft image was recently released, which might be worth checking out. It’s deliberately designed to make it easier to support audio devices.

  • AV Music Skill - I believe the issue with the AV Music Skill is specific to Picroft - I assisted w[ith replicating this - and there is a workaround available.

Best, Kathy

1 Like

Hi Kathy
Thanks for your reply.
I am running a Mycroft Mark 1 but had to download the image because it didn’t work.
I tried the workaround for AVmusic but get the following error.

(mycroft-core) pi@mark_1:~ $ WARNING - Failed to update repo: GitException(Git command failed: GitCommandErro                                          r(['git', 'config', 'remote.origin.url', 'https://github.com/MycroftAI/mycroft-s                                          kills'], 255, b'error: could not lock config file .git/config: Permission denied                                          ', b''))
-bash: syntax error near unexpected token `('
(mycroft-core) pi@mark_1:~ $ INFO - Downloading skill: https://github.com/reginaneon/AVmusic
-bash: INFO: command not found
(mycroft-core) pi@mark_1:~ $ CloneException:
-bash: CloneException:: command not found
(mycroft-core) pi@mark_1:~ $   stderr: 'Cloning into '/tmp/tmp5_uhqofs'...
> fatal: unable to access 'https://github.com/reginaneon/AVmusic/': gnutls_handsha                                          ke() failed: Close notify
> '
-bash: stderr:: command not found
(mycroft-core) pi@mark_1:~ $

Hi Roy, I think the command here has become a little garbled.

Once you are in the virtual environment (you should have (mycroft-core) in your prompt), then you should be able to run the command;

msm install https://github.com/reginaneon/AVmusic

Hi Kathy

I think that’s what I typed. I’ve cut and pasted your command and this is what happens:

pi@mark_1:~ $ source /opt/venvs/mycroft-core/bin/activate
(mycroft-core) pi@mark_1:~ $ msm install https://github.com/reginaneon/AVmusic
WARNING - Failed to update repo: GitException(Git command failed: GitCommandError([‘git’, ‘config’, ‘remote.origin.url’, ‘https://github.com/MycroftAI/mycroft-skills’], 255, b’error: could not lock config file .git/config: Permission denied’, b’’))
INFO - Downloading skill: https://github.com/reginaneon/AVmusic
CloneException:
stderr: 'Cloning into ‘/tmp/tmpxiuwl83h’…
fatal: unable to access ‘https://github.com/reginaneon/AVmusic/’: gnutls_handshake() failed: Close notify
’
(mycroft-core) pi@mark_1:~ $

Hi. I can’t get any further with this. Anyone have a clue? Is there something I can tweak or amend directory permissions or something?
Thanks

@roy, So my goto for updating / installing skills on the rpi is.
pi@picroft:~ $ sudo su
root@picroft:/home/pi# source /opt/venvs/mycroft-core/bin/activate
(mycroft-core) root@picroft:/home/pi# msm update
or
(mycroft-core) root@picroft:/home/pi# msm install https://github.com/reginaneon/AVmusic.git

after this you need to ensure that the installed directory in the skills folder has the correct permissions.

1 Like

Apologies, I missed this one - the forum’s getting quite busy!
Yes, try the solution @pcwii provided and let us know how you go.

I will hopefully soon. Mycroft is “Updating” and it’s been going on for about half an hour.
I’ll post back the results when I can.

Mycroft remained ‘uodating’ for a whole day. Eventually I pulled the power and when it came back it asked me to register again.
Funny, after doing this it retained the new name I’d given it for wakeup word. So it accepts Hey Jarvis and not Hey Mycroft.
Anyway, I tried a verbal install of the skill but it still couldn’t find it.
I will try the cli ssh option.

@KathyReid @pcwii

Tried to install using ssh again. Still not finding the repo.

> (mycroft-core) root@mark_1:/home/pi# msm install https://github.com/reginaneon/AVmusic.git
> WARNING - Failed to update repo: GitException(Git command failed: GitCommandError(['git', 'fetch'], 128, b"fatal: unable to access 'https://github.com/MycroftAI/mycroft-skills/': gnutls_handshake() failed: Close notify", b''))
> INFO - Downloading skill: https://github.com/reginaneon/AVmusic.git
> CloneException:
>   stderr: 'Cloning into '/tmp/tmpe36upq0r'...
> fatal: unable to access 'https://github.com/reginaneon/AVmusic.git/': gnutls_handshake() failed: Close notify
> '
> (mycroft-core) root@mark_1:/home/pi#
> (mycroft-core) root@mark_1:/home/pi#
> (mycroft-core) root@mark_1:/home/pi#
> (mycroft-core) root@mark_1:/home/pi# msm install https://github.com/reginaneon/AVmusic
> WARNING - Failed to update repo: GitException(Git command failed: GitCommandError(['git', 'fetch'], 128, b"fatal: unable to access 'https://github.com/MycroftAI/mycroft-skills/': gnutls_handshake() failed: Close notify", b''))
> INFO - Downloading skill: https://github.com/reginaneon/AVmusic
> CloneException:
>   stderr: 'Cloning into '/tmp/tmp4gjuvjey'...
> fatal: unable to access 'https://github.com/reginaneon/AVmusic/': gnutls_handshake() failed: Close notify
> '
> (mycroft-core) root@mark_1:/home/pi#

Hey there. I am the AVmusic skill developer. This problem, as you have noticed, has been an issue for the Pi for quite a while. Unfortunately, there is not much that I can do about this due to the internal Mycroft changes. Here is the link to the discussion in the chat about this - https://chat.mycroft.ai/community/pl/1niy3c98s7ynueuy4x9s4sixxw
And here is the link to the reported issue in the skill itself - https://github.com/reginaneon/AVmusic/issues/2

Steve says that the fix should come from their side in about 1,5 weeks time. Before that happens it appears to be a desktop-only skill. Feel free to contact me directly in the chat as well, my username is the same as it is here.

@reginaneon thanks for that. :+1:
Hopefully the fix won’t be far off.