[Buildbot-devel] Backtrace with MailNotifier

Brad Hards bradh at frogmouth.net
Sun Oct 2 10:06:05 UTC 2005


I'm using MailNotifier like this:
from buildbot.status import mail
c['status'].append(mail.MailNotifier(fromaddr="buildbot at frogmouth.net",
                                     mode="all",
                                     extraRecipients=["bradh at frogmouth.net"],
                                     sendToInterestedUsers=False,
                                     relayhost="www.example.com"))

[Except I have the real relayhost set]. Mail gets delivered OK, but it causes the following backtrace:

          File "/usr/lib64/python2.4/site-packages/twisted/scripts/twistd.py", line 176, in runApp
            app.runReactorWithLogging(config, oldstdout, oldstderr)
          File "/usr/lib64/python2.4/site-packages/twisted/application/app.py", line 90, in runReactorWithLogging
            reactor.run()
          File "/usr/lib64/python2.4/site-packages/twisted/internet/default.py", line 126, in run
            self.mainLoop()
          File "/usr/lib64/python2.4/site-packages/twisted/internet/default.py", line 134, in mainLoop
            self.runUntilCurrent()
        --- <exception caught here> ---
          File "/usr/lib64/python2.4/site-packages/twisted/internet/base.py", line 423, in runUntilCurrent
            call.func(*call.args, **call.kw)
          File "/usr/lib/python2.4/site-packages/buildbot/scheduler.py", line 177, in fireTimer
            self.submit(bs)
          File "/usr/lib/python2.4/site-packages/buildbot/scheduler.py", line 54, in submit
            self.parent.submitBuildSet(bs)
          File "/usr/lib/python2.4/site-packages/buildbot/master.py", line 977, in submitBuildSet
            self.status.buildsetSubmitted(bs.status)
          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'

This is with a recent arch version.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20051002/ec544e31/attachment.bin>


More information about the devel mailing list