[Buildbot-devel] bug in 0.7.6 with 'buildbot reconfig'?
John Pye
john.pye at anu.edu.au
Wed Nov 14 13:47:44 UTC 2007
Hi all
I have what seems to be a bug with the 'buildbot reconfig' command in
Buildbot 0.7.6. When I do a 'buildbot restart .' everything works fine.
When I do a 'buildbot reconfig .' it also works fine, but only if I do
it once. If I make further config changes then again attempt 'buildbot
reconfig .' then I get a page with debug output as follows.
Has anyone else seen this problem?
Cheers
JP
*web.Server Traceback (most recent call last):*
exceptions.AttributeError: 'NoneType' object has no attribute 'getStatus'
<http://ascend.cheme.cmu.edu:8011/#tbend>
/usr/lib/python2.4/site-packages/twisted/web/server.py, line 160 in process
158 try:
159 resrc = self.site.getResourceFor(self)
160 self.render(resrc)
161 except:
*Self*
site
twisted.web.server.Site instance @ -0x48b76714 <twisted.web.server.Site
instance at 0xb74898ec>
*Locals*
resrc
buildbot.status.web.waterfall.WaterfallStatusResource instance @
-0x48b76554 <buildbot.status.web.waterfall.WaterfallStatusResource
instance at 0xb7489aac>
self
twisted.web.server.Request instance @ -0x48b8e9d4 <GET / HTTP/1.1>
/usr/lib/python2.4/site-packages/twisted/web/server.py, line 167 in render
165 def render(self, resrc):
166 try:
167 body = resrc.render(self)
168 except UnsupportedMethod, e:
*Locals*
resrc
buildbot.status.web.waterfall.WaterfallStatusResource instance @
-0x48b76554 <buildbot.status.web.waterfall.WaterfallStatusResource
instance at 0xb7489aac>
self
twisted.web.server.Request instance @ -0x48b8e9d4 <GET / HTTP/1.1>
*Globals*
UnsupportedMethod |<class twisted.web.server.UnsupportedMethod at
0xb773cc2c>|
/usr/lib/python2.4/site-packages/buildbot/status/web/base.py, line 210
in render
208 return ''
209
210 data = self.content(request)
211 if isinstance(data, unicode):
*Locals*
self
buildbot.status.web.waterfall.WaterfallStatusResource instance @
-0x48b76554 <buildbot.status.web.waterfall.WaterfallStatusResource
instance at 0xb7489aac>
request
twisted.web.server.Request instance @ -0x48b8e9d4 <GET / HTTP/1.1>
/usr/lib/python2.4/site-packages/buildbot/status/web/base.py, line 245
in content
243 s = request.site.buildbot_service
244 data = ""
245 data += self.fillTemplate(s.header, request)
246 data += "<head>\n"
*Locals*
data ''
s
buildbot.status.web.baseweb.Waterfall instance @ -0x48b6e014 <WebStatus
on port tcp:8011 at -0x48b6e014>
request
twisted.web.server.Request instance @ -0x48b8e9d4 <GET / HTTP/1.1>
self
buildbot.status.web.waterfall.WaterfallStatusResource instance @
-0x48b76554 <buildbot.status.web.waterfall.WaterfallStatusResource
instance at 0xb7489aac>
/usr/lib/python2.4/site-packages/buildbot/status/web/base.py, line 239
in fillTemplate
237 # e.g. to reference the top-level 'buildbot.css' page, use
238 # "%(root)sbuildbot.css"
239 values['title'] = self.getTitle(request)
240 return template % values
*Locals*
values
Dictionary instance @ -0x48a068ec
'root' ''
request
twisted.web.server.Request instance @ -0x48b8e9d4 <GET / HTTP/1.1>
self
buildbot.status.web.waterfall.WaterfallStatusResource instance @
-0x48b76554 <buildbot.status.web.waterfall.WaterfallStatusResource
instance at 0xb7489aac>
template '\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n\n<html\n
xmlns="http://www.w3.org/1999/xhtml"\n lang="en"\n xml:lang="en">\n'
/usr/lib/python2.4/site-packages/buildbot/status/web/waterfall.py, line
417 in getTitle
415
416 def getTitle(self, request):
417 status = self.getStatus(request)
418 p = status.getProjectName()
*Locals*
self
buildbot.status.web.waterfall.WaterfallStatusResource instance @
-0x48b76554 <buildbot.status.web.waterfall.WaterfallStatusResource
instance at 0xb7489aac>
request
twisted.web.server.Request instance @ -0x48b8e9d4 <GET / HTTP/1.1>
/usr/lib/python2.4/site-packages/buildbot/status/web/base.py, line 220
in getStatus
218
219 def getStatus(self, request):
220 return request.site.buildbot_service.getStatus()
221 def getControl(self, request):
*Locals*
self
buildbot.status.web.waterfall.WaterfallStatusResource instance @
-0x48b76554 <buildbot.status.web.waterfall.WaterfallStatusResource
instance at 0xb7489aac>
request
twisted.web.server.Request instance @ -0x48b8e9d4 <GET / HTTP/1.1>
/usr/lib/python2.4/site-packages/buildbot/status/web/baseweb.py, line
458 in getStatus
456
457 def getStatus(self):
458 return self.parent.getStatus()
459 def getControl(self):
*Self*
parent |None|
*Locals*
self
buildbot.status.web.baseweb.Waterfall instance @ -0x48b6e014 <WebStatus
on port tcp:8011 at -0x48b6e014>
exceptions.AttributeError: 'NoneType' object has no attribute 'getStatus'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20071115/0771b21a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: john.pye.vcf
Type: text/x-vcard
Size: 277 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20071115/0771b21a/attachment.vcf>
More information about the devel
mailing list