[Buildbot] #3182: MailNotifier throws exceptions.AttributeError: 'NoneType' object has no attribute 'subscribe'

Buildbot trac trac at buildbot.net
Thu Feb 5 10:25:23 UTC 2015


#3182: MailNotifier throws exceptions.AttributeError: 'NoneType' object has no
attribute 'subscribe'
----------------------+------------------------
Reporter:  daniel@…   |       Owner:
    Type:  undecided  |      Status:  new
Priority:  major      |   Milestone:  undecided
 Version:  master     |  Resolution:
Keywords:  mail, osx  |
----------------------+------------------------

Comment (by daniel@…):

 I have no config errors (I also added extraRecipients to make sure that
 isn't the problem) but still the same issue. I also notice by looking at
 the log I get this error a while before the above Blamelist error) but it
 seems to process just fine even if this happens (but it may perhaps cause
 the other issue)

 {{{
 2015-02-05 11:15:26+0100 [-] added change with revision
 3bb9302e5fe2d4f48e7ae82d012d944d23562136 to database
 2015-02-05 11:15:27+0100 [-] added buildset 18 to database
 2015-02-05 11:15:27+0100 [-] while invoking <bound method
 Status.br_consumer_cb of <buildbot.status.master.Status instance at
 0x108935ea8>>
         Traceback (most recent call last):
           File "/Library/Python/2.7/site-
 packages/buildbot-0.9.0-py2.7.egg/buildbot/data/base.py", line 69, in
 produceEvent
             self.master.mq.produce(routingKey, msg)
           File "/Library/Python/2.7/site-
 packages/buildbot-0.9.0-py2.7.egg/buildbot/mq/simple.py", line 43, in
 produce
             qref.invoke(routingKey, data)
           File "/Library/Python/2.7/site-
 packages/buildbot-0.9.0-py2.7.egg/buildbot/mq/base.py", line 41, in invoke
             x = self.callback(routing_key, data)
           File
 "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py",
 line 1237, in unwindGenerator
             return _inlineCallbacks(None, gen, Deferred())
         --- <exception caught here> ---
           File
 "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py",
 line 1099, in _inlineCallbacks
             result = g.send(result)
           File "/Library/Python/2.7/site-
 packages/buildbot-0.9.0-py2.7.egg/buildbot/status/master.py", line 429, in
 br_consumer_cb
             msg['brid'], self)
         exceptions.KeyError: 'brid'
 }}}

--
Ticket URL: <http://trac.buildbot.net/ticket/3182#comment:7>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list