Got stuck when using command rasa shell

Using TensorFlow backend. Bot loaded. Type a message and press enter (use ‘/stop’ to exit): 2020-04-04 19:36:18 ERROR asyncio - Task exception was never retrieved future: <Task finished coro=<configure_app..run_cmdline_io() done, defined at /Users/hsiayu/Library/Python/3.7/lib/python/site-packages/rasa/core/run.py:115> exception=RuntimeError(‘this event loop is already running.’)> Traceback (most recent call last): File “/Users/hsiayu/Library/Python/3.7/lib/python/site-packages/rasa/core/run.py”, line 119, in run_cmdline_io server_url=constants.DEFAULT_SERVER_FORMAT.format(port) File “/Users/hsiayu/Library/Python/3.7/lib/python/site-packages/rasa/core/channels/console.py”, line 128, in record_messages text = get_cmd_input(button_question) File “/Users/hsiayu/Library/Python/3.7/lib/python/site-packages/rasa/core/channels/console.py”, line 75, in get_cmd_input style=Style([(“qmark”, “#b373d6”), ("", “#b373d6”)]), File “/Users/hsiayu/Library/Python/3.7/lib/python/site-packages/questionary/question.py”, line 45, in ask return self.unsafe_ask(patch_stdout) File “/Users/hsiayu/Library/Python/3.7/lib/python/site-packages/questionary/question.py”, line 59, in unsafe_ask return self.application.run() File “/Users/hsiayu/Library/Python/3.7/lib/python/site-packages/prompt_toolkit/application/application.py”, line 812, in run self.run_async(pre_run=pre_run, set_exception_handler=set_exception_handler) File “uvloop/loop.pyx”, line 1450, in uvloop.loop.Loop.run_until_complete File “uvloop/loop.pyx”, line 1443, in uvloop.loop.Loop.run_until_complete File “uvloop/loop.pyx”, line 1351, in uvloop.loop.Loop.run_forever File “uvloop/loop.pyx”, line 480, in uvloop.loop.Loop._run RuntimeError: this event loop is already running. Your input -> hello

The process got stuck when using command rasa shell and I don’t know how to fix it. Btw, command rasa nlu works successfully.

Hi, what version of Rasa Open Source are you using and what are your Python version and operating system? And when you say “command rasa nlu works successfully”, you mean rasa shell nlu?

I posted my observation and solution here: when i used "rasa shell", get this message "RuntimeError: this event loop is already running. " · Issue #6356 · RasaHQ/rasa · GitHub If you solve it too, can contribute to that thread