使用 Buildbot 首先 运行 出错

Getting Error On First Run With Buildbot

我正在按照文档尝试让 Buildbot 第一次工作,但我不断收到相同的错误:

2017-08-04 13:58:45-0400 [-] while starting BuildMaster
    Traceback (most recent call last):
      File "/home/mike/tmp/bb-master/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py", line 1442, in gotResult
        _inlineCallbacks(r, g, deferred)
      File "/home/mike/tmp/bb-master/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py", line 1386, in _inlineCallbacks
        result = g.send(result)
      File "/home/mike/tmp/bb-master/sandbox/lib/python2.7/site-packages/buildbot/util/service.py", line 53, in reconfigServiceWithBuildbotConfig
        yield svc.reconfigServiceWithBuildbotConfig(new_config)
      File "/home/mike/tmp/bb-master/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py", line 1532, in unwindGenerator
        return _inlineCallbacks(None, gen, Deferred())
    --- <exception caught here> ---
      File "/home/mike/tmp/bb-master/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py", line 1386, in _inlineCallbacks
        result = g.send(result)
      File "/home/mike/tmp/bb-master/sandbox/lib/python2.7/site-packages/buildbot/www/service.py", line 209, in reconfigServiceWithBuildbotConfig
        self.setupSite(new_config)
      File "/home/mike/tmp/bb-master/sandbox/lib/python2.7/site-packages/buildbot/www/service.py", line 274, in setupSite
        "could not find plugin %s; is it installed?" % (key,))
    exceptions.RuntimeError: could not find plugin grid_view; is it installed?

您可以在最后一条错误消息中看到它说找不到 grid_view 插件。我不确定是否需要执行文档中未概述的任何其他操作。我假设在安装 Buildbot 时它会安装所需的正确插件。

有人在 运行 Buildbot 时遇到过这个错误吗?关于如何获得 Buildbot 的任何想法 运行?

Python version: 2.7.5
Buildbot version: 0.9.10
Twisted version: 17.5.0

Link 转到我正在关注的文档。

似乎是 BuildBot 文档的问题(或者过程中发生了某些更改,文档尚未更新)。

如果您运行执行以下命令,您的安装应该会成功。

pip install buildbot-grid-view

在我的例子中,解决方案是像这样安装 buildbot:

pip install 'buildbot[bundle]'

Buildbot docs First run 中找到的信息。