[Buildbot-devel] Problems with buildbot 0.7.3 on 64-bit talking to win32

Steve Dicks stephen.dicks at rawflow.com
Tue Aug 29 16:24:38 UTC 2006


*Hi,
   I have a buildbot master running on 64-bit Linux, and whenever it 
tries to invoke a build on a win32 server I get the following trackbacks:

Any ideas? I have buildbot 0.7.3 on both platforms, with Python 2.4.2 
(win32 version under windows, not cygwin version)

web.Server Traceback (most recent call last):*

exceptions.AttributeError: 'NoneType' object has no attribute 'number'

<http://belfast:8010/win32d/builds/51/step-shell/2#tbend>
/usr/lib64/python2.4/site-packages/twisted/web/server.py, line 152 in 
process
150    self.postpath = map(unquote, string.split(self.path[1:], '/'))
151    try:
152      resrc = self.site.getResourceFor(self)
153      self.render(resrc)
*Self*
site 	
twisted.web.server.Site instance @ 0x2aaaadafe3f8 
<twisted.web.server.Site instance at 0x2aaaadafe3f8>
path 	'/win32d/builds/51/step-shell/2'
postpath 	
List instance @ 0x2aaaadf78b48
'step-shell'
'2'

*Locals*
self 	
twisted.web.server.Request instance @ 0x2aaaadf4cf38 <GET 
/win32d/builds/51/step-shell/2 HTTP/1.1>

*Globals*
unquote 	|<built-in function unquote>|
string 	|<module 'string' from '/usr/lib64/python2.4/string.pyc'>|

/usr/lib64/python2.4/site-packages/twisted/web/server.py, line 507 in 
getResourceFor
505    # servers and disconnected sites.
506    request.sitepath = copy.copy(request.prepath)
507    return resource.getChildForRequest(self.resource, request)
508
*Self*
resource 	
buildbot.status.html.StatusResource instance @ 0x2aaaadb0bea8 
<buildbot.status.html.StatusResource instance at 0x2aaaadb0bea8>

*Locals*
self 	
twisted.web.server.Site instance @ 0x2aaaadafe3f8 
<twisted.web.server.Site instance at 0x2aaaadafe3f8>
request 	
twisted.web.server.Request instance @ 0x2aaaadf4cf38 <GET 
/win32d/builds/51/step-shell/2 HTTP/1.1>

*Globals*
copy 	|<module 'copy' from '/usr/lib64/python2.4/copy.pyc'>|
resource 	|<module 'twisted.web.resource' from 
'/usr/lib64/python2.4/site-packages/twisted/web/resource.pyc'>|

/usr/lib64/python2.4/site-packages/twisted/web/resource.py, line 50 in 
getChildForRequest
48    pathElement = request.postpath.pop(0)
49    request.prepath.append(pathElement)
50    resource = resource.getChildWithDefault(pathElement, request)
51  return resource
*Locals*
pathElement 	'builds'
request 	
twisted.web.server.Request instance @ 0x2aaaadf4cf38 <GET 
/win32d/builds/51/step-shell/2 HTTP/1.1>
resource 	
buildbot.status.html.StatusResourceBuilder instance @ 0x2aaaadf77b48 
<buildbot.status.html.StatusResourceBuilder instance at 0x2aaaadf77b48>

/usr/lib64/python2.4/site-packages/twisted/web/resource.py, line 150 in 
getChildWithDefault
148      return self.children[path]
149
150    return self.getChild(path, request)
151
*Self*
children 	
Dictionary instance @ 0xe00450

*Locals*
path 	'builds'
self 	
buildbot.status.html.StatusResourceBuilder instance @ 0x2aaaadf77b48 
<buildbot.status.html.StatusResourceBuilder instance at 0x2aaaadf77b48>
request 	
twisted.web.server.Request instance @ 0x2aaaadf4cf38 <GET 
/win32d/builds/51/step-shell/2 HTTP/1.1>

/usr/lib64/python2.4/site-packages/buildbot/status/html.py, line 639 in 
getChild
637        control = None
638        if self.control:
639          control = self.control.getBuild(num)
640        return StatusResourceBuild(self.status, build,
*Self*
status 	
buildbot.status.builder.Status instance @ 0x2aaaada24ab8 
<buildbot.status.builder.Status instance at 0x2aaaada24ab8>
control 	
buildbot.process.builder.BuilderControl instance @ 0x2aaaadf771b8 
<buildbot.process.builder.BuilderControl instance at 0x2aaaadf771b8>

*Locals*
control 	|None|
num 	|51|
build 	
buildbot.status.builder.BuildStatus instance @ 0x2aaaadf62a28 
<buildbot.status.builder.BuildStatus instance at 0x2aaaadf62a28>
self 	
buildbot.status.html.StatusResourceBuilder instance @ 0x2aaaadf77b48 
<buildbot.status.html.StatusResourceBuilder instance at 0x2aaaadf77b48>

*Globals*
StatusResourceBuild 	|<class buildbot.status.html.StatusResourceBuild at 
0x2aaaadaa2ef0>|

/usr/lib64/python2.4/site-packages/buildbot/process/builder.py, line 667 
in getBuild
665  def getBuild(self, number):
666    for b in self.original.building:
667      if b.build_status.number == number:
668        return b
*Self*
original 	
buildbot.process.builder.Builder instance @ 0x2aaaadc111b8 <Builder 
'win32d'>

*Locals*
self 	
buildbot.process.builder.BuilderControl instance @ 0x2aaaadf771b8 
<buildbot.process.builder.BuilderControl instance at 0x2aaaadf771b8>
b 	
buildbot.process.base.Build instance @ 0x2aaaadbfcd40 <Build win32d>
number 	|51|

exceptions.AttributeError: 'NoneType' object has no attribute 'number'

-- 
Best Regards
Stephen Dicks
Technical Director
Rawflow Inc | The Old Pump House | 19 Hooper Street | London E1 8BU | United Kingdom

Tel (International): +44 (0)207 480 4220
Tel (Direct):        +44 (0)207 480 4232
Mobile:              +44 (0)7973 841 431
Fax:                 +44 (0)207 481 4343
URL:                     www.rawflow.com





More information about the devel mailing list