[Buildbot-devel] Exception in mail.py getting a build log.

Dobes Vandermeer dobesv at gmail.com
Fri Oct 28 01:39:41 UTC 2005


I'm getting this exception on a buildbot I'm testing with - I'm not
sure why.  When I do get it, it doesn't send a mail and it doesn't
notify any other status clients ...

Must be something wrong with the log or something.


          File "C:\work\Tools\PythonLibs\buildbot\process\base.py",
line 517, in  buildFinished
            self.build_status.buildFinished()
          File "C:\work\Tools\PythonLibs\buildbot\status\builder.py", line 1127,
 in buildFinished
            w.callback(self)
          File "C:\work\Tools\PythonLibs\Python24\twisted\internet\defer.py", li
ne 254, in callback
            self._startRunCallbacks(result)
          File "C:\work\Tools\PythonLibs\Python24\twisted\internet\defer.py", li
ne 315, in _startRunCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          File "C:\work\Tools\PythonLibs\Python24\twisted\internet\defer.py", li
ne 328, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "C:\work\Tools\PythonLibs\buildbot\status\builder.py", line 1602,
 in _buildFinished
            w.buildFinished(name, s, results)
          File "C:\work\Tools\PythonLibs\buildbot\status\mail.py", line 267, in
buildFinished
            return self.buildMessage(name, build, results)
          File "C:\work\Tools\PythonLibs\buildbot\status\mail.py", line 342, in
buildMessage
            logText = log.getText()
          File "C:\work\Tools\PythonLibs\buildbot\status\builder.py", line 275,
in getText
            return "".join(self.getChunks([STDOUT, STDERR], onlyText=True))
          File "C:\work\Tools\PythonLibs\buildbot\status\builder.py", line 318,
in _generateChunks
            p.dataReceived(data)
          File "C:\work\Tools\PythonLibs\Python24\twisted\protocols\basic.py", l
ine 107, in dataReceived
            self.transport.loseConnection()
        exceptions.AttributeError: 'NoneType' object has no attribute 'loseConne
ction'




More information about the devel mailing list