How's it going guys,
Getting an error when attempting to send_file a generated xlsx from xlsxwriter through BytesIO
SystemError: <built-in function uwsgi_sendfile> returned a result with an error set
Did some digging and found some information on the issue:
Adding the wsgi-disable-file-wrapper = true flag to the uwsgi.ini file seems to be the fix that has been proposed from what I have read.
Is it possible to add flags to the uswgi config through wsgi.py or any other means or should I just rewrite the app to output to csv ?