[Buildbot-commits] [SPAM] Re: [Buildbot] #812: DirectoryLister is only in twisted.web.static in Twisted-9.0.0

Buildbot buildbot-devel at lists.sourceforge.net
Sat May 1 20:22:23 UTC 2010


#812: DirectoryLister is only in twisted.web.static in Twisted-9.0.0
-------------------+--------------------------------------------------------
Reporter:  dustin  |       Owner:       
    Type:  defect  |      Status:  new  
Priority:  major   |   Milestone:  0.8.0
 Version:  0.8.0   |    Keywords:       
-------------------+--------------------------------------------------------

Comment(by dustin):

 Sadly, in Twisted-8.1.0:
 {{{
         Traceback (most recent call last):
           File "/home/dustin/code/buildbot/t/buildbot/sand25/lib/python2.5
 /site-
 packages/Twisted-8.1.0-py2.5-linux-x86_64.egg/twisted/protocols/basic.py",
 line 231, in dataReceived
             why = self.lineReceived(line)
           File "/home/dustin/code/buildbot/t/buildbot/sand25/lib/python2.5
 /site-packages/Twisted-8.1.0-py2.5-linux-x86_64.egg/twisted/web/http.py",
 line 1067, in lineReceived
             self.allContentReceived()
           File "/home/dustin/code/buildbot/t/buildbot/sand25/lib/python2.5
 /site-packages/Twisted-8.1.0-py2.5-linux-x86_64.egg/twisted/web/http.py",
 line 1108, in allContentReceived
             req.requestReceived(command, path, version)
           File "/home/dustin/code/buildbot/t/buildbot/sand25/lib/python2.5
 /site-packages/Twisted-8.1.0-py2.5-linux-x86_64.egg/twisted/web/http.py",
 line 626, in requestReceived
             self.process()
         --- <exception caught here> ---
           File "/home/dustin/code/buildbot/t/buildbot/sand25/lib/python2.5
 /site-
 packages/Twisted-8.1.0-py2.5-linux-x86_64.egg/twisted/web/server.py", line
 150, in process
             self.render(resrc)
           File "/home/dustin/code/buildbot/t/buildbot/sand25/lib/python2.5
 /site-
 packages/Twisted-8.1.0-py2.5-linux-x86_64.egg/twisted/web/server.py", line
 157, in render
             body = resrc.render(self)
           File
 "/home/dustin/code/buildbot/t/buildbot/buildbot/status/web/base.py", line
 282, in render
             dirs, files = self._getFilesAndDirectories(directory)
         exceptions.AttributeError: 'DirectoryLister' object has no
 attribute '_getFilesAndDirectories'
 }}}

 So I think that this is just unsupported in Twisted<9.0.0.

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


More information about the Commits mailing list