# AttributeError: 'NoneType' object has no attribute 'index'

**URL:** <https://forum.rasa.com/t/attributeerror-nonetype-object-has-no-attribute-index/2596>\
**Category:** Getting Started with Rasa\
**Tags:** conversation\
**Created:** [November 12, 2018, 4:02pm UTC](https://forum.rasa.com/t/attributeerror-nonetype-object-has-no-attribute-index/2596 "2018-11-12T16:02:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![aplamhden22](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@aplamhden22](https://forum.rasa.com/u/aplamhden22)\
**Post date:** [November 14, 2018, 4:49pm UTC](https://forum.rasa.com/t/attributeerror-nonetype-object-has-no-attribute-index/2596/2 "2018-11-14T16:49:41Z")

</div>

@darkmanAmazigh The problem here is that u did not train your dialogue model correctly. Check this [Train.py default: error: the following arguments are required: -c/--config](http://forum.rasa.com/t/train-py-default-error-the-following-arguments-are-required-c-config/2574). IN THE END I provided a solution on how to train your dialogue model manually. If you do this, instead of using the:

```
python -m rasa_core.train -d domain.yml -s stories.md -o models/dialogue 

```

you should be able to run rasta server with or w/o NLU

---

_[View the full topic](https://forum.rasa.com/t/attributeerror-nonetype-object-has-no-attribute-index/2596)._
