Rasa x is not working

Hi,

I have installed rasa-x and unable to use rasa x. Getting the attached errors while trying to use. Rasa Version : 2.8.16 Minimum Compatible Version: 2.8.9 Rasa SDK Version : 2.8.2 Rasa X Version : 1.0.1 Python Version : 3.8.8

Unable to see models also.rasa x errors.txt (33.2 KB)

@ramyanarwa Is that you updated the rasa x from older version to new. If so please first train the model using rasa train --debug , delete older model and then run rasa x.

Note:

Version of model 20211202-200604.tar.gz version is not compatible. The model was trained with Rasa version 2.8.10 but the current Rasa requires a minimum version of None. Please retrain your model with a more recent Rasa version.

This error means that you have trained the model based on rasa 2.8.10 and as per your first post version its 2.8.16, so please train the model and you are good to go.

Thank you @nik202.

I have retrained the model after deleting the older ones but still getting the rror. Version of model 20211222-212554.tar.gz version is not compatible. The model was trained with Rasa version 2.8.16 but the current Rasa requires a minimum version of None. Please retrain your model with a more recent Rasa version.

What about the other erors: socket.gaierror: [Errno 11001] getaddrinfo failed raise RuntimeError(‘Event loop is closed’) rasax.community.utils.common - Could not complete the coroutine: ‘’.

The active model doesn’t show up in the model tab of rasa x. Is that because of the same error?

@ramyanarwa upgrade rasa-sdk with at least 2.8.9 at least pip install rasa-sdk==2.8.9 and re-train and run.

@nik202 getting the below error

ERROR: Could not find a version that satisfies the requirement rasa-sdk==2.8.9 (from versions: 1.0.0rc3, 1.0.0rc4, 1.0.0, 1.1.0, 1.1.1, 1.2.0, 1.3.0a1, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0, 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.7.0, 1.8.0, 1.8.1, 1.9.0, 1.10.0a1, 1.10.0, 1.10.1, 1.10.2, 1.10.3, 2.0.0a1, 2.0.0a2, 2.0.0a3, 2.0.0a4, 2.0.0a5, 2.0.0rc1, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.2.0a1, 2.2.0, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 3.0.0rc1, 3.0.0rc3, 3.0.0, 3.0.1, 3.0.2) ERROR: No matching distribution found for rasa-sdk==2.8.9

@ramyanarwa means rasa doesn’t have 2.8.9 please check this and met the compatibility : Compatibility Matrix

OR downgrade rasa to 2.8.14?

@nik202 , I have downgraded all of them using the compatibility matrix

Rasa Version : 2.8.14

Minimum Compatible Version: 2.8.9

Rasa SDK Version : 2.8.3

Rasa X Version : 0.42.6

But now getting another error

alembic.script.revision.ResolutionError: No such revision or branch ‘aa5425a6efca’

How can I resolve this error?

@ramyanarwa delete .db file from the project folder i.e events and rasa and run rasa x.

@ramyanarwa confirm are you able to train model?

@nik202 I’m able to train the model. I have deleted the .db files and getting the below error now.

@ramyanarwa confirm me that your rasa x is opening in the default browser and you can talk? If yes then this persists issue and the rasa team is aware of this issue.

No @nik202 rasa x is not opening and I’m not able to talk.

@ramyanarwa :flushed: share me rasa --version and clear all the cache and cookies from your default browser.

@ramyanarwa did you run the evaluation for your project? I can see the results folder and you not even created the python environment in anaconda ? any specific reason for that?

@nik202

Rasa Version : 2.8.14 Minimum Compatible Version: 2.8.9 Rasa SDK Version : 2.8.3 Rasa X Version : 0.42.6 Python Version : 3.8.8

After clearing cache:

In Error when executing " rasa x" command · Issue #7029 · RasaHQ/rasa · GitHub there is a solution to “set enviroment variable for http_proxy and https_proxy it might solve the problem”. How can we do this?

@ramyanarwa you can try but this will not solve the issue I guess.

  1. SET http_proxy=http://localhost:5002
  2. SET https_proxy=http://localhost:5002

@ramyanarwa Best available solution on the forum is this one: Rasa X runs with several Errors & Warnings - #2 by nik202 [updated]

If you want to explore, please create the new conda environment and then proceed with the above thread, without disturbing your current environment.

Tip: The best practice is to create the environment always and then try to work, else if you update something in the base conda it can disturb your whole working project.

Yes @nik202 didn’t solve the issue.

@nik202 will changing the proxy effect other things? How can I undo that?

@ramyanarwa Yes, I know because its a persistent issue on latest version of Rasa X greater than 0.39.3 installation for window and even me using rasa 0.39.3 for my Window Machine. I had suggested your the alternative solution and tips, if you like you can try.

@ramyanarwa It will not in current scenarios as its working on port 5002, so please next time create the conda environment and install rasa, you can ref rasa youtube channel for the same.

Ref: Installing Rasa Open Source: Windows 10 (Updated 2021) - YouTube Only for installing rasa open source [updated2021]

@nik202 I have created the virtual environment and working in that envi only.

@ramyanarwa I am saying because on the image you shared (screenshot above) or you run the command without activating ?

In screenshot (base) is mention so its not an environment.

@nik202 Do I have to activate it everytime? I just to go the root folder and work on it.