HttpRunnerManager
HttpRunnerManager copied to clipboard
基于 HttpRunner 的 Web 测试平台,已停止维护。
C:\Users\Administrator\PycharmProjects\HttpRunnerManager-master>python manage.py celery -A HttpRunnerManager worker --loglevel=info Traceback (most recent call last): File "manage.py", line 22, in execute_from_command_line(sys.argv) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\django\core\management\__init__.py", line 371, in execute_from_co mmand_line utility.execute() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\django\core\management\__init__.py", line 365,...

报错: c:\users\wstanggw\appdata\local\programs\python\python35\lib\site-packages\celery\bin\base.py:158: UserWarning: Cannot load extension 'flower.command:FlowerCommand': ImportError("cannot import name 'Type'",) 'Cannot load extension {0!r}: {1!r}'.format(sym, exc)) Usage: celery [options] Show help screen and exit.
Django settings.py 配置如下(celery==3.1.26.post2,flower==0.9.2): CELERY_ENABLE_UTC = True CELERY_TIMEZONE = 'Asia/Shanghai' BROKER_URL = 'amqp://guest:[email protected]:5672//' if DEBUG else 'amqp://guest:[email protected]:5672//' CELERYBEAT_SCHEDULER = 'djcelery.schedulers.DatabaseScheduler' CELERY_RESULT_BACKEND = 'djcelery.backends.database:DatabaseBackend' CELERY_ACCEPT_CONTENT = ['application/json'] CELERY_TASK_SERIALIZER = 'json' CELERY_RESULT_SERIALIZER =...
添加了项目之后,再到项目下面添加模块, 发现非常非常卡。。。就在chrome里调试了一下,发现是去 cdn请求 bootstrap 这个css的时候非常非常耗时....1.9分钟。。。建议把css的资源一起打包放到项目的资源文件里而不是每次都要请求一次cdn,有需要更新的自己再去更新吧 

在setting中修改了amqp连接,并且已经禁用了guest 但是执行celery flower的时候amqp还是使用了guest去做连接,没有使用setting的配置