Issues in running celery

Hi,

We are running our own instance of commcare-hq. We took latest app from
github and tried running it and faced the below issues in celery task.

Message Error: Couldn’t apply scheduled task
corehq.apps.receiverwrapper.tasks.check_repeaters: ‘module’ object has no
attribute 'entry_to_queue’
Message Error: Couldn’t apply scheduled task
corehq.apps.receiverwrapper.tasks.check_inline_form_repeaters: 'module’
object has no attribute 'entry_to_queue’
Message Error: Couldn’t apply scheduled task soil.tasks.heartbeat: 'module’
object has no attribute 'entry_to_queue’
Message Error: Couldn’t apply scheduled task
corehq.apps.reminders.tasks.fire_reminders: ‘module’ object has no
attribute ‘entry_to_queue’

Any help to fix this issue is appreciated.

Thanks,
Sathish

Hi Sathish

Hi,

We are running our own instance of commcare-hq. We took latest app from
github and tried running it and faced the below issues in celery task.

Message Error: Couldn’t apply scheduled task
corehq.apps.receiverwrapper.tasks.check_repeaters: ‘module’ object has no
attribute ‘entry_to_queue’
Message Error: Couldn’t apply scheduled task
corehq.apps.receiverwrapper.tasks.check_inline_form_repeaters: ‘module’
object has no attribute ‘entry_to_queue’
Message Error: Couldn’t apply scheduled task soil.tasks.heartbeat:
‘module’ object has no attribute ‘entry_to_queue’
Message Error: Couldn’t apply scheduled task
corehq.apps.reminders.tasks.fire_reminders: ‘module’ object has no
attribute ‘entry_to_queue’

I’ve never seen this error, but it looks like some kind of celery version
incompatibily.

Cory

··· On Thu, Jul 5, 2012 at 9:46 AM, sathish wrote:

Any help to fix this issue is appreciated.

Thanks,
Sathish

Hi Cory,

Yes, the bug was related to version mismatch between celery and kombu.
Installing kombu version 2.1.8 did the trick.

You may need to update the requirements.txt file with an entry for kombu (
kombu==2.1.8).

Thanks,
Sathish

··· On Friday, July 6, 2012 9:47:19 PM UTC+5:30, Cory Zue wrote: > > Hi Sathish > > On Thu, Jul 5, 2012 at 9:46 AM, sathish wrote: > >> Hi, >> >> We are running our own instance of commcare-hq. We took latest app from >> github and tried running it and faced the below issues in celery task. >> >> Message Error: Couldn't apply scheduled task >> corehq.apps.receiverwrapper.tasks.check_repeaters: 'module' object has no >> attribute 'entry_to_queue' >> Message Error: Couldn't apply scheduled task >> corehq.apps.receiverwrapper.tasks.check_inline_form_repeaters: 'module' >> object has no attribute 'entry_to_queue' >> Message Error: Couldn't apply scheduled task soil.tasks.heartbeat: >> 'module' object has no attribute 'entry_to_queue' >> Message Error: Couldn't apply scheduled task >> corehq.apps.reminders.tasks.fire_reminders: 'module' object has no >> attribute 'entry_to_queue' >> > > I've never seen this error, but it looks like some kind of celery version > incompatibily. > > https://github.com/celery/celery/issues/832 > > Cory > >> ........... >> >> Any help to fix this issue is appreciated. >> >> Thanks, >> Sathish >> > >

Hi Sathish,

Thank you for getting back to us with the solution to the issue you
were experiencing! I just updated our requirements.txt to reflect this
change, so you just saved lots of people lots of time.

We encourage any of you who works with our software to do the same,
either by email or with a pull request on github, to ensure that we
can share the time you spend solving issues with everyone else using
the platform.

Cheers,
Danny

··· 2012/7/9 sathish : > Hi Cory, > > Yes, the bug was related to version mismatch between celery and kombu. > Installing kombu version 2.1.8 did the trick. > > You may need to update the requirements.txt file with an entry for kombu > (kombu==2.1.8). > > Thanks, > Sathish > > On Friday, July 6, 2012 9:47:19 PM UTC+5:30, Cory Zue wrote: >> >> Hi Sathish >> >> On Thu, Jul 5, 2012 at 9:46 AM, sathish wrote: >>> >>> Hi, >>> >>> We are running our own instance of commcare-hq. We took latest app from >>> github and tried running it and faced the below issues in celery task. >>> >>> Message Error: Couldn't apply scheduled task >>> corehq.apps.receiverwrapper.tasks.check_repeaters: 'module' object has no >>> attribute 'entry_to_queue' >>> Message Error: Couldn't apply scheduled task >>> corehq.apps.receiverwrapper.tasks.check_inline_form_repeaters: 'module' >>> object has no attribute 'entry_to_queue' >>> Message Error: Couldn't apply scheduled task soil.tasks.heartbeat: >>> 'module' object has no attribute 'entry_to_queue' >>> Message Error: Couldn't apply scheduled task >>> corehq.apps.reminders.tasks.fire_reminders: 'module' object has no attribute >>> 'entry_to_queue' >> >> >> I've never seen this error, but it looks like some kind of celery version >> incompatibily. >> >> https://github.com/celery/celery/issues/832 >> >> Cory >>> >>> ........... >>> >>> Any help to fix this issue is appreciated. >>> >>> Thanks, >>> Sathish >> >> >