[Buildbot-commits] [Buildbot] #1016: exceptions.AttributeError: 'DirectoryLister' object has no attribute 'getAuthz'

Buildbot buildbot-devel at lists.sourceforge.net
Thu Oct 21 13:46:08 UTC 2010


#1016: exceptions.AttributeError: 'DirectoryLister' object has no attribute
'getAuthz'
----------------------+-----------------------------------------------------
Reporter:  thepeople  |       Owner:       
    Type:  defect     |      Status:  new  
Priority:  critical   |   Milestone:  0.8.2
 Version:  0.8.1      |    Keywords:  web  
----------------------+-----------------------------------------------------

Comment(by dustin):

 For reference, the last bit of the error is
 {{{
 #!html
 <div class="location">/usr/lib/python2.4/site-
 packages/buildbot/status/web/base.py, line 269 in <span
 class="function">render</span></div>
 <div class="snippet">
 <div class="snippetLine"><span class="lineno">267</span><span
 class="code"></span></div>

 <div class="snippetLine"><span class="lineno">268</span><span
 class="code">    def render(self,
 request):</span></div>

 <div class="snippetHighlightLine"><span class="lineno">269</span><span
 class="code">      cxt =
 self.getContext(request)</span></div>

 <div class="snippetLine"><span class="lineno">270</span><span
 class="code"></span></div>
 </div><div class="variables"><b>Locals</b><table class="variables">
 <tr class="varRow"><td class="varName">self</td><td
 class="varValue"><code><DirectoryLister of
 '/home/buildbot/master/public_html/broken_packages'></code></td></tr>

 <tr class="varRow"><td class="varName">request</td><td
 class="varValue"><div class="instance"><span
 class="instanceName">twisted.web.server.Request instance @
 0x6a12cf8</span>
               <span class="instanceRepr"><GET /broken_packages/
 HTTP/1.1></span></div>
               </td></tr>

 </table></div></div><div class="frame">
 <div class="location">/usr/lib/python2.4/site-
 packages/buildbot/status/web/base.py, line 174 in <span
 class="function">getContext</span></div>
 <div class="snippet">
 <div class="snippetLine"><span class="lineno">172</span><span
 class="code">          title
 = self.getTitle(request),</span></div>

 <div class="snippetLine"><span class="lineno">173</span><span
 class="code">          welcomeurl
 = rootpath,</span></div>

 <div class="snippetHighlightLine"><span class="lineno">174</span><span
 class="code">          authz
 = self.getAuthz(request),</span></div>

 <div class="snippetLine"><span class="lineno">175</span><span
 class="code">          )</span></div>
 </div><div class="variables"><b>Locals</b><table class="variables">
 <tr class="varRow"><td class="varName">self</td><td
 class="varValue"><code><DirectoryLister of
 '/home/buildbot/master/public_html/broken_packages'></code></td></tr>

 <tr class="varRow"><td class="varName">request</td><td
 class="varValue"><div class="instance"><span
 class="instanceName">twisted.web.server.Request instance @
 0x6a12cf8</span>
               <span class="instanceRepr"><GET /broken_packages/
 HTTP/1.1></span></div>
               </td></tr>

 <tr class="varRow"><td class="varName">rootpath</td><td
 class="varValue">'../'</td></tr>
 </table></div></div></div><a name="tbend"> </a>
 <p class="error">exceptions.AttributeError: 'DirectoryLister' object has
 no attribute 'getAuthz'</p>
 }}}

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


More information about the Commits mailing list