[Buildbot] #3481: Following doc for WebStatus in 0.8.12 leads to configuration that won't load... incomplete port of plugins from master?
Buildbot trac
trac at buildbot.net
Fri Mar 11 16:51:02 UTC 2016
#3481: Following doc for WebStatus in 0.8.12 leads to configuration that won't
load... incomplete port of plugins from master?
----------------------+-----------------------
Reporter: dank | Owner:
Type: undecided | Status: new
Priority: major | Milestone: undecided
Version: 0.8.12 | Keywords:
----------------------+-----------------------
As described in
https://lists.buildbot.net/pipermail/devel/2015-August/011904.html
http://docs.buildbot.net/0.8.12/manual/cfg-
statustargets.html#configuration claims this works:
{{{
from buildbot.plugins import status
c['status'].append(status.WebStatus(8080))
```
But it fails with
```
exceptions.AttributeError: Plugin buildbot.status:WebStatus does not
implement IStatusReceiver: An object has failed to implement
interface <InterfaceClass buildbot...IStatusReceiver>
```
The workaround seems to be to ignore the docs and do
```
import buildbot.status.html
c['status'].append(buildbot.status.html.WebStatus(http_port=8080))
```
Shouldn't either the doc or the code should be fixed so the documented
sequence works?
--
Ticket URL: <http://trac.buildbot.net/ticket/3481>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list