-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
When recreating my dev env, I ran into some problems which ended up being caused by some lines in the wsgi file.
the lines above, found at https://github.com/apel/monitoring/blob/5660033c9937458fa20493f9db8dca57b64a382f/monitoring/wsgi.py#L16, seem to be very out of date and refer to an older way of activating virtual environments using virtualenv. Modern venv environments don't include the activate_this file, so it was causing errors (a 500 internal server error) when I was trying to run the django server. Removing those lines from the wsgi file fixed the issue for me locally.
https://modwsgi.readthedocs.io/en/develop/user-guides/virtual-environments.html
https://stackoverflow.com/questions/27462582/how-can-i-activate-a-pyvenv-virtualenv-from-within-python-activate-this-py-was
GrahamDumpleton/mod_wsgi#823
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working