Error creating skill

Hi all,

I thought i would have a go at getting into developing skills for mycroft.

i followed this guide :

however, when i get to the part where i have to enter my git username , i get the following error :

Traceback (most recent call last):
File “/home/pi/mycroft-core/.venv/bin/msk”, line 11, in
File “/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/msk/”, line 67, in main
return action_to_clsargs.action.perform()
File “/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/msk/actions/”, line 278, in perform
File “/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/msk/actions/”, line 258, in commit_changes
self.git.commit(message=‘Initial commit’)
File “/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/git/”, line 548, in
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File “/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/git/”, line 1014, in _call_process
return self.execute(call, **exec_kwargs)
File “/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/git/”, line 825, in execute
raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd(‘git’) failed due to: exit code(128)
cmdline: git commit --message=Initial commit
stderr: ’
*** Please tell me who you are.


git config --global “
git config --global “Your Name”

to set your account’s default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got ‘pi@picroft.(none)’)’

Am i being a total noob and doing something wrong?

It it fun making skills for mycroft. So keep trying :wink:

git config --global ""
git config --global “Your Name”

and changed" and Your Name with your email and Name used on GitHub ?

and then do msk create ?

I see you are on picroft - is it the latest based on strech and is it updated with

sudo apt-get update
sudo apt-get upgrade 

hey , thx for the reply.

Yes i did set up git on my raspberry like you described but it doenst make a difference. the error remains.

Yes my pi is on stretch and updated

:frowning: then I have no idea - it works at on my mark_1 and picrofts so I cant reproduce your problem.

Maybe someone else or @KathyReid have a idea.

Thanks for providing the troubleshooting information.

If you’ve already tried the git config commands, the other thing to check for in your Skill’s .git directory is a .lock file. These are created if a file is closed unexpectedly. Do you have any .lock files in your Skill’s .git directory?

No there are no .lock files in my skills directory.

only :
dialog (dir)
vocab (dir)
pycache (dir)

If you type the command git config --list, what do you see?,com ( it says my email address there )

strangely enough , after the git config --list the msk create command seems to work.
so now it has created a github repo.

surely just typing git config --list doesnt fix an error? no other commands were given,

but hey, im not complaining :smiley: thx for the help.