pennlabs / penn-courses

Powering Penn Course Review, Penn Course Plan, Penn Course Alert, and Penn Degree Plan
https://penncourses.org
MIT License
39 stars 4 forks source link

:bug: Fix celery in Kittyhawk #677

Closed joyliu-q closed 2 weeks ago

Clue88 commented 2 weeks ago
│ You are using `-A` as an option of the worker sub-command:                                                                                                       │
│ celery worker -A celeryapp <...>                                                                                                                                 │
│                                                                                                                                                                  │
│ The support for this usage was removed in Celery 5.0. Instead you should use `-A` as a global option:                                                            │
│ celery -A celeryapp worker <...>                                                                                                                                 │
│ Usage: celery worker [OPTIONS]                                                                                                                                   │
│ Try 'celery worker --help' for help.                                                                                                                             │
│                                                                                                                                                                  │
│ Error: No such option: -A                                                                                                                                        │
│ Stream closed EOF for default/penn-courses-celery-696bd7b6fb-8xzjs (worker)   

^ including this context for posterity