[Buildbot] #3115: Cannot display slave status

Buildbot trac trac at buildbot.net
Wed Dec 17 09:44:01 UTC 2014


#3115: Cannot display slave status
---------------------+--------------------
Reporter:  kayhayen  |       Owner:
    Type:  defect    |      Status:  new
Priority:  major     |   Milestone:  0.8.x
 Version:  0.8.10    |  Resolution:
Keywords:            |
---------------------+--------------------
Changes (by sa2ajj):

 * type:  undecided => defect
 * milestone:  undecided => 0.8.x


Old description:

> I upgraded von 0.8.9 to 0.8.10 and now have this for every slave status
> display:
>
> web.Server Traceback (most recent call last):
> exceptions.TypeError: 'NoneType' object has no attribute '__getitem__'
> /opt/buildbot/sandbox/lib/python2.7/site-
> packages/twisted/internet/defer.py:139 in maybeDeferred
> 138    try:
> 139        result = f(*args, **kw)
> 140    except:
> /opt/buildbot/sandbox/lib/python2.7/site-
> packages/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:
> /opt/buildbot/sandbox/lib/python2.7/site-
> packages/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 has no attribute '__getitem__'
>

> This happened for buildbots not even running. I did do upgrade-master
> once I noticed, so that ought to be not an issue. I also deleted all
> historical builds. Will it help to drop the sqlite database?

New description:

 I upgraded von 0.8.9 to 0.8.10 and now have this for every slave status
 display:

 {{{
 web.Server Traceback (most recent call last):
 exceptions.TypeError: 'NoneType' object has no attribute '__getitem__'
 /opt/buildbot/sandbox/lib/python2.7/site-
 packages/twisted/internet/defer.py:139 in maybeDeferred
 138    try:
 139        result = f(*args, **kw)
 140    except:
 /opt/buildbot/sandbox/lib/python2.7/site-
 packages/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:
 /opt/buildbot/sandbox/lib/python2.7/site-
 packages/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 has no attribute '__getitem__'
 }}}

 This happened for buildbots not even running. I did do upgrade-master once
 I noticed, so that ought to be not an issue. I also deleted all historical
 builds. Will it help to drop the sqlite database?

--

--
Ticket URL: <http://trac.buildbot.net/ticket/3115#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list