Skip to content

Unable to start celery tasks #493

Open
@Haswell49

Description

@Haswell49

How do I run the last command in README.md ? :
celery -A tasks worker --loglevel=INFO

This command results with an error:

Usage: celery [OPTIONS] COMMAND [ARGS]...
Try 'celery --help' for help.            

Error: Invalid value for '-A' / '--app': 
Unable to load celery application.       
Module 'tasks' has no attribute 'celery' 

I suppose the problem is with the init.py of tasks module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions