Note that there are some explanatory texts on larger screens.

plurals
  1. POCelery in Django (RabbitMQ vs. Django Database)
    text
    copied!<p>I am trying to set up Django with Celery so I can send bulk emails in the background.</p> <p>I am a little confused about how the different components play into Celery. Do I need to use RabbitMQ? Can I just "django-kombu" to run Celery? (<a href="http://ask.github.com/celery/tutorials/otherqueues.html#django-database" rel="nofollow">http://ask.github.com/celery/tutorials/otherqueues.html#django-database</a>)</p> <p>I started with "First Steps with Django" in the django-celery docs (<a href="http://django-celery.readthedocs.org/en/latest/getting-started/first-steps-with-django.html" rel="nofollow">http://django-celery.readthedocs.org/en/latest/getting-started/first-steps-with-django.html</a>), but when I get to "Running the celery worker server" this happens:</p> <pre><code>$ python manage.py celeryd -l info [2011-09-02 18:35:00,150: WARNING/MainProcess] -------------- celery@Sauls-MacBook.local v2.3.1 ---- **** ----- --- * *** * -- [Configuration] -- * - **** --- . broker: amqplib://guest@localhost:5672/ - ** ---------- . loader: djcelery.loaders.DjangoLoader - ** ---------- . logfile: [stderr]@INFO - ** ---------- . concurrency: 2 - ** ---------- . events: OFF - *** --- * --- . beat: OFF -- ******* ---- --- ***** ----- [Queues] -------------- . celery: exchange:celery (direct) binding:celery [Tasks] . tasks.add [2011-09-02 18:35:00,213: INFO/PoolWorker-2] child process calling self.run() [2011-09-02 18:35:00,214: INFO/PoolWorker-1] child process calling self.run() [2011-09-02 18:35:00,229: WARNING/MainProcess] celery@Sauls-MacBook.local has started. [2011-09-02 18:35:00,276: ERROR/MainProcess] Consumer: Connection Error: [Errno 61} Connection refused. Trying again in 2 seconds... [2011-09-02 18:35:02,283: ERROR/MainProcess] Consumer: Connection Error: [Errno 61] Connection refused. Trying again in 4 seconds... </code></pre> <p>Then I have to quit the process...</p>
 

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