[Buildbot-commits] [Buildbot] #2245: grid.py Deferred instance has no attribute '__len__'

Buildbot nobody at buildbot.net
Thu Mar 15 18:51:45 UTC 2012


#2245: grid.py   Deferred instance has no attribute '__len__'
----------------------+------------------------
Reporter:  kevbroch   |       Owner:
    Type:  undecided  |      Status:  new
Priority:  major      |   Milestone:  undecided
 Version:  master     |  Resolution:
Keywords:             |
----------------------+------------------------
Description changed by tom.prince:

Old description:

> Clicking on grid link generates this:
>
> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-
> packages/buildbot-0.8.6_166_g502ed82-py2.7.egg/buildbot/status/web/grid.py,
> line 81 in builder_cxt
> 79      state = "waiting"
> 80
> 81    n_pending = len(builder.getPendingBuildRequestStatuses())
> 82
> <type 'exceptions.AttributeError'>: Deferred instance has no attribute
> '__len__'

New description:

 Clicking on grid link generates this:
 {{{
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-
 packages/buildbot-0.8.6_166_g502ed82-py2.7.egg/buildbot/status/web/grid.py,
 line 81 in builder_cxt
 79      state = "waiting"
 80
 81    n_pending = len(builder.getPendingBuildRequestStatuses())
 82
 <type 'exceptions.AttributeError'>: Deferred instance has no attribute
 '__len__'
 }}}

--

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


More information about the Commits mailing list