Skip to content

Celery App not working!!!!! #2

Description

@ChuckDuecez9

While installing software I incurred errors regarding "CELERY"

$~ ➜ SocialPath git:(master) celery worker -A socialpath --loglevel=debug
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
$~ ➜ SocialPath git:(master) celery -A celeryapp worker socialpath --loglevel=debug
Usage: celery [OPTIONS] COMMAND [ARGS]...

Error: Invalid value for '-A' / '--app':
Unable to load celery application.
The module celeryapp was not found.

AND....

$~ ➜ SocialPath git:(master) python3 manage.py makemigrations social
System check identified some issues:

WARNINGS:
?: (2_0.W001) Your URL pattern '^celery-progress/' has a route that contains '(?P<', begins with a '^', or ends with a '$'. This was likely an oversight when migrating to django.urls.path().
?: (urls.W005) URL namespace 'celery_progress' isn't unique. You may not be able to reverse all URLs in this namespace
No changes detected in app 'social'

My machine is currently running
Linux kali 5.9.0-kali2-amd64 #1 SMP Debian 5.9.6-1kali1 (2020-11-11) x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions