# Error creating skill

**URL:** https://community.openconversational.ai/t/error-creating-skill/5526
**Category:** Skills
**Created:** [January 1, 2019, 3:28pm UTC](https://community.openconversational.ai/t/error-creating-skill/5526 "2019-01-01T15:28:25Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![sander](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/s/90ced4/32.png) [@sander](https://community.openconversational.ai/u/sander)
#### Post date: [January 1, 2019, 3:28pm UTC](https://community.openconversational.ai/t/error-creating-skill/5526/1 "2019-01-01T15:28:25Z")

</div>

Hi all,

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

i followed this guide :

[https://mycroft.ai/documentation/skills/msk/](https://mycroft.ai/documentation/skills/msk/)

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   
> sys.exit(main())  
> File “/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/msk/ **main**.py”, line 67, in main  
> return action\_to\_clsargs.action.perform()  
> File “/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/msk/actions/create.py”, line 278, in perform  
> self.commit\_changes()  
> File “/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/msk/actions/create.py”, line 258, in commit\_changes  
> self.git.commit(message=‘Initial commit’)  
> File “/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/git/cmd.py”, 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/cmd.py”, line 1014, in \_call\_process  
> return self.execute(call, \*\*exec\_kwargs)  
> File “/home/pi/mycroft-core/.venv/lib/python3.5/site-packages/git/cmd.py”, 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.
> 
> Run
> 
> git config --global user.email “[you@example.com](mailto:you@example.com)”  
> git config --global user.name “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?

---

<div class="post-metadata">

### Author: ![andlo](https://community.openconversational.ai/user_avatar/community.openconversational.ai/andlo/32/860_2.png) [@andlo](https://community.openconversational.ai/u/andlo)
#### Post date: [January 1, 2019, 3:45pm UTC](https://community.openconversational.ai/t/error-creating-skill/5526/2 "2019-01-01T15:45:18Z")

</div>

It it fun making skills for mycroft. So keep trying 😉

```auto
git config --global user.email "you@example.com"
git config --global user.name “Your Name”

```

and changed [you@example.com](mailto:you@example.com)" 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

```auto
sudo apt-get update
sudo apt-get upgrade 

```

---

<div class="post-metadata">

### Author: ![sander](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/s/90ced4/32.png) [@sander](https://community.openconversational.ai/u/sander)
#### Post date: [January 1, 2019, 4:46pm UTC](https://community.openconversational.ai/t/error-creating-skill/5526/3 "2019-01-01T16:46:47Z")

</div>

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

---

<div class="post-metadata">

### Author: ![andlo](https://community.openconversational.ai/user_avatar/community.openconversational.ai/andlo/32/860_2.png) [@andlo](https://community.openconversational.ai/u/andlo)
#### Post date: [January 1, 2019, 5:09pm UTC](https://community.openconversational.ai/t/error-creating-skill/5526/4 "2019-01-01T17:09:29Z")

</div>

☹ 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.

---

<div class="post-metadata">

### Author: ![KathyReid](https://community.openconversational.ai/user_avatar/community.openconversational.ai/kathyreid/32/1949_2.png) [@KathyReid](https://community.openconversational.ai/u/KathyReid)
#### Post date: [January 1, 2019, 8:46pm UTC](https://community.openconversational.ai/t/error-creating-skill/5526/5 "2019-01-01T20:46:53Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![sander](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/s/90ced4/32.png) [@sander](https://community.openconversational.ai/u/sander)
#### Post date: [January 1, 2019, 8:52pm UTC](https://community.openconversational.ai/t/error-creating-skill/5526/6 "2019-01-01T20:52:47Z")

</div>

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

only :  
dialog (dir)  
**init**.py  
README.md  
settings.json  
settingsmeta.json  
vocab (dir)  
**pycache** (dir)

---

<div class="post-metadata">

### Author: ![KathyReid](https://community.openconversational.ai/user_avatar/community.openconversational.ai/kathyreid/32/1949_2.png) [@KathyReid](https://community.openconversational.ai/u/KathyReid)
#### Post date: [January 1, 2019, 9:36pm UTC](https://community.openconversational.ai/t/error-creating-skill/5526/7 "2019-01-01T21:36:15Z")

</div>

If you type the command `git config --list`, what do you see?

---

<div class="post-metadata">

### Author: ![sander](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/s/90ced4/32.png) [@sander](https://community.openconversational.ai/u/sander)
#### Post date: [January 1, 2019, 9:45pm UTC](https://community.openconversational.ai/t/error-creating-skill/5526/8 "2019-01-01T21:45:56Z")

</div>

> [@KathyReid](#):
>
> git config --list

user.name=sanderveenman  
user.email=sander@XXXX,com ( it says my email address there )  
core.editor=nano

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 😃 thx for the help.
