# Custom Component Error

**URL:** <https://forum.rasa.com/t/custom-component-error/23672>\
**Category:** Rasa Open Source\
**Created:** [January 18, 2020, 10:18am UTC](https://forum.rasa.com/t/custom-component-error/23672 "2020-01-18T10:18:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![noman](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/noman/32/10071_2.png) [@noman](https://forum.rasa.com/u/noman)\
**Post date:** [January 18, 2020, 10:18am UTC](https://forum.rasa.com/t/custom-component-error/23672/1 "2020-01-18T10:18:46Z")

</div>

I tried to replicate this tutorial [How to Enhance Rasa NLU Models with Custom Components | Rasa Blog | The Rasa Blog | Rasa](https://blog.rasa.com/enhancing-rasa-nlu-with-custom-components/?_ga=2.139844211.1770848329.1578909388-1663346152.1551431742) with SentimentAnalyzer class in my project directory. I am using Docker and tried to set the path inside the docker but i am facing an error, Screen shot is attached. Thanks

 ![a](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/7/7bb6fd86deb0300e107398e0d8e0eafe559d5b05.png)

---

<div class="post-metadata">

**Author:** ![Govert](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@Govert](https://forum.rasa.com/u/Govert)\
**Post date:** [January 18, 2020, 3:02pm UTC](https://forum.rasa.com/t/custom-component-error/23672/2 "2020-01-18T15:02:36Z")

</div>

Could you provide the code for your component?

---

<div class="post-metadata">

**Author:** ![noman](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/noman/32/10071_2.png) [@noman](https://forum.rasa.com/u/noman)\
**Post date:** [January 18, 2020, 4:11pm UTC](https://forum.rasa.com/t/custom-component-error/23672/3 "2020-01-18T16:11:20Z")

</div>

Resolved. Thanks
