zoukankan      html  css  js  c++  java
  • celery 报错处理

    node2:/celery/djtest#python manage.py celeryd -l info
    Traceback (most recent call last):
      File "manage.py", line 22, in <module>
        execute_from_command_line(sys.argv)
      File "/usr/local/python27/lib/python2.7/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
        utility.execute()
      File "/usr/local/python27/lib/python2.7/site-packages/django/core/management/__init__.py", line 355, in execute
        self.fetch_command(subcommand).run_from_argv(self.argv)
      File "/usr/local/python27/lib/python2.7/site-packages/django/core/management/__init__.py", line 205, in fetch_command
        klass = load_command_class(app_name, subcommand)
      File "/usr/local/python27/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/local/python27/lib/python2.7/importlib/__init__.py", line 37, in import_module
        __import__(name)
      File "/usr/local/python27/lib/python2.7/site-packages/djcelery/management/commands/celeryd.py", line 16, in <module>
        class Command(CeleryCommand):
      File "/usr/local/python27/lib/python2.7/site-packages/djcelery/management/commands/celeryd.py", line 20, in Command
        worker.get_options() +
    TypeError: can only concatenate tuple (not "NoneType") to tuple
    node2:/celery/djtest#
    
    
    
    pip install celery
    pip install celery-with-redis
    pip install django-celery
    
    检查是否安装

  • 相关阅读:
    css3.0新属性效果在ie下的解决方案(兼容性)
    ajax实现md5加密
    ajax给全局变量赋值问题
    前端资源分享
    7件你不知道但可以用CSS做的事
    jQuery 常用效果
    ThinkPHP redirect 传参
    join和split 的使用
    JSON_FORCE_OBJECT 数字索引数组 强转对象
    layer 弹框不显示内容
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13349389.html
Copyright © 2011-2022 走看看