[Buildbot-devel] "TypeError: 'NoneType' object is unsubscriptable" when viewing slaves
Jason Edgecombe
jason at rampaginggeek.com
Mon Jan 19 23:05:02 UTC 2015
Hi everyone,
When viewing build slaves, I'm getting a TypeError.
The example URL is:http://127.0.0.1:8010/buildslaves/centos6-x86_64
Here is the error text:
---------------------------------------------
*web.Server Traceback (most recent call last):*
exceptions.TypeError: 'NoneType' object is unsubscriptable
/home/buildbot/buildbot-venv/lib/python2.6/site-packages/Twisted-14.0.2-py2.6-linux-x86_64.egg/twisted/internet/defer.py:139
in maybeDeferred
138 | try:|
139 | result = f(*args, **kw)|
140 | except:|
/home/buildbot/buildbot-venv/lib/python2.6/site-packages/buildbot-0.8.10-py2.6.egg/buildbot/status/web/base.py:391
in <lambda>
390 | if allowed or path_always_viewable(request):|
391 | return defer.maybeDeferred(lambda:
self.content(request, ctx))|
392 | else:|
/home/buildbot/buildbot-venv/lib/python2.6/site-packages/buildbot-0.8.10-py2.6.egg/buildbot/status/web/slaves.py:117
in content
116 | try:|
117 | max_builds = int(request.args.get('numbuilds')[0])|
118 | except ValueError:|
exceptions.TypeError: 'NoneType' object is unsubscriptable
---------------------------------------------
I'm getting this error in my test environment and production. My
production config, without the centos6 buildslave, is at:
https://github.com/edgester/afsbotcfg/blob/master/master.cfg
I appreciate any help that you can provide. 'buildbot checkconfig ..'
says that my config file is good.
Thanks,
Jason
More information about the devel
mailing list