[Buildbot-commits] [Buildbot] #2296: TemplateAssertionError: no test named 'mapping'

Buildbot nobody at buildbot.net
Sat May 12 14:59:34 UTC 2012


#2296: TemplateAssertionError: no test named 'mapping'
-------------------+-------------------
Reporter:  dustin  |      Owner:
    Type:  defect  |     Status:  new
Priority:  major   |  Milestone:  0.8.7
 Version:  master  |   Keywords:
-------------------+-------------------
 When viewing a log:
 {{{
 2012-05-12 09:57:51-0500 [HTTPChannel,0,172.16.1.18] Unhandled Error
         Traceback (most recent call last):
           File "/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7
 /site-packages/twisted/web/http.py", line 773, in requestReceived
             self.process()
           File "/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7
 /site-packages/twisted/web/server.py", line 132, in process
             self.render(resrc)
           File "/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7
 /site-packages/twisted/web/server.py", line 167, in render
             body = resrc.render(self)
           File
 "/home/dustin/code/buildbot/t/buildbot/master/buildbot/status/web/base.py",
 line 326, in render
             d = defer.maybeDeferred(lambda : self.content(request, ctx))
         --- <exception caught here> ---
           File "/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7
 /site-packages/twisted/internet/defer.py", line 134, in maybeDeferred
             result = f(*args, **kw)
           File
 "/home/dustin/code/buildbot/t/buildbot/master/buildbot/status/web/base.py",
 line 326, in <lambda>
             d = defer.maybeDeferred(lambda : self.content(request, ctx))
           File
 "/home/dustin/code/buildbot/t/buildbot/master/buildbot/status/web/build.py",
 line 259, in content
             template =
 req.site.buildbot_service.templates.get_template("build.html")
           File "/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7
 /site-packages/jinja2/environment.py", line 716, in get_template
             return self._load_template(name, self.make_globals(globals))
           File "/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7
 /site-packages/jinja2/environment.py", line 690, in _load_template
             template = self.loader.load(self, name, globals)
           File "/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7
 /site-packages/jinja2/loaders.py", line 127, in load
             code = environment.compile(source, name, filename)
           File "/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7
 /site-packages/jinja2/environment.py", line 492, in compile
             self.handle_exception(exc_info, source_hint=source)
           File
 "/home/dustin/code/buildbot/t/buildbot/master/buildbot/status/web/templates/build.html",
 line 154, in template
             {% if p.value is not mapping %}
         jinja2.exceptions.TemplateAssertionError: no test named 'mapping'
 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2296>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list