‘Flask’ object has no attribute ‘user_options’

Correcting the error AttributeError: ‘Flask’ object has no attribute ‘user_options’


The error occurs when running the command:

celery -A your_application worker –loglevel= info

Try specifying a module instead of this command:

celery -A tasks.celery worker –loglevel= info

Where tasks – file name (tasks.py). If it is in the directory, then call the full path, for example module update in the directory tasks = tasks.update.celery

Similar Posts

Leave a Reply