# Skill fail to load

**URL:** https://community.openconversational.ai/t/skill-fail-to-load/7332
**Category:** Archive - Former Random Mycroft Category
**Created:** [October 4, 2019, 1:43pm UTC](https://community.openconversational.ai/t/skill-fail-to-load/7332 "2019-10-04T13:43:06Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![1117](https://community.openconversational.ai/user_avatar/community.openconversational.ai/1117/32/1947_2.png) [@1117](https://community.openconversational.ai/u/1117)
#### Post date: [October 4, 2019, 1:43pm UTC](https://community.openconversational.ai/t/skill-fail-to-load/7332/1 "2019-10-04T13:43:06Z")

</div>

2019-10-04 16:40:30.321 | INFO | 10169 | mycroft.skills.skill\_loader:load:115 | ATTEMPTING TO LOAD SKILL: useridentification-skill  
2019-10-04 16:40:30.322 | ERROR | 10169 | mycroft.skills.skill\_loader:\_communicate\_load\_status:280 | Skill useridentification-skill failed to load  
2019-10-04 16:40:47.182 | INFO | 10169 | mycroft.skills.settings:\_emit\_settings\_change\_events:402 | Emitting skill.settings.change event for skill @db4d2aa1-2b8a-460b-8b31-d867ee5c45d2|useridentification-skill

These is from the skill.log file.  
Does anyone know how to help?

Thank you

---

<div class="post-metadata">

### Author: ![Dominik](https://community.openconversational.ai/user_avatar/community.openconversational.ai/dominik/32/1936_2.png) [@Dominik](https://community.openconversational.ai/u/Dominik)
#### Post date: [October 4, 2019, 3:45pm UTC](https://community.openconversational.ai/t/skill-fail-to-load/7332/2 "2019-10-04T15:45:58Z")

</div>

> [@1117](#):
>
> useridentification-skill

Is that your own skill, do you have a link to the skills repository?

---

<div class="post-metadata">

### Author: ![1117](https://community.openconversational.ai/user_avatar/community.openconversational.ai/1117/32/1947_2.png) [@1117](https://community.openconversational.ai/u/1117)
#### Post date: [October 5, 2019, 4:12pm UTC](https://community.openconversational.ai/t/skill-fail-to-load/7332/3 "2019-10-05T16:12:42Z")

</div>

It is my own skill.  
Do you mean the github link?  
It is [https://github.com/alonyomtov123/useridentification-skill](https://github.com/alonyomtov123/useridentification-skill)

Thank you

---

<div class="post-metadata">

### Author: ![gez-mycroft](https://community.openconversational.ai/user_avatar/community.openconversational.ai/gez-mycroft/32/1937_2.png) [@gez-mycroft](https://community.openconversational.ai/u/gez-mycroft)
#### Post date: [October 7, 2019, 3:43am UTC](https://community.openconversational.ai/t/skill-fail-to-load/7332/4 "2019-10-07T03:43:47Z")

</div>

Hey there,

It looks like your `create_skill()` function is indented so that it’s contained within your `Useridentification` class rather than being called. So you want to shift that all the way to the end, and make sure it’s got no spacing before the definition. It should be:

```auto
def create_skill():
    return Useridentification()

```

rather than:

```auto
    def create_skill():
        return Useridentification()

```

Same with any of the other functions you don’t want scoped within the your Skill’s class.

If they are contained within the `Useridentification` class then they need a first argument of `self` as you have with `signIn`. To call this method, you would use `self.signIn(userId, name)`

If they are not methods of that class, they don’t need `self` and are called simply as `voiceFound(wavFilePath)`

To see another Skill declaring functions outside the Skill’s class, checkout the [IP Skill](https://github.com/MycroftAI/skill-ip/blob/19.08/ __init__.py)
