使用Buildbot首次运行时出错

时间:2017-08-04 18:07:20

标签: python django 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我正在关注的文档。

2 个答案:

答案 0 :(得分:6)

似乎是BuildBot文档的问题(或者在此过程中发生了变化,文档尚未更新)。

如果您运行以下命令,则安装应该有效。

pip install buildbot-grid-view

答案 1 :(得分:1)

对于我来说,解决方案是像这样安装buildbot:

pip install 'buildbot[bundle]'

Buildbot docs First run中找到的信息。