Rasa interactive not working

Hello!

Rasa interactive is not working. Displays the messages:

rasa.core.training.interactive  - An exception occurred while recording messages

and

asyncio  - Task exception was never retrieved
future: <Task finished name='Task-27' coro=<_serve_application.<locals>.run_interactive_io() done, defined at /home/antonio/anaconda3/envs/helper_bot/lib/python3.8/site-packages/rasa/core/training/interactive.py:1577> exception=RuntimeError('this event loop is already running.')>

I’m using the rasa versions:

Rasa Version      :         2.7.0  
Minimum Compatible Version: 2.6.0  
Rasa SDK Version  :         2.7.0  
Rasa X Version    :         None  
Python Version    :         3.8.10  
Operating System  :         Linux-5.11.0-18-generic-x86_64-with-glibc2.17   
Python Path       :         /home/antonio/anaconda3/envs/helper_bot/bin/python  

When I type intent at the shell prompt it doesn’t respond.

The browser shows the graph, but nothing happens.

Thanks for any help.

Antonio

@antoniojpprado Can you create new environment and install 2.6.0 versions or at the time of installing the rasa version, did you missed some compatibility warning? Do check the codes that it should also met yml format. Delete the all the models and re-train the model. Are you able to run rasa shell or rasa run actions commands?

Please share the full screen error screenshot.

@nik202 I found that running the Rasa Shell was also compromised. So I followed the suggestion to create a new environment and that solved the problem. Certainly something went unnoticed in the first installation, which compromised the functioning.

Thanks!

1 Like

Congrts @antoniojpprado If you have any more doubts, shout it :slight_smile: