[Buildbot] #3182: MailNotifier throws exceptions.AttributeError: 'NoneType' object has no attribute 'subscribe'
Buildbot trac
trac at buildbot.net
Thu Feb 5 08:55:47 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 ewong):
I think I might know why it's tracebacking.
in status/mail.py:
def setServiceParent(self, parent):
self.master_status = self.parent
self.master_status.subscribe(self)
self.master = self.master_status.master
return base.StatusReceiverMultiService.setServiceParent(self,
parent)
I think the first line in setServiceParent() should be
self.master_status = parent
Since self.parent doesn't exist (from my cursory glance) in MailNotifier()
If this is correct, I'll get a GP up.
(I just tested my hypothesis, and it seems to reconfig properly... )
--
Ticket URL: <http://trac.buildbot.net/ticket/3182#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list