Skip to content

No messages being sent by beat #483

Answered by stevecj
stevecj asked this question in Q&A
Discussion options

You must be logged in to vote

I found the problem. I was creating an instance of crontab to validate values and then copying values from the properties of the crontab instance to fields of the CrontabSchedule instance, but the properties of crontab are set objects. When writing those values to string fields, we get the repr of the set as the values, and those are not valid.

In the all_as_schedule method in schedulers.py, that results in a ValueError which is caught and ignored, so the task is silently not added to the schedule.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stevecj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant