Opened 5 years ago

Last modified 5 years ago

#3481 new defect

Following doc for WebStatus in 0.8.12 leads to configuration that won't load... incomplete port of plugins from master?

Reported by: dank Owned by:
Priority: major Milestone: 0.8.x
Version: 0.8.12 Keywords:

Description (last modified by dustin)

As described in claims this works:

    from buildbot.plugins import status

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

Shouldn't either the doc or the code should be fixed so the documented sequence works?

Change History (3)

comment:1 Changed 5 years ago by dank

well, foo. Sorry about saving before correcting the formatting... can one edit tickets?

comment:2 Changed 5 years ago by rutsky

  • Description modified (diff)

comment:3 Changed 5 years ago by dustin

  • Description modified (diff)
  • Milestone changed from undecided to 0.8.x
  • Type changed from undecided to defect

I suspect that just adding an implements(..) would be sufficient.

Note: See TracTickets for help on using tickets.