-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'DatabaseFeatures' object has no attribute 'autocommits_when_autocommit_is_off' #594
Comments
I launch in docker, an error if I put the dependencies by default, if I put certain versions of the dependencies, then there is no error |
the same error , is it has any solution? |
i faced with the same issure, it may be the issure with Django version,
i faced with the same issure, it may be the issure with Django version, you can use the version (Django==2.1.8, celery 3.1.26.post2). it may be help you. |
This issue arises again with django-3.0 and django-celery-3.1 |
Im experiencing the same issue with Django-3.0.7 and django-celery-3.3.1. Are there any plans on fixing this issue? Because it seems like others are changing the Django version to 2 or are there any other ways of overcoming this issue? |
this package do not support django 1.11+ so if you are using newer version of celery you should consider django-celery-result and django-celery-beat |
celery-beat_1 | File "/usr/local/lib/python3.8/site-packages/djcelery/schedulers.py", line 169, in setup_schedule
celery-beat_1 | self.install_default_entries(self.schedule)
celery-beat_1 | File "/usr/local/lib/python3.8/site-packages/djcelery/schedulers.py", line 263, in schedule
celery-beat_1 | self.sync()
celery-beat_1 | File "/usr/local/lib/python3.8/site-packages/djcelery/schedulers.py", line 217, in sync
celery-beat_1 | with commit_on_success():
celery-beat_1 | File "/usr/local/lib/python3.8/contextlib.py", line 113, in enter
celery-beat_1 | return next(self.gen)
celery-beat_1 | File "/usr/local/lib/python3.8/site-packages/djcelery/db.py", line 52, in commit_on_success
celery-beat_1 | if connection.features.autocommits_when_autocommit_is_off:
celery-beat_1 | AttributeError: 'DatabaseFeatures' object has no attribute 'autocommits_when_autocommit_is_off'
The text was updated successfully, but these errors were encountered: