Hello everyone,
I'm new to django, and I want to use celery to spawn fffmpeg processes. I've installed django-celery with easy_install, added all configuration data, and now I'm facing following errors each time I want to start celeryd, or spawn workers:
[bonf1re@web344 myproject]$ python2.7 ./manage.py celeryd
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_from_command_line(sys.argv)
File "/home/bonf1re/webapps/django/lib/python2.7/django/core/management/__init__.py", line 443, in execute_from_command_line
utility.execute()
File "/home/bonf1re/webapps/django/lib/python2.7/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/bonf1re/lib/python2.7/djcelery/management/base.py", line 74, in run_from_argv
return super(CeleryCommand, self).run_from_argv(argv)
File "/home/bonf1re/webapps/django/lib/python2.7/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/home/bonf1re/lib/python2.7/djcelery/management/base.py", line 67, in execute
super(CeleryCommand, self).execute(*args, **options)
File "/home/bonf1re/webapps/django/lib/python2.7/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/home/bonf1re/lib/python2.7/djcelery/management/commands/celeryd.py", line 25, in handle
worker.run(*args, **options)
File "/home/bonf1re/lib/python2.7/celery-3.1.0a1-py2.7.egg/celery/bin/celeryd.py", line 162, in run
return self.app.Worker(
File "/home/bonf1re/lib/python2.7/kombu-2.4.7-py2.7.egg/kombu/utils/__init__.py", line 294, in __get__
value = obj.__dict__[self.__name__] = self.__get(obj)
File "/home/bonf1re/lib/python2.7/celery-3.1.0a1-py2.7.egg/celery/app/base.py", line 402, in Worker
return self.subclass_with_self('celery.apps.worker:Worker')
File "/home/bonf1re/lib/python2.7/celery-3.1.0a1-py2.7.egg/celery/app/base.py", line 370, in subclass_with_self
Class = symbol_by_name(Class)
File "/home/bonf1re/lib/python2.7/kombu-2.4.7-py2.7.egg/kombu/utils/__init__.py", line 81, in symbol_by_name
module = imp(module_name, package=package, **kwargs)
File "/usr/local/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/home/bonf1re/lib/python2.7/celery-3.1.0a1-py2.7.egg/celery/apps/worker.py", line 33, in <module>
from celery.worker import WorkController
File "/home/bonf1re/lib/python2.7/celery-3.1.0a1-py2.7.egg/celery/worker/__init__.py", line 22, in <module>
from celery import bootsteps
File "/home/bonf1re/lib/python2.7/celery-3.1.0a1-py2.7.egg/celery/bootsteps.py", line 15, in <module>
from kombu.common import ignore_errors
ImportError: cannot import name ignore_errors
Also, I wasn't able to find anything like that in Google. So, have anyone seen anything like this before?
thanks in advance,
Michael
asked
28 Oct '12, 12:03
Mee
1●1●1
accept rate:
0%
It sounds like the ignore_errors module is not on your python path. Check your path and add it if necessary to see if that helps. If it does, you will want to add it to your path when project is running as well. Please see our docs here for help with updating the path in your wsgi script.
@bmeyer71 thanks for help. It appeared that I used outdated version of kombu. Building kombu from git sources helped.
@Mee You are very welcome. Glad you got it sorted out.