You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/local/lib/python2.7/dist-packages/celery/app/defaults.py:245: CPendingDeprecationWarning:
The 'BROKER_PASSWORD' setting is scheduled for deprecation in version 2.5 and removal in version v4.0. Use the BROKER_URL setting instead
alternative='Use the {0.alt} instead'.format(opt))
Traceback (most recent call last):
File "/usr/local/bin/celery", line 9, in <module>
load_entry_point('celery==3.1.8', 'console_scripts', 'celery')()
File "/usr/local/lib/python2.7/dist-packages/celery/__main__.py", line 30, in main
main()
File "/usr/local/lib/python2.7/dist-packages/celery/bin/celery.py", line 80, in main
cmd.execute_from_commandline(argv)
File "/usr/local/lib/python2.7/dist-packages/celery/bin/celery.py", line 746, in execute_from_commandline
super(CeleryCommand, self).execute_from_commandline(argv)))
File "/usr/local/lib/python2.7/dist-packages/celery/bin/base.py", line 308, in execute_from_commandline
return self.handle_argv(self.prog_name, argv[1:])
File "/usr/local/lib/python2.7/dist-packages/celery/bin/celery.py", line 738, in handle_argv
return self.execute(command, argv)
File "/usr/local/lib/python2.7/dist-packages/celery/bin/celery.py", line 692, in execute
).run_from_argv(self.prog_name, argv[1:], command=argv[0])
File "/usr/local/lib/python2.7/dist-packages/celery/bin/worker.py", line 175, in run_from_argv
return self(*args, **options)
File "/usr/local/lib/python2.7/dist-packages/celery/bin/base.py", line 271, in __call__
ret = self.run(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/celery/bin/worker.py", line 208, in run
state_db=self.node_format(state_db, hostname), **kwargs
File "/usr/local/lib/python2.7/dist-packages/celery/worker/__init__.py", line 100, in __init__
self.setup_instance(**self.prepare_args(**kwargs))
File "/usr/local/lib/python2.7/dist-packages/celery/worker/__init__.py", line 131, in setup_instance
signals.worker_init.send(sender=self)
File "/usr/local/lib/python2.7/dist-packages/celery/utils/dispatch/signal.py", line 150, in send
response = receiver(signal=self, sender=sender, **named)
File "/usr/local/lib/python2.7/dist-packages/celery/fixups/django.py", line 61, in on_worker_init
self._worker_fixup = DjangoWorkerFixup(self.app).install()
File "/usr/local/lib/python2.7/dist-packages/celery/fixups/django.py", line 151, in install
self.validate_models()
File "/usr/local/lib/python2.7/dist-packages/celery/fixups/django.py", line 137, in validate_models
from django.core.management.validation import get_validation_errors
ImportError: No module named validation
I cannot start the worker when following the tutorial to integrate Celery with Django : A Python exception is raised (http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html). Thanks for your help.
Ubuntu 13.10 x86 | Linux 3.11.0-15-generic | Python 2.7.5+ | Celery 3.1.8 | Django 1.7a1
Django from : https://github.com/davidfischer-ch/django/tree/fixes
$ celery -A HomeMadeEdition worker -l info
$ celery -A HomeMadeEdition report
The text was updated successfully, but these errors were encountered: