make apiserver actionserver x -j3
poetry run uvicorn api.main:app --host 0.0.0.0 --port 8002 --loop asyncio --reload --reload-dir api
poetry run rasa run actions
poetry run rasa x
INFO: Uvicorn running on http://0.0.0.0:8002 (Press CTRL+C to quit)
INFO: Started reloader process [3817] using watchgod
INFO: Started server process [3829]
INFO: Waiting for application startup.
INFO: Application startup complete.
2021-08-21 12:40:34 INFO rasa_sdk.endpoint - Starting action endpoint server…
2021-08-21 12:40:34 INFO rasa_sdk.executor - Registered function for ‘action_check_cart’.
2021-08-21 12:40:34 INFO rasa_sdk.executor - Registered function for ‘action_checkout’.
2021-08-21 12:40:34 INFO rasa_sdk.executor - Registered function for ‘action_clear_cart’.
2021-08-21 12:40:34 INFO rasa_sdk.executor - Registered function for ‘action_login’.
2021-08-21 12:40:34 INFO rasa_sdk.executor - Registered function for ‘action_order’.
2021-08-21 12:40:34 INFO rasa_sdk.executor - Registered function for ‘action_payment_success’.
2021-08-21 12:40:34 INFO rasa_sdk.executor - Registered function for ‘action_retry_payment’.
2021-08-21 12:40:34 INFO rasa_sdk.endpoint - Action endpoint is up and running on http://localhost:5055
Before you can use Rasa X, you have to agree to its license agreement (you will only have to do this once).
Warning: Input is not to a terminal (fd=0).
? Would you like to view the license agreement in your web browser? (Y/n)
Traceback (most recent call last):
File “/home/yx/.cache/pypoetry/virtualenvs/mcd-order-bot-cKSNAQWe-py3.8/lib/python3.8/site-packages/rasa/cli/x.py”, line 494, in run_locally
local.main(
File “/home/yx/.cache/pypoetry/virtualenvs/mcd-order-bot-cKSNAQWe-py3.8/lib/python3.8/site-packages/rasax/community/local.py”, line 212, in main
check_license_and_telemetry(args)
File “/home/yx/.cache/pypoetry/virtualenvs/mcd-order-bot-cKSNAQWe-py3.8/lib/python3.8/site-packages/rasax/community/local.py”, line 82, in check_license_and_telemetry
cli_utils.accept_terms_or_raise(args)
File “/home/yx/.cache/pypoetry/virtualenvs/mcd-order-bot-cKSNAQWe-py3.8/lib/python3.8/site-packages/rasax/community/utils/cli.py”, line 114, in accept_terms_or_raise
should_open_in_browser = questionary.confirm(
File “/home/yx/.cache/pypoetry/virtualenvs/mcd-order-bot-cKSNAQWe-py3.8/lib/python3.8/site-packages/questionary/question.py”, line 45, in ask
return self.unsafe_ask(patch_stdout)
File “/home/yx/.cache/pypoetry/virtualenvs/mcd-order-bot-cKSNAQWe-py3.8/lib/python3.8/site-packages/questionary/question.py”, line 59, in unsafe_ask
return self.application.run()
File “/home/yx/.cache/pypoetry/virtualenvs/mcd-order-bot-cKSNAQWe-py3.8/lib/python3.8/site-packages/prompt_toolkit/application/application.py”, line 736, in run
return run()
File “/home/yx/.cache/pypoetry/virtualenvs/mcd-order-bot-cKSNAQWe-py3.8/lib/python3.8/site-packages/prompt_toolkit/application/application.py”, line 710, in run
return f.result()
File “/home/yx/.cache/pypoetry/virtualenvs/mcd-order-bot-cKSNAQWe-py3.8/lib/python3.8/site-packages/prompt_toolkit/eventloop/future.py”, line 151, in result
raise self._exception
File “/home/yx/.cache/pypoetry/virtualenvs/mcd-order-bot-cKSNAQWe-py3.8/lib/python3.8/site-packages/prompt_toolkit/eventloop/coroutine.py”, line 92, in step_next
new_f = coroutine.throw(exc)
File “/home/yx/.cache/pypoetry/virtualenvs/mcd-order-bot-cKSNAQWe-py3.8/lib/python3.8/site-packages/prompt_toolkit/application/application.py”, line 685, in _run_async2
result = yield f
File “/home/yx/.cache/pypoetry/virtualenvs/mcd-order-bot-cKSNAQWe-py3.8/lib/python3.8/site-packages/prompt_toolkit/eventloop/coroutine.py”, line 92, in step_next
new_f = coroutine.throw(exc)
File “/home/yx/.cache/pypoetry/virtualenvs/mcd-order-bot-cKSNAQWe-py3.8/lib/python3.8/site-packages/prompt_toolkit/application/application.py”, line 637, in _run_async
result = yield From(f)
EOFError
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/.