我正在跟踪文档,试图让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]'