Ticket #139 (closed defect: duplicate)
Can't force builds after a sighup.
|Reported by:||tsuna||Owned by:|
I changed a buildstep, then sighup the buildbot and then forced a build (from the web interface) and got this:
2007/11/20 18:35 CET [HTTPChannel,27,127.0.0.1] Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/twisted/protocols/basic.py", line 240, in dataReceived return self.rawDataReceived(data) File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 1054, in rawDataReceived self.allContentReceived() File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 1045, in allContentReceived req.requestReceived(command, path, version) File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 601, in requestReceived self.process() --- <exception caught here> --- File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 159, in process resrc = self.site.getResourceFor(self) File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 514, in getResourceFor return resource.getChildForRequest(self.resource, request) File "/usr/lib/python2.4/site-packages/twisted/web/resource.py", line 50, in getChildForRequest resource = resource.getChildWithDefault(pathElement, request) File "/usr/lib/python2.4/site-packages/twisted/web/resource.py", line 150, in getChildWithDefault return self.getChild(path, request) File "/work/build/buildbot/lib/python2.4/site-packages/buildbot/status/web/builder.py", line 305, in getChild s = self.getStatus(req) File "/work/build/buildbot/lib/python2.4/site-packages/buildbot/status/web/base.py", line 279, in getStatus return request.site.buildbot_service.getStatus() File "/work/build/buildbot/lib/python2.4/site-packages/buildbot/status/web/baseweb.py", line 513, in getStatus return self.parent.getStatus() exceptions.AttributeError: 'NoneType' object has no attribute 'getStatus'
And the build did not start, obviously. I did a full restart and it worked again, so I guess there must be something wrong with sighup :)