Unable to personalize mycroft


#1

Im getting the following errors:

11:19:31.643 - mycroft.skills.core:load_skill:160 - ERROR - Failed to load mycroft-personal.mycroftai due to a missing file: Unable to find “WhatAreYou.intent”

and it also seems like ive got an invalid config file
11:21:14.466 - mycroft.configuration.config:load_local:111 - ERROR - Error loading configuration ‘/etc/mycroft/mycroft.conf’
11:21:14.467 - mycroft.configuration.config:load_local:112 - ERROR - JSONDecodeError(‘Expecting value: line 1 column 1 (char 0)’,)

Can someone send me a valid config please and tell me how to fix my issues with mycroft?

Thanks in advance!


#2

Hi
It is a bit difficlt to send a valid config, as that depends on your system, that seems different thatn the one after installation.
The config file is in json format, and it is important that it is formated correctly.
The default mycroft.conf from picroft is here
https://raw.githubusercontent.com/MycroftAI/enclosure-picroft/stretch/etc/mycroft/mycroft.conf

Your problem by the skill missing the WhatAreYou.intent, could relate to that the file is missing, and can happen if you change language and the langfiles Arent uppdtated. Look in the skillfolder under vocab for your lang and see if that file is missing.


#3

Hi there,
What platform are you running this on, and what language is it set to?

For the mycroft.conf file there are more details in our documentation. To check the contents you can run:
cat /etc/mycroft/mycroft.conf

Have you edited that recently? JSON is very particular about it’s syntax and it’s very easy to miss a comma and break everything. If you aren’t sure, you can copy the contents into pastebin or a similar service and someone here can have a look to see what might be out of place.

As for the intent file you’re missing. This skill is about the history and personality of Mycroft, rather than the ability to personalize the system. There are a few simple ways to get that file but it doesn’t really explain where it went. What language are you using?

The most straight forward method would be to uninstall and reinstall the skill

  • say “Hey Mycroft, remove personal skill”
  • confirm removal by saying “yes”
  • “Hey Mycroft, install personal”
  • confirm install by saying “yes”

Alternatively you can get just the files you need from github. These would go in /opt/mycroft/skills/mycroft-personal.mycroftai/vocab/