# Rasa github code sample error

**URL:** <https://forum.rasa.com/t/rasa-github-code-sample-error/15769>\
**Category:** Rasa Open Source\
**Created:** [September 17, 2019, 11:07am UTC](https://forum.rasa.com/t/rasa-github-code-sample-error/15769 "2019-09-17T11:07:19Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![binuedwin](https://avatars.discourse-cdn.com/v4/letter/b/ac91a4/32.png) [@binuedwin](https://forum.rasa.com/u/binuedwin)\
**Post date:** [September 17, 2019, 11:07am UTC](https://forum.rasa.com/t/rasa-github-code-sample-error/15769/1 "2019-09-17T11:07:19Z")

</div>

HI,

I am trying to download code from [GitHub - RasaHQ/rasa: 💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants](https://github.com/RasaHQ/rasa)

I tried installing the packages from requirement.txt after that if i give make test, is not working.

Can someone suggest how to install and run the project in pycharm.

---

<div class="post-metadata">

**Author:** ![Tanja](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tanja/32/4696_2.png) [@Tanja](https://forum.rasa.com/u/Tanja)\
**Post date:** [September 18, 2019, 7:40am UTC](https://forum.rasa.com/t/rasa-github-code-sample-error/15769/2 "2019-09-18T07:40:49Z")

</div>

Hi @binuedwin! What error message do you get? In order to run the tests you should do the following

```auto
export PIP_USE_PEP517=false
pip3 install -r requirements-dev.txt
pip3 install -e .
make prepare-tests-ubuntu # Only on Ubuntu and Debian based systems
make prepare-tests-macos # Only on macOS

```

Make sure to use `pytest` as test runner in PyCharm when executing the tests over there (preferences - python integrated tools).

---

<div class="post-metadata">

**Author:** ![binuedwin](https://avatars.discourse-cdn.com/v4/letter/b/ac91a4/32.png) [@binuedwin](https://forum.rasa.com/u/binuedwin)\
**Post date:** [September 18, 2019, 7:44am UTC](https://forum.rasa.com/t/rasa-github-code-sample-error/15769/3 "2019-09-18T07:44:11Z")

</div>

Hi,

I am trying to run the Restaurant bot present in Rasa Github.

After executing 1. rasa train. when i execute rasa.shell i am getting the below error The path ‘models’ does not exist. Please make sure to use the default location (‘models’) or specify it with ‘–model’.

---

<div class="post-metadata">

**Author:** ![Tanja](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tanja/32/4696_2.png) [@Tanja](https://forum.rasa.com/u/Tanja)\
**Post date:** [September 18, 2019, 7:53am UTC](https://forum.rasa.com/t/rasa-github-code-sample-error/15769/4 "2019-09-18T07:53:33Z")

</div>

If `rasa train` finished successfully, you should have a models folder with a model present. Can you add the `--debug` flag to the command and paste the log output of the command here? Thanks.

---

<div class="post-metadata">

**Author:** ![binuedwin](https://avatars.discourse-cdn.com/v4/letter/b/ac91a4/32.png) [@binuedwin](https://forum.rasa.com/u/binuedwin)\
**Post date:** [September 19, 2019, 7:06am UTC](https://forum.rasa.com/t/rasa-github-code-sample-error/15769/5 "2019-09-19T07:06:28Z")

</div>

hi,

Now i am able to run the rasa shell. But i am getting the below error

2019-09-19 11:05:06 ERROR rasa.core.processor - Encountered an exception while running action ‘action\_search\_restaurants’. Bot will continue, but the actions events are lost. Make su re to fix the exception in your custom code. 2019-09-19 11:05:08 ERROR rasa.core.processor - Encountered an exception while running action ‘action\_suggest’. Bot will continue, but the actions events are lost. Make sure to fix t he exception in your custom code.

---

<div class="post-metadata">

**Author:** ![Tanja](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tanja/32/4696_2.png) [@Tanja](https://forum.rasa.com/u/Tanja)\
**Post date:** [September 19, 2019, 7:53am UTC](https://forum.rasa.com/t/rasa-github-code-sample-error/15769/6 "2019-09-19T07:53:47Z")

</div>

What is the log of the action server? It might be also helpful to start everything in debug mode (add `--debug` to the `rasa shell` and `rasa run actions` commands).

---

<div class="post-metadata">

**Author:** ![ymhsprint](https://avatars.discourse-cdn.com/v4/letter/y/ccd318/32.png) [@ymhsprint](https://forum.rasa.com/u/ymhsprint)\
**Post date:** [September 24, 2019, 10:32am UTC](https://forum.rasa.com/t/rasa-github-code-sample-error/15769/7 "2019-09-24T10:32:40Z")

</div>

I meet the same problem ,can you tell me how to solve “The path ‘models’ does not exist”，thanks

---

<div class="post-metadata">

**Author:** ![Tanja](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tanja/32/4696_2.png) [@Tanja](https://forum.rasa.com/u/Tanja)\
**Post date:** [September 25, 2019, 5:59am UTC](https://forum.rasa.com/t/rasa-github-code-sample-error/15769/8 "2019-09-25T05:59:06Z")

</div>

@ymhsprint The error indicates that you command cannot found any model. If you don’t specify any model directory with the argument `--model`, it takes the default model path, which is `models`. If that is not present, the error is thrown. So make sure a model file exists and use the `--model` argument to point to it. For more information about the command line arguments see [Command Line Interface](https://rasa.com/docs/rasa/user-guide/command-line-interface/).

---

<div class="post-metadata">

**Author:** ![ymhsprint](https://avatars.discourse-cdn.com/v4/letter/y/ccd318/32.png) [@ymhsprint](https://forum.rasa.com/u/ymhsprint)\
**Post date:** [September 25, 2019, 12:13pm UTC](https://forum.rasa.com/t/rasa-github-code-sample-error/15769/9 "2019-09-25T12:13:42Z")

</div>

yes，I know what you say.

in fact,models directory do exist ,when i run `rasa shell` with no parameters or `rasa shell --model models/xxx.tar.gz` ,it take the same problem.

I train the model in my server and copy model to local pc, I don’t know if it matters,I try to reinstall the dependencies

---

<div class="post-metadata">

**Author:** ![Tanja](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tanja/32/4696_2.png) [@Tanja](https://forum.rasa.com/u/Tanja)\
**Post date:** [September 26, 2019, 7:05am UTC](https://forum.rasa.com/t/rasa-github-code-sample-error/15769/10 "2019-09-26T07:05:06Z")

</div>

@ymhsprint As you error seems not to be related to the problem of @binuedwin can you please open a new thread? Feel free to tag me. And please also provide the directory structure of the project you are working in and the rasa version you are using. Thanks.

---

<div class="post-metadata">

**Author:** ![ymhsprint](https://avatars.discourse-cdn.com/v4/letter/y/ccd318/32.png) [@ymhsprint](https://forum.rasa.com/u/ymhsprint)\
**Post date:** [September 26, 2019, 9:52am UTC](https://forum.rasa.com/t/rasa-github-code-sample-error/15769/11 "2019-09-26T09:52:43Z")

</div>

I can’t understand what you mean ‘open a new thread’,here is my project’s structure of directory and rasa version is 1.3.6

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/2/2905cc6a396945d232434185702045be0b0c7492.png)

the image of error is as follows:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/c/c157a03959accf5885169f48ac816f4b91105089.png)

---

<div class="post-metadata">

**Author:** ![Tanja](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tanja/32/4696_2.png) [@Tanja](https://forum.rasa.com/u/Tanja)\
**Post date:** [September 26, 2019, 3:34pm UTC](https://forum.rasa.com/t/rasa-github-code-sample-error/15769/12 "2019-09-26T15:34:41Z")

</div>

> open a new thread

As your problem it not related to the original problem of this thread, I wanted you to start a new topic on the forum. You can start a new topic on the top right of [http://forum.rasa.com/](http://forum.rasa.com/).

This is a different error as the one mentioned above. It seems like that your mitie named entity extractor is somehow broken. Your trained model cannot be loaded. Did you try to train the model again from scratch and start Rasa?
