I am getting the following error when using Flask send_file() in python 3.
return environ.get('wsgi.file_wrapper', FileWrapper)(file, buffer_size)
SystemError: <built-in function uwsgi_sendfile> returned a result with an error set
When I use --wsgi-disable-file-wrapper things work. This is with the newest version of Flask.
Most helpful comment
When I use
--wsgi-disable-file-wrapperthings work. This is with the newest version of Flask.