django-q icon indicating copy to clipboard operation
django-q copied to clipboard

[Q] ERROR Python 'pickledobject' cannot be converted to a MySQL type

Open PsychicSmurf opened this issue 2 years ago • 0 comments

django-picklefield 3.1 blessed 1.19.1 arrow 1.2.3 Django 4.0.4 django-q 1.3.9 python 3.10.7

Fresh installation. Scheduler appears to work correctly, however it seems to fail trying to log a successful task as none show up in the admin after completion.

Q_CLUSTER = { 'name': 'DjangORM', 'workers': 4, 'timeout': 90, 'retry': 120, 'queue_limit': 50, 'bulk': 10, 'orm': 'default' }

For each scheduled task I see 5 similar log entries:

10:25:18 [Q] INFO Enqueued 4 10:25:18 [Q] INFO Process-1 created a task from schedule [2] 10:25:19 [Q] INFO Process-1:2 processing [friend-wyoming-kilo-king] 10:25:20 [Q] ERROR Python 'pickledobject' cannot be converted to a MySQL type 10:25:20 [Q] INFO Processed [friend-wyoming-kilo-king]

django_q_schedule table gets an entry when I schedule a task. And all three django-q DB tables are empty once the task completes.

PsychicSmurf avatar Sep 27 '22 09:09 PsychicSmurf