1 | mod_wsgi (pid=545024): Exception occurred processing WSGI script '/srv/websites/digitaladvisor.nz/deploy/wsgi.py'.
|
---|
2 | Traceback (most recent call last):
|
---|
3 | File "/srv/websites/digitaladvisor.nz/deploy/wsgi.py", line 5, in <module>
|
---|
4 | from django.core.wsgi import get_wsgi_application
|
---|
5 | File "/srv/websites/digitaladvisor.nz/env/lib/python3.8/site-packages/django/core/wsgi.py", line 2, in <module>
|
---|
6 | from django.core.handlers.wsgi import WSGIHandler
|
---|
7 | File "/srv/websites/digitaladvisor.nz/env/lib/python3.8/site-packages/django/core/handlers/wsgi.py", line 5, in <module>
|
---|
8 | from django.core.handlers import base
|
---|
9 | File "/srv/websites/digitaladvisor.nz/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 12, in <module>
|
---|
10 | from django.utils.log import log_response
|
---|
11 | File "/srv/websites/digitaladvisor.nz/env/lib/python3.8/site-packages/django/utils/log.py", line 8, in <module>
|
---|
12 | from django.core.management.color import color_style
|
---|
13 | File "/srv/websites/digitaladvisor.nz/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 16, in <module>
|
---|
14 | from django.core.management.base import (
|
---|
15 | File "/srv/websites/digitaladvisor.nz/env/lib/python3.8/site-packages/django/core/management/base.py", line 14, in <module>
|
---|
16 | from django.core.management.color import color_style, no_style
|
---|
17 | File "/srv/websites/digitaladvisor.nz/env/lib/python3.8/site-packages/django/core/management/color.py", line 16, in <module>
|
---|
18 | colorama.init()
|
---|
19 | File "/srv/websites/digitaladvisor.nz/env/lib/python3.8/site-packages/colorama/initialise.py", line 38, in init
|
---|
20 | wrap_stream(orig_stdout, convert, strip, autoreset, wrap)
|
---|
21 | File "/srv/websites/digitaladvisor.nz/env/lib/python3.8/site-packages/colorama/initialise.py", line 76, in wrap_stream
|
---|
22 | wrapper = AnsiToWin32(stream,
|
---|
23 | File "/srv/websites/digitaladvisor.nz/env/lib/python3.8/site-packages/colorama/ansitowin32.py", line 92, in __init__
|
---|
24 | strip = conversion_supported or (not self.stream.closed and not self.stream.isatty())
|
---|
25 | File "/srv/websites/digitaladvisor.nz/env/lib/python3.8/site-packages/colorama/ansitowin32.py", line 59, in closed
|
---|
26 | return stream.closed
|
---|
27 | OSError: sys.stdout access restricted by mod_wsgi
|
---|