WebFaction
Community site: login faq

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
111
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.

(28 Oct '12, 12:36) bmeyer71 ♦♦

@bmeyer71 thanks for help. It appeared that I used outdated version of kombu. Building kombu from git sources helped.

(30 Oct '12, 16:39) Mee

@Mee You are very welcome. Glad you got it sorted out.

(30 Oct '12, 16:47) bmeyer71 ♦♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×910
×108
×21
×3

question asked: 28 Oct '12, 12:03

question was seen: 4,483 times

last updated: 30 Oct '12, 16:47

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM