Giter Site home page Giter Site logo

ansibleui's Issues

python manage.py celery worker -c 10 --autoreload 报错,请问您有没有遇到过呢?

报错如下:
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/root/demo/local/lib/python2.7/site-packages/django/core/management/init.py", line 338, in execute_from_command_line
utility.execute()
File "/root/demo/local/lib/python2.7/site-packages/django/core/management/init.py", line 330, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/root/demo/local/lib/python2.7/site-packages/django/core/management/init.py", line 190, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/root/demo/local/lib/python2.7/site-packages/django/core/management/init.py", line 40, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/root/demo/local/lib/python2.7/site-packages/djcelery/management/commands/celery.py", line 11, in
class Command(CeleryCommand):
File "/root/demo/local/lib/python2.7/site-packages/djcelery/management/commands/celery.py", line 14, in Command
options = (CeleryCommand.options + base.get_options() + base.preload_options)
TypeError: can only concatenate tuple (not "NoneType") to tuple

——————————————————————————————————————————
pip list如下:
(demo) root@AnsibleWebUI:/opt/test/ansibleWebUI/ansible_demo# pip list
Package Version


amqp 2.3.2
ansible 1.9.4
anyjson 0.3.3
asn1crypto 0.24.0
bcrypt 3.1.4
billiard 3.5.0.4
celery 4.2.1
cffi 1.11.5
cryptography 2.2.2
Django 1.8
django-celery 3.2.2
django-filter 0.13.0
django-redis 4.9.0
djangorestframework 3.2.3
enum34 1.1.6
idna 2.7
ipaddress 1.0.22
Jinja2 2.10
kombu 4.2.1
MarkupSafe 1.0
MySQL-python 1.2.5
paramiko 2.4.1
pip 18.0
pkg-resources 0.0.0
pyasn1 0.4.3
pycparser 2.18
pycrypto 2.6.1
PyNaCl 1.2.1
pytz 2018.5
PyYAML 3.13
redis 2.10.6
setuptools 40.0.0
six 1.11.0
vine 1.1.4
wheel 0.31.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.