[2016-02-14 17:23:10 +0000] [4605] [ERROR] Exception in worker process:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line
515, in spawn_worker
worker.init_process()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py",
line 122, in init_process
self.load_wsgi()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py",
line 130, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line
67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/djangoapp.py",
line 141, in load
mod = util.import_module("gunicorn.app.django_wsgi")
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
import_module
__import__(name)
File "/usr/local/lib/python2.7/dist-
packages/gunicorn/app/django_wsgi.py", line 21, in
from django.core.management.validation import get_validation_errors
ImportError: No module named validation
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line
515, in spawn_worker
worker.init_process()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py",
line 122, in init_process
self.load_wsgi()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py",
line 130, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line
67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/djangoapp.py",
line 141, in load
mod = util.import_module("gunicorn.app.django_wsgi")
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
import_module
__import__(name)
File "/usr/local/lib/python2.7/dist-
packages/gunicorn/app/django_wsgi.py", line 21, in
from django.core.management.validation import get_validation_errors
ImportError: No module named validation
[2016-02-14 17:23:10 +0000] [4605] [INFO] Worker exiting (pid: 4605)
[2016-02-14 17:23:11 +0000] [4597] [INFO] Shutting down: Master
[2016-02-14 17:23:11 +0000] [4597] [INFO] Reason: Worker failed to boot.
root@localhost:~/unixytalk# pip install Django==1.9.2
Requirement already satisfied (use --upgrade to upgrade): Django==1.9.2 in
/usr/local/lib/python2.7/dist-packages
--
Ticket URL: <https://code.djangoproject.com/ticket/26222>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
* resolution: => invalid
Old description:
New description:
--
Comment:
Looks like you're using an older version of gunicorn that doesn't support
that latest version of Django. Please see
https://docs.djangoproject.com/en/stable/howto/deployment/wsgi/gunicorn/
and see TicketClosingReasons/UseSupportChannels if you need further help.
--
Ticket URL: <https://code.djangoproject.com/ticket/26222#comment:1>
Comment (by JonathanHayward):
I don't know what the problem is, but:
root@localhost:~# pip install gunicorn
Requirement already satisfied (use --upgrade to upgrade): gunicorn in
/usr/local/lib/python2.7/dist-packages
root@localhost:~# pip install --upgrade gunicorn
Requirement already up-to-date: gunicorn in /usr/local/lib/python2.7/dist-
packages
--
Ticket URL: <https://code.djangoproject.com/ticket/26222#comment:2>
Comment (by timgraham):
"`run_gunicorn`, `gunicorn_django` and `gunicorn_paster` are now
completely deprecated and will be removed in the next release. Use the
`gunicorn` command instead."
http://docs.gunicorn.org/en/stable/2014-news.html#deprecations
I'll follow up with a pull request to actually remove it.
--
Ticket URL: <https://code.djangoproject.com/ticket/26222#comment:3>