[Buildbot-commits] [Buildbot] #2052: Apparent bug in WarningCountingShellCommand

Buildbot nobody at buildbot.net
Fri Jul 15 02:52:14 UTC 2011


#2052: Apparent bug in WarningCountingShellCommand
----------------------+-----------------------
Reporter:  dabrahams  |      Owner:
    Type:  defect     |     Status:  new
Priority:  major      |  Milestone:  undecided
 Version:  0.8.4p1    |   Keywords:  steps
----------------------+-----------------------
 I'm getting this traceback:

 {{{
 (view as text)
 Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line
 286, in addCallbacks
     self._runCallbacks()
   File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line
 542, in _runCallbacks
     current.result = callback(current.result, *args, **kw)
   File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line
 361, in callback
     self._startRunCallbacks(result)
   File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line
 455, in _startRunCallbacks
     self._runCallbacks()
 --- <exception caught here> ---
   File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line
 542, in _runCallbacks
     current.result = callback(current.result, *args, **kw)
   File "/usr/lib/python2.6/site-packages/buildbot-0.8.5_pre_172_g26bdbce-
 py2.6.egg/buildbot/process/buildstep.py", line 1135, in <lambda>
     d.addCallback(lambda res: self.createSummary(cmd.logs['stdio']))
   File "/usr/lib/python2.6/site-packages/buildbot-0.8.5_pre_172_g26bdbce-
 py2.6.egg/buildbot/steps/shell.py", line 551, in createSummary
     self.setProperty("warnings-count", old_count + self.warnCount,
 "WarningCountingShellCommand")
 exceptions.TypeError: unsupported operand type(s) for +: 'NoneType' and
 'int'
 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2052>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list