Note that there are some explanatory texts on larger screens.

plurals
  1. POWhen running Celery with Django's manage.py command, it returns a strange error
    text
    copied!<p>When I run the following command, it produces the following error:</p> <pre><code>% python manage.py celeryd -l INFO ~/Workspace/django-projects/project/src Traceback (most recent call last): File "manage.py", line 11, in &lt;module&gt; execute_manager(settings) File "/home/damon/Workspace/django-projects/project/env/lib/python2.6/site-packages/django/core/management/__init__.py", line 438, in execute_manager utility.execute() File "/home/damon/Workspace/django-projects/project/env/lib/python2.6/site-packages/django/core/management/__init__.py", line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/damon/Workspace/django-projects/project/env/lib/python2.6/site-packages/django/core/management/__init__.py", line 261, in fetch_command klass = load_command_class(app_name, subcommand) File "/home/damon/Workspace/django-projects/project/env/lib/python2.6/site-packages/django/core/management/__init__.py", line 67, in load_command_class module = import_module('%s.management.commands.%s' % (app_name, name)) File "/home/damon/Workspace/django-projects/project/env/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module __import__(name) File "/home/damon/Workspace/django-projects/project/env/lib/python2.6/site-packages/djcelery/management/commands/celeryd.py", line 13, in &lt;module&gt; class Command(CeleryCommand): File "/home/damon/Workspace/django-projects/project/env/lib/python2.6/site-packages/djcelery/management/commands/celeryd.py", line 17, in Command option_list = CeleryCommand.option_list + worker.get_options() File "/home/damon/Workspace/django-projects/project/env/lib/python2.6/site-packages/celery/bin/celeryd.py", line 89, in get_options conf = self.app.conf AttributeError: 'NoneType' object has no attribute 'conf' </code></pre> <p>Here's the version information:</p> <pre><code>% python ~/Workspace/django-projects/project/src Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import celery &gt;&gt;&gt; print celery.VERSION (2, 2, 0, 'a1') &gt;&gt;&gt; import djcelery &gt;&gt;&gt; print djcelery.VERSION (2, 2, 0, 'a1') </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload