Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dapaojiang opened this issue Feb 12, 2019 · 1 comment · May be fixed by #575
Open

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

dapaojiang opened this issue Feb 12, 2019 · 1 comment · May be fixed by #575

Comments

@dapaojiang
Copy link
Contributor

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.

dapaojiang added a commit to dapaojiang/django-celery that referenced this issue Feb 12, 2019
fix TypeError: can only concatenate tuple (not "NoneType") to tuple celery#560
auvipy pushed a commit that referenced this issue Apr 24, 2019
* Update celery.py

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

* Update celery.py

fix fix CeleryCommand has no attribute preload_options

* Update setup.py

update package name

* Update setup.py

fix package name mistake
sp1rs pushed a commit to sp1rs/django-celery that referenced this issue Jul 8, 2019
@sp1rs sp1rs linked a pull request Jul 8, 2019 that will close this issue
@maxmalysh
Copy link

This is a duplicate of #573.

Currently, the latest version in PyPi is 3.3.0 and it's broken. It won't even start. @auvipy has fixed the issue, but didn't upload the fixed version yet.

@auvipy could you upload the latest version from master to PyPi, please? Many thanks

maxmalysh pushed a commit to maxmalysh/django-celery that referenced this issue Jul 29, 2019
* Update celery.py

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

* Update celery.py

fix fix CeleryCommand has no attribute preload_options

* Update setup.py

update package name

* Update setup.py

fix package name mistake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants