[Buildbot-devel] Backtrace with MailNotifier

Brian Warner warner-buildbot at lothar.com
Mon Oct 3 08:08:53 UTC 2005

>           File "/usr/lib/python2.4/site-packages/buildbot/status/builder.py", line 1780, in buildsetSubmitted
>             t.buildsetSubmitted(bss)
>         exceptions.AttributeError: MailNotifier instance has no attribute 'buildsetSubmitted'

Whoops. Looks like buildbot.status.base.StatusReceiverMultiService doesn't
inherit from StatusReceiver like it's supposed to.

As a quick fix, add a dummy implementation of buildsetSubmitted() to
StatusReceiverMultiService (just copy it from StatusReceiver). I'll try to
fix it properly tomorrow: in addition to inheriting properly, some superclass
upcalls need to be added, so I need to sit down and think about it a bit
first. (and, really, I need to add a comprehensive unit test that will catch
stupid mistakes like this before changing any code.. that's what will take
the real time).


More information about the devel mailing list