Troubleshooting
Troubleshooting guide for the Mycroft Skills Manager.
mycroft-msm: command not found
Mycroft provides helper commands for common utilities like MSM. On most systems MSM should be accessible using mycroft-msm
. If this command is not found on your system then it has most likely not been added to your $PATH
environment variable.
On Linux, when you type a command into the terminal it uses the $PATH
environment variable to know where on your system to look for executable files. If you are unfamiliar with this environment variable it's a good one to learn about for new Linux users.
Updating the $PATH
variable
$PATH
variableThe mycroft-msm
script, along with all of Mycroft's executables, are contained in the mycroft-core/bin
directory. If you installed Mycroft in your $HOME
directory, it will be located at: /home/username/mycroft-core/bin
.
To permanently add this to our $PATH
we will add a line to our .bashrc
file that is executed each time we initialize an interactive shell, for example by launching the terminal application.
Other options:
If you do not wish to update your $PATH
there are two other methods you can use.
Use the full path of the helper command:
Activate Mycroft's virtual environment and execute
msm
directly:
Git authentication failed
This error usually means that the GitHub repository for the Skill no longer exists, or has moved. Remove the Skill using msm remove [Skill Name]
and then install a new Skill.
Uncommitted changes
This error usually means that there is a difference between the Skill on the Device and the Skill's GitHub repo.
If Mycroft detects that something has change in your Skill, it will stop updating to prevent loss of any work you are doing in that directory. If you are no longer making changes you can checkout the default branch of the Skill, or git stash
any changes you've made to get it back to a clean state.
If you continue to get this error you can also delete the Skill and reinstall it.
Git command error - not something we can merge
This error usually means that there is no remote url
defined for the Git repository (ie. named origin
- which is the default name of a remote url
). This can happen during Skill development when git init
is run without defining a remote url
. To resolve this error, add a remote url
using the command git remote add origin https://github.com/yourGitHubUsername/yourrepo.git
.
Git command error - failed to update repo
This error usually means that the filesystem permissions of the Skill are incorrect. Manually check, and if necessary, resolve them.
Where to go for more assistance
Join us in the Skills Mycroft Chat room or join us in the Mycroft Forum.
Last updated