This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amirouche
Recipients amirouche, vstinner
Date 2021-01-11.15:01:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610377264.56.0.730653513784.issue42891@roundup.psfhosted.org>
In-reply-to
Content
You need to run the program with the following:

  python -X dev -c "from gunicorn.app.wsgiapp import run; run()" --workers=1 foobar:app

where foobar.py is the code from the previous message.

The crash happen when, the function `app` is executed, hence you need to call in another console:

curl http://localhost:8000

note: lsm package can be installed with pip install lsm-db
note2: lsm db can not be installed with py3.9
History
Date User Action Args
2021-01-11 15:01:04amirouchesetrecipients: + amirouche, vstinner
2021-01-11 15:01:04amirouchesetmessageid: <1610377264.56.0.730653513784.issue42891@roundup.psfhosted.org>
2021-01-11 15:01:04amirouchelinkissue42891 messages
2021-01-11 15:01:04amirouchecreate