From 91380fa7f7f218ae056cb26fcde96d6a443fd938 Mon Sep 17 00:00:00 2001 From: Serg Date: Mon, 4 Nov 2019 20:07:11 +0300 Subject: [PATCH] Troubleshooting added Troubleshooting about TypeError: argument must be an int, or have a fileno() method added --- docs/index.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/index.rst b/docs/index.rst index fa36ad3..a3bc35b 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -177,6 +177,17 @@ MongoDB-style dotted expressions. :members: + +Troubleshooting +--------------- + +If you have problem like ``TypeError: argument must be an int, or have a fileno() method`` you should run uwsgi with the ``--wsgi-disable-file-wrapper`` flag or add the following entry in your **uwsgi.ini** file: + +.. code-block:: bash + + wsgi-disable-file-wrapper = true + + History and Contributors ------------------------