[Buildbot-commits] [SPAM] [Buildbot] #687: jinja2 'path_to_root' is undefined in directory listings

Buildbot buildbot-devel at lists.sourceforge.net
Mon Jan 18 00:56:35 UTC 2010


#687: jinja2 'path_to_root' is undefined in directory listings
----------------------+-----------------------------------------------------
Reporter:  tfogal     |       Owner:           
    Type:  undecided  |      Status:  new      
Priority:  major      |   Milestone:  undecided
 Version:  0.7.11     |    Keywords:           
----------------------+-----------------------------------------------------
 With current master (faf85da440d04d459ebd3a9086efef0db6658dc2), I've
 created a directory in $MASTER_BASEDIR/public_html named "devbuilds".  I
 use this in a FileUpload step to place a packaged version of our software.

 Trying to view the directory in a browser results in a jinja2 exception,
 however:
 {{{
  <class 'jinja2.exceptions.UndefinedError'>: 'path_to_root' is undefined
 }}}
 This appears to come from {{{/status/web/templates/layout.html}}}, line 31
 in block "header":
 {{{
  29    <a href="{{ path_to_root }}buildslaves">Buildslaves</a>
  30    <a href="{{ path_to_root }}changes">Changesources</a>
  31    - <a href="{{ path_to_root }}about">About</a>
  32  </div>
 }}}

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


More information about the Commits mailing list