[Buildbot-commits] [Buildbot] #2254: MailNotifier gives exception: 'NoneType' object has no attribute 'changes'

Buildbot nobody at buildbot.net
Thu Mar 22 14:13:27 UTC 2012


#2254: MailNotifier gives exception: 'NoneType' object has no attribute 'changes'
-----------------------+------------------------
Reporter:  jaredgrubb  |       Owner:
    Type:  defect      |      Status:  new
Priority:  major       |   Milestone:  undecided
 Version:  0.8.6       |  Resolution:
Keywords:              |
-----------------------+------------------------

Comment (by jaredgrubb):

 Redoing with better formatting:
 {{{
 14046 2012-03-21 20:12:14-0700 [-] Starting factory
 <twisted.mail.smtp.ESMTPSenderFactory instance at 0x102c41a70>
 14047 2012-03-21 20:12:14-0700 [-] Exception caught notifying
 <buildbot.status.mail.MailNotifier instance at 0x1038bdb00> of
 buildFinished event
 14048 2012-03-21 20:12:14-0700 [-] Unhandled Error
 14049     Traceback (most recent call last):
 14050       File
 "/Users/buildbot/ctbot/src/master/buildbot/status/build.py", line 285, in
 buildFinished
 14051         w.callback(self)
 14052       File "/Users/buildbot/ctbot/sandbox/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 368, in callback
 14053         self._startRunCallbacks(result)
 14054       File "/Users/buildbot/ctbot/sandbox/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
 14055         self._runCallbacks()
 14056       File "/Users/buildbot/ctbot/sandbox/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 551, in _runCallbacks
 14057         current.result = callback(current.result, *args, **kw)
 14058     --- <exception caught here> ---
 14059       File
 "/Users/buildbot/ctbot/src/master/buildbot/status/builder.py", line 512,
 in _buildFinished
 14060         w.buildFinished(name, s, results)
 14061       File
 "/Users/buildbot/ctbot/src/master/buildbot/status/mail.py", line 435, in
 buildFinished
 14062         return self.buildMessage(name, [build], results)
 14063       File
 "/Users/buildbot/ctbot/src/master/buildbot/status/mail.py", line 654, in
 buildMessage
 14064         d = self.useUsers(build)
 14065       File
 "/Users/buildbot/ctbot/src/master/buildbot/status/mail.py", line 673, in
 useUsers
 14066         d = self.parent.db.changes.getChangeUids(change.number)
 14067     exceptions.AttributeError: 'NoneType' object has no attribute
 'changes'
 14068
 }}}

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


More information about the Commits mailing list