-
Notifications
You must be signed in to change notification settings - Fork 16
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
Latest version with pip install django-carrot
#95
Comments
Is this on a clean install or are you upgrading from a previous version of carrot? |
The root cause here is that you are trying to create a ScheduledTask object with a non-unique Solution: Use the create_scheduled_task('my_app.my_tasks.task`, {'seconds': 5}, task_name='something unique', **task_kwargs) I'm going to add validation to that function for version 1.3 so that its more clear in future what the issue is. The version number thing is a weird issue that seems to have arisen from CI, this will also be fixed in 1.3 |
Fixed with #97 |
Thanks for the reply, and a great project!
A fresh install & in a new virtualenv.
Thanks, I had seen this in the docs and was looking forward to trying it out! The problem was that the version of carrot installed via
|
Following the directions here yesterday:
http://www.django-carrot.com/en/latest/quick-start.html
After installing with
pip install django-carrot
in a virtualenv with Django 2.1.1, I spent a few hours debugging why this error constantly popped up when creating a new ScheduledTask with thetask_name
kwarg:django.db.utils.IntegrityError: UNIQUE constraint failed: carrot_scheduledtask.task_name
Apparently the most recent released version installed via pip is 6a5fbb3, which is behind the fix in 5bdfc14. Checking
carrot.__version__
returns '0'.Will there be a new release soon, or what's the recommended version of carrot to install?
The text was updated successfully, but these errors were encountered: