implementation-examples icon indicating copy to clipboard operation
implementation-examples copied to clipboard

Start command incorrect

Open iammattmartin opened this issue 3 years ago • 1 comments

Running through rasa docs:

root@rasa:~/rasa-agent-bot-demo# python3 -m gunicorn --workers=1 test:app -b 0.0.0.0
[2022-05-31 19:26:51 +0000] [5041] [INFO] Starting gunicorn 20.1.0
[2022-05-31 19:26:51 +0000] [5041] [INFO] Listening at: http://0.0.0.0:8000 (5041)
[2022-05-31 19:26:51 +0000] [5041] [INFO] Using worker: sync
[2022-05-31 19:26:51 +0000] [5043] [INFO] Booting worker with pid: 5043
Failed to find attribute 'app' in 'test'.
[2022-05-31 19:26:51 +0000] [5043] [INFO] Worker exiting (pid: 5043)
[2022-05-31 19:26:51 +0000] [5041] [INFO] Shutting down: Master
[2022-05-31 19:26:51 +0000] [5041] [INFO] Reason: App failed to load.

Could the docs please be updated?

iammattmartin avatar May 31 '22 19:05 iammattmartin

You have to run the following command: python3 -m gunicorn --workers=1 rasa_flask_router:app -b 0.0.0.0

I also had a problem with the package markupsafe

I had to install the following version:

pip install markupsafe==2.0.1

chroussakis avatar May 16 '24 22:05 chroussakis