[Buildbot-commits] [SPAM] Re: [Buildbot] #638: <type 'exceptions.AttributeError'>: IRCContact instance has no attribute 'requestCancelled'
Buildbot
trac at buildbot.net
Sat Dec 19 04:03:03 UTC 2009
#638: <type 'exceptions.AttributeError'>: IRCContact instance has no attribute
'requestCancelled'
------------------------------+---------------------------------------------
Reporter: daniel at zuster.org | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.7.11 | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Description changed by dustin:
Old description:
> I get this a lot, but I'm not sure what the right fix is.
> --
> web.Server Traceback (most recent call last):
> <type 'exceptions.AttributeError'>: IRCContact instance has no attribute
> 'requestCancelled'
>
> /Library/Python/2.6/site-
> packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/web/server.py,
> line 149 in process
> 147 self.postpath = map(unquote, string.split(self.path[1:], '/'))
> 148 try:
> 149 resrc = self.site.getResourceFor(self)
> 150 self.render(resrc)
> Self
> site
> twisted.web.server.Site instance @ 0x53b8e68
> <twisted.web.server.Site instance at 0x53b8e68>
> path '/builders/clang-i386-darwin10-gdb/cancelbuild'
> postpath List instance @ 0x530a260
> Locals
> self
> twisted.web.server.Request instance @ 0x3d27378
> <POST /builders/clang-i386-darwin10-gdb/cancelbuild HTTP/1.1>
> Globals
> unquote <built-in function unquote>
> string <module 'string' from
> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/string.pyc'>
> /Library/Python/2.6/site-
> packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/web/server.py,
> line 567 in getResourceFor
> 565 # servers and disconnected sites.
> 566 request.sitepath = copy.copy(request.prepath)
> 567 return resource.getChildForRequest(self.resource, request)
> 568
> Self
> resource
> twisted.web.static.File instance @ 0x55aed28
> FilePath('/Users/buildmaster/int_zorg/legacy/zorg/smooshlab/masters/clang/public_html')
> Locals
> self
> twisted.web.server.Site instance @ 0x53b8e68
> <twisted.web.server.Site instance at 0x53b8e68>
> request
> twisted.web.server.Request instance @ 0x3d27378
> <POST /builders/clang-i386-darwin10-gdb/cancelbuild HTTP/1.1>
> Globals
> copy <module 'copy' from
> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy.pyc'>
> resource <module 'twisted.web.resource' from '/Library/Python/2.6
> /site-
> packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/web/resource.pyc'>
> /Library/Python/2.6/site-
> packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/web/resource.py,
> line 47 in getChildForRequest
> 45 pathElement = request.postpath.pop(0)
> 46 request.prepath.append(pathElement)
> 47 resource = resource.getChildWithDefault(pathElement, request)
> 48 return resource
> Locals
> pathElement 'cancelbuild'
> request
> twisted.web.server.Request instance @ 0x3d27378
> <POST /builders/clang-i386-darwin10-gdb/cancelbuild HTTP/1.1>
> resource
> buildbot.status.web.builder.StatusResourceBuilder instance @ 0x44e9b70
> <buildbot.status.web.builder.StatusResourceBuilder instance at 0x44e9b70>
> /Library/Python/2.6/site-
> packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/web/resource.py,
> line 151 in getChildWithDefault
> 149 return self.children[path]
> 150
> 151 return self.getChild(path, request)
> 152
> Self
> children Dictionary instance @ 0x18eedb0
> Locals
> path 'cancelbuild'
> self
> buildbot.status.web.builder.StatusResourceBuilder instance @ 0x44e9b70
> <buildbot.status.web.builder.StatusResourceBuilder instance at 0x44e9b70>
> request
> twisted.web.server.Request instance @ 0x3d27378
> <POST /builders/clang-i386-darwin10-gdb/cancelbuild HTTP/1.1>
> /Library/Python/2.6/site-packages/buildbot-latest-
> py2.6.egg/buildbot/status/web/builder.py, line 309 in getChild
> 307 return file
> 308 if path == "cancelbuild":
> 309 return self.cancel(req)
> 310 if path == "builds":
> Locals
> path 'cancelbuild'
> self
> buildbot.status.web.builder.StatusResourceBuilder instance @ 0x44e9b70
> <buildbot.status.web.builder.StatusResourceBuilder instance at 0x44e9b70>
> req
> twisted.web.server.Request instance @ 0x3d27378
> <POST /builders/clang-i386-darwin10-gdb/cancelbuild HTTP/1.1>
> /Library/Python/2.6/site-packages/buildbot-latest-
> py2.6.egg/buildbot/status/web/builder.py, line 278 in cancel
> 276 if cancel_all or id(build_req.original_request.status) ==
> request_id:
> 277 log.msg("Cancelling %s" % build_req)
> 278 build_req.cancel()
> 279 if not cancel_all:
> Locals
> build_req
> buildbot.process.builder.BuildRequestControl instance @ 0x44e9288
> <buildbot.process.builder.BuildRequestControl instance at 0x44e9288>
> cancel_all True
> request_id 'all'
> Globals
> log <module 'twisted.python.log' from '/Library/Python/2.6/site-
> packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/python/log.pyc'>
> /Library/Python/2.6/site-packages/buildbot-latest-
> py2.6.egg/buildbot/process/builder.py, line 921 in cancel
> 919
> 920 def cancel(self):
> 921 self.original_builder.cancelBuildRequest(self.original_request)
> 922
> Self
> original_request
> buildbot.process.base.BuildRequest instance @ 0x54257b0
> <buildbot.process.base.BuildRequest instance at 0x54257b0>
> original_builder
> buildbot.process.builder.Builder instance @ 0x1828710
> <Builder 'clang-i386-darwin10-gdb' at 25331472>
> Locals
> self
> buildbot.process.builder.BuildRequestControl instance @ 0x44e9288
> <buildbot.process.builder.BuildRequestControl instance at 0x44e9288>
> /Library/Python/2.6/site-packages/buildbot-latest-
> py2.6.egg/buildbot/process/builder.py, line 471 in cancelBuildRequest
> 469 if req in self.buildable:
> 470 self.buildable.remove(req)
> 471 self.builder_status.removeBuildRequest(req.status,
> cancelled=True)
> 472 return True
> Self
> buildable List instance @ 0x558dc88
> buildbot.process.base.BuildRequest instance @ 0x54286c0
> <buildbot.process.base.BuildRequest instance at 0x54286c0>
> buildbot.process.base.BuildRequest instance @ 0x67ad5a8
> <buildbot.process.base.BuildRequest instance at 0x67ad5a8>
> buildbot.process.base.BuildRequest instance @ 0x46d7c88
> <buildbot.process.base.BuildRequest instance at 0x46d7c88>
> buildbot.process.base.BuildRequest instance @ 0x653c0d0
> <buildbot.process.base.BuildRequest instance at 0x653c0d0>
> buildbot.process.base.BuildRequest instance @ 0x65ad058
> <buildbot.process.base.BuildRequest instance at 0x65ad058>
> buildbot.process.base.BuildRequest instance @ 0x651ccd8
> <buildbot.process.base.BuildRequest instance at 0x651ccd8>
> buildbot.process.base.BuildRequest instance @ 0x651ba58
> <buildbot.process.base.BuildRequest instance at 0x651ba58>
> buildbot.process.base.BuildRequest instance @ 0x18bf288
> <buildbot.process.base.BuildRequest instance at 0x18bf288>
> buildbot.process.base.BuildRequest instance @ 0x658e418
> <buildbot.process.base.BuildRequest instance at 0x658e418>
> builder_status
> buildbot.status.builder.BuilderStatus instance @ 0x1fb2990
> <buildbot.status.builder.BuilderStatus instance at 0x1fb2990>
> Locals
> self
> buildbot.process.builder.Builder instance @ 0x1828710
> <Builder 'clang-i386-darwin10-gdb' at 25331472>
> req
> buildbot.process.base.BuildRequest instance @ 0x54257b0
> <buildbot.process.base.BuildRequest instance at 0x54257b0>
> /Library/Python/2.6/site-packages/buildbot-latest-
> py2.6.egg/buildbot/status/builder.py, line 1895 in removeBuildRequest
> 1893 if cancelled:
> 1894 for w in self.watchers:
> 1895 w.requestCancelled(self, brstatus)
> 1896
> Self
> watchers List instance @ 0x1fbcdf0
> buildbot.status.words.IRCContact instance @ 0x46d7418
> <buildbot.status.words.IRCContact instance at 0x46d7418>
> buildbot.status.words.IRCContact instance @ 0x3ddc030
> <buildbot.status.words.IRCContact instance at 0x3ddc030>
> buildbot.status.words.IRCContact instance @ 0x655f8c8
> <buildbot.status.words.IRCContact instance at 0x655f8c8>
> buildbot.status.words.IRCContact instance @ 0x655f350
> <buildbot.status.words.IRCContact instance at 0x655f350>
> Locals
> cancelled True
> brstatus
> buildbot.status.builder.BuildRequestStatus instance @ 0x5425918
> <buildbot.status.builder.BuildRequestStatus instance at 0x5425918>
> self
> buildbot.status.builder.BuilderStatus instance @ 0x1fb2990
> <buildbot.status.builder.BuilderStatus instance at 0x1fb2990>
> w
> buildbot.status.words.IRCContact instance @ 0x46d7418
> <buildbot.status.words.IRCContact instance at 0x46d7418>
> <type 'exceptions.AttributeError'>: IRCContact instance has no attribute
> 'requestCancelled'
> --
New description:
I get this a lot, but I'm not sure what the right fix is.
{{{
web.Server Traceback (most recent call last):
<type 'exceptions.AttributeError'>: IRCContact instance has no attribute
'requestCancelled'
/Library/Python/2.6/site-
packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/web/server.py,
line 149 in process
147 self.postpath = map(unquote, string.split(self.path[1:], '/'))
148 try:
149 resrc = self.site.getResourceFor(self)
150 self.render(resrc)
Self
site
twisted.web.server.Site instance @ 0x53b8e68
<twisted.web.server.Site instance at 0x53b8e68>
path '/builders/clang-i386-darwin10-gdb/cancelbuild'
postpath List instance @ 0x530a260
Locals
self
twisted.web.server.Request instance @ 0x3d27378
<POST /builders/clang-i386-darwin10-gdb/cancelbuild HTTP/1.1>
Globals
unquote <built-in function unquote>
string <module 'string' from
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/string.pyc'>
/Library/Python/2.6/site-
packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/web/server.py,
line 567 in getResourceFor
565 # servers and disconnected sites.
566 request.sitepath = copy.copy(request.prepath)
567 return resource.getChildForRequest(self.resource, request)
568
Self
resource
twisted.web.static.File instance @ 0x55aed28
FilePath('/Users/buildmaster/int_zorg/legacy/zorg/smooshlab/masters/clang/public_html')
Locals
self
twisted.web.server.Site instance @ 0x53b8e68
<twisted.web.server.Site instance at 0x53b8e68>
request
twisted.web.server.Request instance @ 0x3d27378
<POST /builders/clang-i386-darwin10-gdb/cancelbuild HTTP/1.1>
Globals
copy <module 'copy' from
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy.pyc'>
resource <module 'twisted.web.resource' from '/Library/Python/2.6
/site-
packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/web/resource.pyc'>
/Library/Python/2.6/site-
packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/web/resource.py,
line 47 in getChildForRequest
45 pathElement = request.postpath.pop(0)
46 request.prepath.append(pathElement)
47 resource = resource.getChildWithDefault(pathElement, request)
48 return resource
Locals
pathElement 'cancelbuild'
request
twisted.web.server.Request instance @ 0x3d27378
<POST /builders/clang-i386-darwin10-gdb/cancelbuild HTTP/1.1>
resource
buildbot.status.web.builder.StatusResourceBuilder instance @ 0x44e9b70
<buildbot.status.web.builder.StatusResourceBuilder instance at 0x44e9b70>
/Library/Python/2.6/site-
packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/web/resource.py,
line 151 in getChildWithDefault
149 return self.children[path]
150
151 return self.getChild(path, request)
152
Self
children Dictionary instance @ 0x18eedb0
Locals
path 'cancelbuild'
self
buildbot.status.web.builder.StatusResourceBuilder instance @ 0x44e9b70
<buildbot.status.web.builder.StatusResourceBuilder instance at 0x44e9b70>
request
twisted.web.server.Request instance @ 0x3d27378
<POST /builders/clang-i386-darwin10-gdb/cancelbuild HTTP/1.1>
/Library/Python/2.6/site-packages/buildbot-latest-
py2.6.egg/buildbot/status/web/builder.py, line 309 in getChild
307 return file
308 if path == "cancelbuild":
309 return self.cancel(req)
310 if path == "builds":
Locals
path 'cancelbuild'
self
buildbot.status.web.builder.StatusResourceBuilder instance @ 0x44e9b70
<buildbot.status.web.builder.StatusResourceBuilder instance at 0x44e9b70>
req
twisted.web.server.Request instance @ 0x3d27378
<POST /builders/clang-i386-darwin10-gdb/cancelbuild HTTP/1.1>
/Library/Python/2.6/site-packages/buildbot-latest-
py2.6.egg/buildbot/status/web/builder.py, line 278 in cancel
276 if cancel_all or id(build_req.original_request.status) ==
request_id:
277 log.msg("Cancelling %s" % build_req)
278 build_req.cancel()
279 if not cancel_all:
Locals
build_req
buildbot.process.builder.BuildRequestControl instance @ 0x44e9288
<buildbot.process.builder.BuildRequestControl instance at 0x44e9288>
cancel_all True
request_id 'all'
Globals
log <module 'twisted.python.log' from '/Library/Python/2.6/site-
packages/Twisted-8.2.0-py2.6-macosx-10.6-universal.egg/twisted/python/log.pyc'>
/Library/Python/2.6/site-packages/buildbot-latest-
py2.6.egg/buildbot/process/builder.py, line 921 in cancel
919
920 def cancel(self):
921 self.original_builder.cancelBuildRequest(self.original_request)
922
Self
original_request
buildbot.process.base.BuildRequest instance @ 0x54257b0
<buildbot.process.base.BuildRequest instance at 0x54257b0>
original_builder
buildbot.process.builder.Builder instance @ 0x1828710
<Builder 'clang-i386-darwin10-gdb' at 25331472>
Locals
self
buildbot.process.builder.BuildRequestControl instance @ 0x44e9288
<buildbot.process.builder.BuildRequestControl instance at 0x44e9288>
/Library/Python/2.6/site-packages/buildbot-latest-
py2.6.egg/buildbot/process/builder.py, line 471 in cancelBuildRequest
469 if req in self.buildable:
470 self.buildable.remove(req)
471 self.builder_status.removeBuildRequest(req.status,
cancelled=True)
472 return True
Self
buildable List instance @ 0x558dc88
buildbot.process.base.BuildRequest instance @ 0x54286c0
<buildbot.process.base.BuildRequest instance at 0x54286c0>
buildbot.process.base.BuildRequest instance @ 0x67ad5a8
<buildbot.process.base.BuildRequest instance at 0x67ad5a8>
buildbot.process.base.BuildRequest instance @ 0x46d7c88
<buildbot.process.base.BuildRequest instance at 0x46d7c88>
buildbot.process.base.BuildRequest instance @ 0x653c0d0
<buildbot.process.base.BuildRequest instance at 0x653c0d0>
buildbot.process.base.BuildRequest instance @ 0x65ad058
<buildbot.process.base.BuildRequest instance at 0x65ad058>
buildbot.process.base.BuildRequest instance @ 0x651ccd8
<buildbot.process.base.BuildRequest instance at 0x651ccd8>
buildbot.process.base.BuildRequest instance @ 0x651ba58
<buildbot.process.base.BuildRequest instance at 0x651ba58>
buildbot.process.base.BuildRequest instance @ 0x18bf288
<buildbot.process.base.BuildRequest instance at 0x18bf288>
buildbot.process.base.BuildRequest instance @ 0x658e418
<buildbot.process.base.BuildRequest instance at 0x658e418>
builder_status
buildbot.status.builder.BuilderStatus instance @ 0x1fb2990
<buildbot.status.builder.BuilderStatus instance at 0x1fb2990>
Locals
self
buildbot.process.builder.Builder instance @ 0x1828710
<Builder 'clang-i386-darwin10-gdb' at 25331472>
req
buildbot.process.base.BuildRequest instance @ 0x54257b0
<buildbot.process.base.BuildRequest instance at 0x54257b0>
/Library/Python/2.6/site-packages/buildbot-latest-
py2.6.egg/buildbot/status/builder.py, line 1895 in removeBuildRequest
1893 if cancelled:
1894 for w in self.watchers:
1895 w.requestCancelled(self, brstatus)
1896
Self
watchers List instance @ 0x1fbcdf0
buildbot.status.words.IRCContact instance @ 0x46d7418
<buildbot.status.words.IRCContact instance at 0x46d7418>
buildbot.status.words.IRCContact instance @ 0x3ddc030
<buildbot.status.words.IRCContact instance at 0x3ddc030>
buildbot.status.words.IRCContact instance @ 0x655f8c8
<buildbot.status.words.IRCContact instance at 0x655f8c8>
buildbot.status.words.IRCContact instance @ 0x655f350
<buildbot.status.words.IRCContact instance at 0x655f350>
Locals
cancelled True
brstatus
buildbot.status.builder.BuildRequestStatus instance @ 0x5425918
<buildbot.status.builder.BuildRequestStatus instance at 0x5425918>
self
buildbot.status.builder.BuilderStatus instance @ 0x1fb2990
<buildbot.status.builder.BuilderStatus instance at 0x1fb2990>
w
buildbot.status.words.IRCContact instance @ 0x46d7418
<buildbot.status.words.IRCContact instance at 0x46d7418>
<type 'exceptions.AttributeError'>: IRCContact instance has no attribute
'requestCancelled'
}}}
--
--
Ticket URL: <http://buildbot.net/trac/ticket/638#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list