Opened 14 years ago
Closed 14 years ago
#1207 closed defect (Fixed)
Not work webui
Reported by: | lk29 | Owned by: | Damien Churchill |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Web UI | Version: | 1.3.0_dev |
Keywords: | Cc: |
Description
web.Server Traceback (most recent call last):
<type 'exceptions.AttributeError'>: Request instance has no attribute 'requestHeaders' /usr/lib/python2.5/site-packages/twisted/web/server.py, line 160 in process 158 try: 159 resrc = self.site.getResourceFor(self) 160 self.render(resrc) 161 except: Selfsite twisted.web.server.Site instance @ 0x859c24c <twisted.web.server.Site instance at 0x859c24c>
Localsresrc deluge.ui.web.server.TopLevel instance @ 0x81a598c <deluge.ui.web.server.TopLevel instance at 0x81a598c> self twisted.web.server.Request instance @ 0x85b920c <GET / HTTP/1.1>
/usr/lib/python2.5/site-packages/twisted/web/server.py, line 167 in render 165 def render(self, resrc): 166 try: 167 body = resrc.render(self) 168 except UnsupportedMethod, e: Localsresrc deluge.ui.web.server.TopLevel instance @ 0x81a598c <deluge.ui.web.server.TopLevel instance at 0x81a598c> self twisted.web.server.Request instance @ 0x85b920c <GET / HTTP/1.1>
GlobalsUnsupportedMethod <class 'twisted.web.server.UnsupportedMethod'>
/usr/lib/python2.5/site-packages/deluge-1.2.900_dev-py2.5.egg/deluge/ui/web/server.py, line 565 in render 563 request.setHeader("content-type", "text/html; charset=utf-8") 564 565 if request.requestHeaders.hasHeader('x-deluge-base'): 566 base = request.requestHeaders.getRawHeaders('x-deluge-base')[-1] Localsrequest twisted.web.server.Request instance @ 0x85b920c <GET / HTTP/1.1>
<type 'exceptions.AttributeError'>: Request instance has no attribute 'requestHeaders'
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/twisted/protocols/basic.py", line 232, in dataReceived
why = self.lineReceived(line)
File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 1001, in lineReceived
self.allContentReceived()
File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 1042, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 598, in requestReceived
self.process()
--- <exception caught here> ---
File "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 160, in process
self.render(resrc)
File "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 167, in render
body = resrc.render(self)
File "/usr/lib/python2.5/site-packages/deluge-1.2.900_dev-py2.5.egg/deluge/ui/web/server.py", line 565, in render
if request.requestHeaders.hasHeader('x-deluge-base'):
exceptions.AttributeError: Request instance has no attribute 'requestHeaders'
Change History (4)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
2009-09-03 03:21 TwistedCore-8.2.0/ 2009-09-03 03:21 TwistedWords-8.2.0/
2010-03-02 11:59 TwistedWeb2-8.1.0/
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
What version of Twisted is this with??