Skip to content

TypeError: can only concatenate tuple (not "NoneType") to tuple #560

Open
@dapaojiang

Description

@dapaojiang

Traceback (most recent call last):
File "/Users/jianghaibo/Python/resource-ret-backend/manage.py", line 15, in
execute_from_command_line(sys.argv)
File "/Users/jianghaibo/.local/share/virtualenvs/resource-ret-backend-HZTWbhOI/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/Users/jianghaibo/.local/share/virtualenvs/resource-ret-backend-HZTWbhOI/lib/python3.6/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/jianghaibo/.local/share/virtualenvs/resource-ret-backend-HZTWbhOI/lib/python3.6/site-packages/django/core/management/init.py", line 224, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/Users/jianghaibo/.local/share/virtualenvs/resource-ret-backend-HZTWbhOI/lib/python3.6/site-packages/django/core/management/init.py", line 36, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/Users/jianghaibo/.local/share/virtualenvs/resource-ret-backend-HZTWbhOI/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/Users/jianghaibo/.local/share/virtualenvs/resource-ret-backend-HZTWbhOI/lib/python3.6/site-packages/djcelery/management/commands/celery.py", line 11, in
class Command(CeleryCommand):
File "/Users/jianghaibo/.local/share/virtualenvs/resource-ret-backend-HZTWbhOI/lib/python3.6/site-packages/djcelery/management/commands/celery.py", line 15, in Command
base.get_options() +
TypeError: can only concatenate tuple (not "NoneType") to tuple

Process finished with exit code 1

I got an error when i want to start celery by python manage.py celery -l info in django.

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