> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To post to this group, send email to pylons-...@googlegroups.com.
> To unsubscribe from this group, send email to
> pylons-discus...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
What was missing and I'll add the instructions? I'll make a release on
pypi in a week or two, just wanted to get some people on the mailing
list using it out of git for a little bit before I made it "official".
Hello list,
Le 11/01/12 08:35, John Anderson a écrit :
> What was missing and I'll add the instructions? I'll make a release on
> pypi in a week or two, just wanted to get some people on the mailing
> list using it out of git for a little bit before I made it "official".
I too am a first-time user of pyramid_celery, celery and rabbitmq.
I managed to run RabbitMQ and connect it to Celery, creating a
"celeryconfig.py" file in the process :
> (pyramid)[daverio@myhost cmr2]$ celeryd --loglevel=INFO
> [2012-01-16 11:26:14,081: WARNING/MainProcess]
>
> -------------- cel...@myhost.fr v2.4.6
> ---- **** -----
> --- * *** * -- [Configuration]
> -- * - **** --- . broker: amqp://cmr@localhost:5672//
> - ** ---------- . loader: celery.loaders.default.Loader
> - ** ---------- . logfile: [stderr]@INFO
> - ** ---------- . concurrency: 4
> - ** ---------- . events: OFF
> - *** --- * --- . beat: OFF
> -- ******* ----
> --- ***** ----- [Queues]
> -------------- . celery: exchange:celery (direct) binding:celery
>
>
> [Tasks]
> . cmr2.tasks.add
However, it appears that "pceleryd" is not using it, as queue parameters
seem to revert to their default values:
> (pyramid)[daverio@myhost cmr2]$ pceleryd development.ini
> [2012-01-16 11:27:19,218: WARNING/MainProcess]
>
> -------------- cel...@myhost.fr v2.4.6
> ---- **** -----
> --- * *** * -- [Configuration]
> -- * - **** --- . broker: amqp://guest@localhost:5672//
> - ** ---------- . loader: pyramid_celery.PyramidLoader
> - ** ---------- . logfile: [stderr]@WARNING
> - ** ---------- . concurrency: 4
> - ** ---------- . events: OFF
> - *** --- * --- . beat: OFF
> -- ******* ----
> --- ***** ----- [Queues]
> -------------- . celery: exchange:celery (direct) binding:celery
>
>
> [2012-01-16 11:27:19,248: WARNING/MainProcess] cel...@myhost.fr has started.
> [2012-01-16 11:27:22,263: ERROR/MainProcess] Consumer: Connection Error: Socket closed. Trying again in 2 seconds...
So, maybe you could add a line or two about how to configure Celery with
pyramid_celery.
Thanks for all,
Laurent.
Overall nice work, I will test it soon on a small app I have on
production to see how it handles.
Regards,
Carlos Daniel Ruvalcaba