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
    
    检查是否安装

  • 相关阅读:
    最短路问题之Dijkstra算法
    最短路问题之Bellman-ford算法
    最小生成树之Kruskal(克鲁斯卡尔)算法
    二分图问题
    七桥问题与欧拉道路
    拓扑排序
    八连通块
    四连通检测
    USACO19DEC题解
    1206 雅礼集训D2题解
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13349389.html
Copyright © 2011-2022 走看看