-
-
Notifications
You must be signed in to change notification settings - Fork 25
Worker model error #339
Copy link
Copy link
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
When using django-tasks-scheduler in a Dockerized Django application, the scheduler admin page throws with a deserialization error related to WorkerModel.init().
The error appears even though containers are running
Error message:
TypeError: WorkerModel.init() missing 8 required keyword-only arguments:
'name', 'queue_names', 'pid', 'hostname', 'ip_address', 'version', ...
Failed to deserialize
To Reproduce
Steps to reproduce the behavior:
- Created a custom management command to run scheduled task
- Attached it docker compose to run automatically
- Went to django admin
- Tasks 0
- Workers or Queus page
- Throws error inside debugger
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working