[Buildbot-devel] upgrade to 0.8.9

Dustin J. Mitchell dustin at v.igoro.us
Fri Jun 20 15:42:01 UTC 2014


Do you have any custom Jinja2 templates written?  It looks like you
have an old version of change_macros.html sticking around somewhere.

Dustin

On Fri, Jun 20, 2014 at 6:47 AM, christian staffa
<christian.staffa at riverbed.com> wrote:
> Hi all
>
> I updated to the version 0.8.9 from 0.8.7p1. After fixing some stuff
> caused due to changes is got the buildmaster started.
> But on visit the status waterfall view i got the following error:
> {{{
> web.Server Traceback (most recent call last):
> exceptions.TypeError: macro 'box_contents' takes no keyword argument
> 'project'
> /home/qatest/buildbot/lib/python2.6/site-packages/twisted/internet/defer.py:577
> in _runCallbacks
> 576                    try:
> 577                        current.result = callback(current.result,
> *args, **kw)
> 578                        if current.result is current:
> /home/qatest/buildbot/lib/python2.6/site-packages/buildbot/status/web/waterfall.py:470
> in call_content
> 469            return self.content_with_db_data(results['changes'],
> 470                                             brcounts, request, ctx)
> 471        d.addCallback(call_content)
> /home/qatest/buildbot/lib/python2.6/site-packages/buildbot/status/web/waterfall.py:534
> in content_with_db_data
> 533        ctx.update(self.phase2(request, changeNames + builderNames,
> timestamps, eventGrid,
> 534                               sourceEvents))
> 535
> /home/qatest/buildbot/lib/python2.6/site-packages/buildbot/status/web/waterfall.py:800
> in phase2
> 799                if sourceEvents[i - 1]:
> 800                    filler = IBox(sourceEvents[i - 1]).getBox(request)
> 801                else:
> /home/qatest/buildbot/lib/python2.6/site-packages/buildbot/status/web/changes.py:76
> in getBox
> 75
> revision=self.original.revision,
> 76                                            project=self.original.project)
> 77        return Box([text], class_="Change")
> /home/qatest/buildbot/lib/python2.6/site-packages/jinja2/runtime.py:426
> in __call__
> 425            raise TypeError('macro %r takes no keyword argument %r' %
> 426                            (self.name, next(iter(kwargs))))
> 427        if self.catch_varargs:
> exceptions.TypeError: macro 'box_contents' takes no keyword argument
> 'project'
> }}}
>
> Does anybody know of that problem or have a clue what went wrong?
>
> Thanks for any tip  in advance :)
>
>      ~Chris
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> 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