Hello,
i run an app in an virtualenv, installed reportlab via pip. Inside the app i want to create a pdf file.
I then reloaded the application and tried do create the pdf via my app, but i ran into the following error.
2020-11-28 16:50:35,564: Error running WSGI application
2020-11-28 16:50:35,572: SystemError: <built-in function uwsgi_sendfile> returned a result with an error set
2020-11-28 16:50:35,572: File "/home/****/.virtualenvs/****venv/lib/python3.8/site-packages/django/core/handlers/wsgi.py", line 148, in __call__
2020-11-28 16:50:35,573: response = environ['wsgi.file_wrapper'](response.file_to_stream, response.block_size)
All other sides and functions are working as expected. Only the pdf file is not created.
[edit by admin: formatting]