Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start command incorrect #4

Open
iammattmartin opened this issue May 31, 2022 · 1 comment
Open

Start command incorrect #4

iammattmartin opened this issue May 31, 2022 · 1 comment

Comments

@iammattmartin
Copy link

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?

@chroussakis
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants