mod_wsgi icon indicating copy to clipboard operation
mod_wsgi copied to clipboard

PermissionError PermissionError: [WinError 5] Access is denied Traceback (most recent call last) PermissionError: [WinError 5] Access is denied The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error. To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side. You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection

Open Praveen240 opened this issue 2 years ago • 1 comments

Praveen240 avatar Apr 02 '23 00:04 Praveen240

Better details in https://github.com/GrahamDumpleton/mod_wsgi/issues/737#issuecomment-1493183658

I am not a Windows user and so not familiar with all the strange ways it may fail, but as the messages say, it sort of indicates that the service user that Apache runs your Python code as under mod_wsgi doesn't have the required permissions to access or run the program you want to run.

GrahamDumpleton avatar Apr 04 '23 07:04 GrahamDumpleton