[users at bb.net] mail notification issue

Greg MacDonald gmacdonald at trionworlds.com
Tue May 17 00:45:30 UTC 2016


I think I may have found a bug with mail notification. I'm using nine, beta 9. And I'm getting the following error during a mail attempt:

2016-05-16 17:33:13-0700 [-] Unhandled Error
                Traceback (most recent call last):
                  File "C:\TrionBuildbot\python\lib\site-packages\twisted\internet\defer.py", line 434, in errback
                    self._startRunCallbacks(fail)
                  File "C:\TrionBuildbot\python\lib\site-packages\twisted\internet\defer.py", line 501, in _startRunCallbacks
                    self._runCallbacks()
                  File "C:\TrionBuildbot\python\lib\site-packages\twisted\internet\defer.py", line 588, in _runCallbacks
                    current.result = callback(current.result, *args, **kw)
                  File "C:\TrionBuildbot\python\lib\site-packages\twisted\internet\defer.py", line 1184, in gotResult
                    _inlineCallbacks(r, g, deferred)
                --- <exception caught here> ---
                  File "C:\TrionBuildbot\python\lib\site-packages\twisted\internet\defer.py", line 1126, in _inlineCallbacks
                    result = result.throwExceptionIntoGenerator(g)
                  File "C:\TrionBuildbot\python\lib\site-packages\twisted\python\failure.py", line 389, in throwExceptionIntoGenerator
                    return g.throw(self.type, self.value, self.tb)
                  File "C:\TrionBuildbot\python\lib\site-packages\buildbot\reporters\mail.py", line 434, in buildMessage
                    blamelist = yield utils.getResponsibleUsersForBuild(self.master, build['buildid'])
                  File "C:\TrionBuildbot\python\lib\site-packages\twisted\internet\defer.py", line 1128, in _inlineCallbacks
                    result = g.send(result)
                  File "C:\TrionBuildbot\python\lib\site-packages\buildbot\reporters\utils.py", line 169, in getResponsibleUsersForBuild
                    blamelist.add(properties['owner'][0])
                exceptions.TypeError: unhashable type: 'list'

It looks like it's expecting a single value, but the documentation here:

http://docs.buildbot.net/current/manual/cfg-schedulers.html?highlight=owner

says it should be a list of values.

Printing out the value for owner for me yields a tuple with a list:

([u'Rift-Engineering at trionworlds.com'], u'Scheduler')

Which should it be? List or single value? Owner is singular...

Beta 9 is super snappy btw. Startup time for the master is much better too.

-Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160517/1a2900b8/attachment.html>


More information about the users mailing list