django-celery Questions

8

I am trying to use django-celery in my project In settings.py I have CELERY_RESULT_BACKEND = "amqp" The server started fine with python manage.py celeryd --setting=settings But if I want to ...
Collado asked 8/12, 2011 at 6:54

2

Solved

Although celery reports no problems at start and says it successfully connected to redis (see log), I get this error running celery inspect ping Traceback (most recent call last): File "/usr/...
Josselyn asked 18/8, 2022 at 9:37

9

Solved

I could make celery reload itself automatically when there is changes on modules in CELERY_IMPORTS in settings.py. I tried to give mother modules to detect changes even on child modules but it did...
Mccormac asked 9/2, 2014 at 22:53

3

Solved

I have some tasks which should return result, and some tasks that don't. I want to force tasks which shouldn't return result not to write anything in result backend (for example None). How can I ac...
Williwaw asked 25/11, 2016 at 16:1

5

Solved

How to use Django with AWS Elastic Beanstalk that would also run tasks by celery on main node only?

3

Solved

I am sorry if its basics but I did not find any answers on the Internet comparing these two technologies. How should I decide when to use which as both can be used to schedule and process periodic ...
Screenplay asked 26/11, 2019 at 14:8

4

Solved

Using Django 1.8, I'd like to trigger a delayed celery function after a form is saved in views def new_topic(request, forum_id): form = TopicForm() uid = request.user.id if request.method == 'P...
Hog asked 21/6, 2018 at 14:34

3

Solved

Trying to start Celery first time but issues error as below, i have installed redis and its starting fine , but still somehow django seems to have issues with it , File "<frozen importlib._...
Villasenor asked 30/11, 2021 at 3:54

5

I'm trying to write some unit tests for some celery tasks in my Django app. These tasks take a model id as the argument, do some stuff, and update the model. When running a devserver and celery wor...
Vernitavernoleninsk asked 28/2, 2014 at 20:51

2

Solved

I am using celery 2.4.1 with python 2.6, the rabbitmq backend, and django. I would like my task to be able to clean up properly if the worker shuts down. As far as I am aware you cannot supply a ta...
Variable asked 15/11, 2011 at 15:20

1

I tried reading official documentation as well as other SO threads, but it is still not clear how Celery works. From what I understand: Django app: Celery is installed in Django (or any app) where...
Karakul asked 12/5, 2023 at 19:33

4

After many days I have a working celery and celery beat task list, and the results are stored using django_celery_results. However when I look at the table record, it hasn't got any useful informat...
Cycloplegia asked 28/9, 2017 at 13:39

4

I keep getting this keyError. I'm sending strings and id (integers) to the task function, so I don't think it is serialization issue. Also it says the keyerror is on the path to the function itself...
Vambrace asked 25/2, 2012 at 10:47

4

Solved

I have some questions regarding running djcelery. When I run python manage.py celeryd --setting=settings The workers seem to have started but the warnings concern me: C:\Python27\lib\site-pac...
Impearl asked 8/12, 2011 at 6:12

2

I am using Celery and MongoEngine as part of my Django App with. I am getting this warning, when a celery @shared_task accesses the mongodb database via mongoengine model classes: UserWarning: Mo...
Outflank asked 23/5, 2017 at 11:24

14

Solved

I am using django-celery for my django project. Last day I have changed my computer's hostname (I am using Ubuntu 12.04, edited file '/etc/hostname'), and after next restart django-celery was faili...
Bruges asked 2/2, 2013 at 6:30

10

Solved

I'm using Celery to manage asynchronous tasks. Occasionally, however, the celery process goes down which causes none of the tasks to get executed. I would like to be able to check the status of cel...
Resa asked 14/12, 2011 at 15:17

4

Solved

Currently, I have periodic tasks set up with a Job Scheduler on my Azure instance. These are triggering API (Django) endpoints at fixed times. I want to make these times dynamic (which will not w...
Agamete asked 11/5, 2018 at 16:2

2

Solved

From my reading today, in all the examples I found I didn't see any where celery is in a completely separate container from Django itself. It seems as though Celery has to be in the same container ...
Alack asked 5/4, 2016 at 23:47

4

Solved

I am following the Celery First Steps tutorial here : http://celery.readthedocs.org/en/latest/getting-started/first-steps-with-celery.html#keeping-results I am following with the tutorial as is, w...
Grill asked 17/7, 2014 at 12:3

1

Solved

So we have a kubernetes cluster running some pods with celery workers. We are using python3.6 to run those workers and celery version is 3.1.2 (I know, really old, we are working on upgrading it). ...

7

Solved

After updating celery and django-celery to 3.1: $ pip freeze | grep celery celery==3.1.18 django-celery==3.1.16 I run into this error when starting my server: Traceback (most recent call last):...
Unadvised asked 24/9, 2015 at 8:57

2

I'm trying to write a Celery(v. 4.2.1) integration test for my Django(v. 2.2.3) application. There is a bunch of outdated articles about this around, but non of them seem to use stuff from the lat...
Jara asked 27/11, 2019 at 17:56

2

First of all please don't consider this question as a duplicate of this question I have a setup an environment which uses celery and redis as broker and result_backend. My question is how can I m...
Chalmer asked 18/1, 2013 at 17:40

4

i looked at celery documentation and trying something from it but it not work like the example. maybe i'm wrong at some point, please give me some pointer if i'm wrong about the following code in ...
Timothea asked 13/7, 2017 at 14:39

© 2022 - 2025 — McMap. All rights reserved.