[Answer]-_store_result() got an unexpected keyword argument 'request' in celery

1👍

I’ve run into the same problem, but but part of an upgrade (among others):

  • Django >=1.5,<1.6 -> >=1.6,<1.7
  • celery <3.1 -> >=3.1.17
  • django-celery <3.1 -> <=3.1.16

I can see you opened an issue on Celery’s Github project. However, The request keyword argument was added to celery a long time ago, and it seems to be still present in the master branch.

This is the logic in a base back-end class, but if the implementation you’re using doesn’t have this keyword argument, it’ll crash. In your case, it looks like the versions of celery and django-celery are incompatible.

The commit to bring support to 3.1 is only available in following versions of django-celery: v3.1.16 v3.1.15 v3.1.10 v3.1.9 v3.1.1 v3.1.0, I suggest upgrading to one of these.

Leave a comment