Questions tagged [djcelery]

For questions about djcelery, the django-celery pluggable app for Celery integration with Django.

djcelery refers to pluggable app for Celery integration with Django.

122 questions
0
votes
1 answer

Celery : prevent working for same name function without delay

I'm using Redis and Celery together for django project. [Pre-Condition] django==1.5.4 Redis==2.2.4 Celery==3.0.23 django-redis==3.7.1 django-celery==3.0.23 [Directory Structure] Project/ apps/ app_1/ views.py …
Chemical Programmer
  • 4,352
  • 4
  • 37
  • 51
0
votes
0 answers

Django Celery and Django Debug Toolbar confilcts

I have followed the celery documentation. yesterday i am able to update the Djcelery models in my Django admin. But today i am not able to update those models. I installed Django toolbar yesterday does it have any impact on functionality Below is…
nitansh bareja
  • 292
  • 3
  • 5
  • 17
0
votes
1 answer

Current version of celery and django-celery don't seem compatible

So I currently have installed Celery 3.1.8 (Cipater) and Djcelery 3.1.1 but following the tutorial causes my site to crash So this tutorial http://docs.celeryproject.org/en/master/django/first-steps-with-django.html#django-first-steps I pretty much…
Jared Joke
  • 1,226
  • 2
  • 18
  • 29
0
votes
2 answers

Django & Celery using manage.py

I'm using Django 1.6 and Celery 3.1.1 Back when the django-celery app was required I didn't seem to have a problem. Using the new method of running celery, I can get it to work, but I can't seem to get celerycam working. If try to run ./manage.py…
Dustin
  • 3,965
  • 5
  • 27
  • 33
0
votes
1 answer

Celery task bad return when using update_state

I have a celery task which updates it's state multiple times while it's running with: current_task.update_state(state='STARTED', meta={'doing': "some message"},) When this task returns: return row # row is a Django model instance The return value…
mpaf
  • 6,597
  • 6
  • 38
  • 42
0
votes
0 answers

Celery worker raise ImportError when using Django as the broker and the result backend

I want to run celery in my development machine with the django as both the Broker and Result Backend (using djcelery). i followed the getting started instructions from the celery documentation but when i run the command: celery -A excelery worker -l…
0
votes
2 answers

Django+celery: how to show worker logs on the web server

I'm using Django+celery for my 1st ever web development project, and rabbitmq as the broker. My celery workers are running on a different system from the web server and are executing long-running tasks. During the task execution, the task output…
0
votes
1 answer

Celery not automatically starting on Amazon Linux AMI 2013.03.1

I can't seem to automatically bootup my celeryd script located in /etc/init.d/celeryd everytime my Amazon Linux AMI 2013.03.1 machine is booted. I have to automatically do /etc/init.d/celeryd start . However, it boots perfectly and work right…
abisson
  • 4,365
  • 9
  • 46
  • 68
0
votes
1 answer

freeswitch python scripts errno 10 no child processes

I' ve got an issue when running freeswitch with some python scripts inside dialplan using django.db models. Whenever it starts it causes errors: freeswitch@ubuntu> 2013-08-15 06:56:08.094348 [ERR] mod_python.c:231 Error importing module 2013-08-15…
Piotrek Janus
  • 83
  • 1
  • 7
0
votes
1 answer

How to call a task at the end of the execution of each chunk in celery?

I'm trying to update some aggregate data at the completion of a chunk of tasks. It's basically the concept of a chord being implemented at the end of a chunk. How do I implement this?
manu
  • 1,072
  • 1
  • 14
  • 26
0
votes
2 answers

Celery, Django, Heroku -- ImportError: No module named tasks

I am trying to run celery with IronMQ and cache in a Django project on Heroku but I am receiving the following: 2013-04-14T22:29:17.479887+00:00 app[celeryd.1]: ImportError: No module named tasks What am I doing wrong? The following is my relevant…
user2270029
  • 871
  • 14
  • 27
0
votes
1 answer

Django Celerybeat PeriodicTask running far more than expected

I'm struggling with Django, Celery, djcelery & PeriodicTasks. I've created a task to pull a report for Adsense to generate a live stat report. Here is my task: import datetime import httplib2 import logging from apiclient.discovery import…
Dustin
  • 3,965
  • 5
  • 27
  • 33
0
votes
1 answer

Number of celery tasks executed at a given point of time

I am trying to create a bunch of celery tasks asynchronously on the fly. Say there are 1000 tasks I start asynchronously and I have only one celeryd process running to execute tasks. How many threads will be created by celery to handle these…
0
votes
1 answer

result.ready() isn't work as expected in django celery?

I have a django celery view which do the certain task and after the task has been completed successfully write that in database. I am doing this: result = file.delay(password, source12, destination) And, if result.successful() is True: …
pynovice
  • 7,424
  • 25
  • 69
  • 109
0
votes
1 answer

Django Import Task

I have a tasks.py file with 3 methods defined within it. and in my views.py file I am trying to import these methods to be called from a view. from app.tasks import generate_standalone_view, generate_primary_investment_management_view,…
dnaluz
  • 135
  • 1
  • 10
1 2 3
8
9