# Error when run command rasa x

**URL:** <https://forum.rasa.com/t/error-when-run-command-rasa-x/46594>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [August 6, 2021, 9:31am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594 "2021-08-06T09:31:02Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![firstchn](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@firstchn](https://forum.rasa.com/u/firstchn)\
**Post date:** [August 6, 2021, 9:31am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/1 "2021-08-06T09:31:02Z")

</div>

I’m beginner in using rasa x and when i install i have some problem like this

(chatbottest) C:\rasatestmodel\>rasa x Starting Rasa X in local mode… 🚀2021-08-06 15:32:56 WARNING rasax.community.services.insights.insight\_service - No local evaluation result files found. 2021-08-06 15:32:59 ERROR concurrent.futures - exception calling callback for \<Future at 0x2a465562370 state=finished raised gaierror\> Traceback (most recent call last): File “C:\Users\charo\anaconda3\envs\chatbottest\lib\concurrent\futures\thread.py”, line 57, in run result = self.fn(\*self.args, \*\*self.kwargs) File “C:\Users\charo\anaconda3\envs\chatbottest\lib\socket.py”, line 918, in getaddrinfo for res in \_socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “C:\Users\charo\anaconda3\envs\chatbottest\lib\concurrent\futures\_base.py”, line 328, in \_invoke\_callbacks callback(self) File “C:\Users\charo\anaconda3\envs\chatbottest\lib\asyncio\futures.py”, line 374, in \_call\_set\_state dest\_loop.call\_soon\_threadsafe(\_set\_state, destination, source) File “C:\Users\charo\anaconda3\envs\chatbottest\lib\asyncio\base\_events.py”, line 764, in call\_soon\_threadsafe self.\_check\_closed() File “C:\Users\charo\anaconda3\envs\chatbottest\lib\asyncio\base\_events.py”, line 508, in \_check\_closed raise RuntimeError(‘Event loop is closed’) RuntimeError: Event loop is closed 2021-08-06 15:32:59 ERROR concurrent.futures - exception calling callback for \<Future at 0x2a465562f40 state=finished returned list\> Traceback (most recent call last): File “C:\Users\charo\anaconda3\envs\chatbottest\lib\concurrent\futures\_base.py”, line 328, in \_invoke\_callbacks callback(self) File “C:\Users\charo\anaconda3\envs\chatbottest\lib\asyncio\futures.py”, line 374, in \_call\_set\_state dest\_loop.call\_soon\_threadsafe(\_set\_state, destination, source) File “C:\Users\charo\anaconda3\envs\chatbottest\lib\asyncio\base\_events.py”, line 764, in call\_soon\_threadsafe self.\_check\_closed() File “C:\Users\charo\anaconda3\envs\chatbottest\lib\asyncio\base\_events.py”, line 508, in \_check\_closed raise RuntimeError(‘Event loop is closed’) RuntimeError: Event loop is closed Traceback (most recent call last): File “C:\Users\charo\anaconda3\envs\chatbottest\lib\site-packages\rasa\cli\x.py”, line 496, in run\_locally local.main( File “C:\Users\charo\anaconda3\envs\chatbottest\lib\site-packages\rasax\community\local.py”, line 257, in main common\_utils.run\_in\_loop(model\_service.discover\_models()) File “C:\Users\charo\anaconda3\envs\chatbottest\lib\site-packages\rasax\community\utils\common.py”, line 900, in run\_in\_loop return loop.run\_until\_complete(coro) File “C:\Users\charo\anaconda3\envs\chatbottest\lib\asyncio\base\_events.py”, line 616, in run\_until\_complete return future.result() File “C:\Users\charo\anaconda3\envs\chatbottest\lib\site-packages\rasax\community\services\model\_service.py”, line 821, in discover\_models await model\_service.discover\_models() File “C:\Users\charo\anaconda3\envs\chatbottest\lib\site-packages\rasax\community\services\model\_service.py”, line 147, in discover\_models await \_run\_loop(max\_retries, sleep\_in\_seconds) File “C:\Users\charo\anaconda3\envs\chatbottest\lib\site-packages\rasax\community\services\model\_service.py”, line 133, in \_run\_loop await self.\_discover\_models() File “C:\Users\charo\anaconda3\envs\chatbottest\lib\site-packages\rasax\community\services\model\_service.py”, line 185, in \_discover\_models minimum\_version = await self.\_retry\_fetching\_minimum\_compatible\_version() File “C:\Users\charo\anaconda3\envs\chatbottest\lib\site-packages\rasax\community\services\model\_service.py”, line 174, in \_retry\_fetching\_minimum\_compatible\_version minimum\_version = await self.minimum\_compatible\_version() File “C:\Users\charo\anaconda3\envs\chatbottest\lib\site-packages\rasax\community\services\model\_service.py”, line 160, in minimum\_compatible\_version info = await stack\_service.version() File “C:\Users\charo\anaconda3\envs\chatbottest\lib\site-packages\rasax\community\services\stack\_service.py”, line 107, in version response = await session.get( File “C:\Users\charo\anaconda3\envs\chatbottest\lib\site-packages\aiohttp\client.py”, line 619, in \_request break File “C:\Users\charo\anaconda3\envs\chatbottest\lib\site-packages\aiohttp\helpers.py”, line 656, in **exit** raise asyncio.TimeoutError from None asyncio.exceptions.TimeoutError

Sorry, something went wrong (see error above). Make sure to start Rasa X with valid data and valid domain and config files. Please, also check any warnings that popped up. If you need help fixing the issue visit our forum: [http://forum.rasa.com/](http://forum.rasa.com/).

I really need help to solve this

Thankyou in advance

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 6, 2021, 12:13pm UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/2 "2021-08-06T12:13:31Z")

</div>

@firstchn

Share Rasa version

`rasa --version`

Or

Downgrade to rasa-x==0.39.3

`pip install rasa-x==0.39.3 --extra-index-url https://pypi.rasa.com/simple`

Somre errors:

ImportError: cannot import name ‘RowProxy’ from ‘sqlalchemy.engine’ try running pip install SQLAlchemy==1.3.22 should fix it.)

And, if you get an error not being able to import yaml then run pip install pyyaml.

Good Luck!

---

<div class="post-metadata">

**Author:** ![firstchn](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@firstchn](https://forum.rasa.com/u/firstchn)\
**Post date:** [August 20, 2021, 1:55am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/4 "2021-08-20T01:55:20Z")

</div>

thankyou i will try it sir

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 20, 2021, 1:56am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/5 "2021-08-20T01:56:12Z")

</div>

@firstchn I hope this will work for you, and do share me rasa version. Its being a long time, so take your time and if any help need do buzz me here 🙂

---

<div class="post-metadata">

**Author:** ![firstchn](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@firstchn](https://forum.rasa.com/u/firstchn)\
**Post date:** [August 20, 2021, 1:59am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/6 "2021-08-20T01:59:16Z")

</div>

> [@nik202](#):
>
> rasa --version

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/4/9/497d5eaa1b168d98a962f44c69cc9b53cd4d8e89.png) this is my version

---

<div class="post-metadata">

**Author:** ![firstchn](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@firstchn](https://forum.rasa.com/u/firstchn)\
**Post date:** [August 20, 2021, 2:15am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/7 "2021-08-20T02:15:14Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/a/c/ac257b61e6581f0838a8fdeb7e3f0d8c6ec91a6b.png) ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/9/d/9dbdd7a3034baa9cd4ac5579152e380b6342917e.png) ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/3/5/350e9c5e38adf04f9c98de39ccb1f291b6bb3c83.png)

please help me with this error sir

---

<div class="post-metadata">

**Author:** ![firstchn](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@firstchn](https://forum.rasa.com/u/firstchn)\
**Post date:** [August 20, 2021, 2:16am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/8 "2021-08-20T02:16:31Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/1/7/17905b8432333d2a885068500ab49851ef5b5bd5.png)

this is my version now and sorry for late reply

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 20, 2021, 6:30am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/9 "2021-08-20T06:30:23Z")

</div>

@firstchn please delete .db files of events and rasa and then run rasa x.

---

<div class="post-metadata">

**Author:** ![jackpotandy](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/jackpotandy/32/7854_2.png) [@jackpotandy](https://forum.rasa.com/u/jackpotandy)\
**Post date:** [August 20, 2021, 9:42am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/10 "2021-08-20T09:42:50Z")

</div>

@nik202 I really appreciate your help here in the forum! 🙏 🙂

I am facing similar issues with starting rasa x in local mode… It basically starts rasa x, but then it says there is no model active, which makes no sense in local mode. The error message I get is: `asyncio.exceptions.TimeoutError`

These are my rasa versions:

```
Rasa Version : 2.8.2
Minimum Compatible Version: 2.8.0
Rasa SDK Version : 2.8.1
Rasa X Version : 0.42.0
Python Version : 3.8.2
Operating System : macOS-11.5.2-x86_64-i386-64bit

```

Many thanks in advance for any help 🙃By the way: nice profile pic 😉

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 20, 2021, 9:45am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/11 "2021-08-20T09:45:36Z")

</div>

@jackpotandy

**Step 1:**

`pip install rasa==2.8.1`

**Step 2:**

`pip install rasa-x==0.39.3 --extra-index-url https://pypi.rasa.com/simple`

**Step 3:**

((if?)You will see some error : ImportError: cannot import name ‘RowProxy’ from ‘sqlalchemy.engine’ Install)

`pip install SQLAlchemy==1.3.22`

**Step 4:**

If sanic related error:

`pip install sanic-jwt==1.6.0`

**Step 5:**

delete .db database file ‘events’ and ‘rasa’ and it will work and .db file automatic created as you run rasa x.

Lol, thanks Andreas. I hope this will solve your issue, do let me know if you got any new error.

---

<div class="post-metadata">

**Author:** ![firstchn](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@firstchn](https://forum.rasa.com/u/firstchn)\
**Post date:** [August 20, 2021, 9:57am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/12 "2021-08-20T09:57:37Z")

</div>

thankyou sir i will do it again

---

<div class="post-metadata">

**Author:** ![firstchn](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@firstchn](https://forum.rasa.com/u/firstchn)\
**Post date:** [August 20, 2021, 10:03am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/13 "2021-08-20T10:03:07Z")

</div>

@nik202 so have to delete it in root folder right sir? i trying to find .db file but i cant see it

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 20, 2021, 10:06am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/14 "2021-08-20T10:06:47Z")

</div>

@firstchn please don’t call me sir 🙂 just nik

@firstchn in your project folder check you will able to see, do you have project created using rasa init? ![Screenshot 2021-08-20 at 11.07.43 AM](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/6/8/68eb5af64538b253c95b211eb18ab5981565f72a.png)

@firstchn did you find it?

---

<div class="post-metadata">

**Author:** ![firstchn](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@firstchn](https://forum.rasa.com/u/firstchn)\
**Post date:** [August 20, 2021, 10:16am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/15 "2021-08-20T10:16:12Z")

</div>

> [@nik202](#):
>
> events

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/9/1/91fd5676c47d5c46e87c985f24cab7d20a5a9757.png)I’m still get this nik

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 20, 2021, 10:17am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/16 "2021-08-20T10:17:29Z")

</div>

@firstchn this is not the full error, please share full

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 20, 2021, 10:18am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/17 "2021-08-20T10:18:48Z")

</div>

@firstchn Did you followed these steps?

**Step 1:**

`pip install rasa==2.8.1`

**Step 2:**

`pip install rasa-x==0.39.3 --extra-index-url https://pypi.rasa.com/simple`

**Step 3:**

((if?)You will see some error : ImportError: cannot import name ‘RowProxy’ from ‘sqlalchemy.engine’ Install)

`pip install SQLAlchemy==1.3.22`

**Step 4:**

If sanic related error:

`pip install sanic-jwt==1.6.0`

**Step 5:** alembic related error:

delete .db database file ‘events’ and ‘rasa’ and it will work and .db file automatic created as you run rasa x.

---

<div class="post-metadata">

**Author:** ![firstchn](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@firstchn](https://forum.rasa.com/u/firstchn)\
**Post date:** [August 20, 2021, 10:20am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/18 "2021-08-20T10:20:17Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/b/e/be8fb57040f37728c0552997ea9bc581ac0555e4.png)

Yes, nik i follow all of your step, i will try it again

---

<div class="post-metadata">

**Author:** ![firstchn](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@firstchn](https://forum.rasa.com/u/firstchn)\
**Post date:** [August 20, 2021, 10:24am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/19 "2021-08-20T10:24:20Z")

</div>

@nik202 will install all of it again, please keep helping me if im still got error 🙂

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 20, 2021, 10:25am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/20 "2021-08-20T10:25:09Z")

</div>

@firstchn you need to see every step and for this error delete .db files and run rasa x

---

<div class="post-metadata">

**Author:** ![firstchn](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@firstchn](https://forum.rasa.com/u/firstchn)\
**Post date:** [August 20, 2021, 10:27am UTC](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594/21 "2021-08-20T10:27:20Z")

</div>

@nik202

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/b/2/b23f494330450ac34d4460cdee233e66647f7696.png)i delete all .db files nik

[Next page](https://forum.rasa.com/t/error-when-run-command-rasa-x/46594.md?page=2)
