[Buildbot-devel] "TypeError: 'NoneType' object is unsubscriptable" when viewing slaves

Dustin J. Mitchell dustin at v.igoro.us
Tue Jan 20 02:58:06 UTC 2015


Yeah, sorry, that was http://trac.buildbot.net/ticket/3107 which has a
few fixes and workarounds described there.

Dustin

On Mon, Jan 19, 2015 at 6:05 PM, Jason Edgecombe
<jason at rampaginggeek.com> wrote:
> 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
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel




More information about the devel mailing list