Opened 16 years ago
Closed 16 years ago
#564 closed bug (Fixed)
WebUI crash when trying to set refresh frequency
Reported by: | arvid@cs.umu.se | Owned by: | mvoncken |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Web UI | Version: | 1.0.3 |
Keywords: | Cc: |
Description
I hit the "set" bytton next to the refresh time. I'm using the classing web UI template. This problem seems to be consistent.
--Deluge Error-- KeyError : 'set' path : /refresh/set file : /Library/Python/2.5/site-packages/deluge-1.0.3-py2.5-macosx-10.5-ppc.egg/deluge/ui/webui/pages.py in POST, line 248
--Input-- <Storage {'redir': '/index'}>
--Versions-- WebUi : 1.0.3r Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) [GCC 4.0.1 (Apple Inc. build 5465)]:
--Traceback--
File "/Library/Python/2.5/site-packages/deluge-1.0.3-py2.5-macosx-10.5-ppc.egg/deluge/ui/webui/lib/webpy022/webapi.py", line 304, in wsgifunc
result = func()
File "/Library/Python/2.5/site-packages/deluge-1.0.3-py2.5-macosx-10.5-ppc.egg/deluge/ui/webui/lib/webpy022/request.py", line 131, in <lambda>
func = lambda: handle(inp, fvars)
File "/Library/Python/2.5/site-packages/deluge-1.0.3-py2.5-macosx-10.5-ppc.egg/deluge/ui/webui/lib/webpy022/request.py", line 61, in handle
return tocall(*([x and urllib.unquote(x) for x in args] + fna))
File "/Library/Python/2.5/site-packages/deluge-1.0.3-py2.5-macosx-10.5-ppc.egg/deluge/ui/webui/pages.py", line 244, in GET
return self.POST(name)
File "/Library/Python/2.5/site-packages/deluge-1.0.3-py2.5-macosx-10.5-ppc.egg/deluge/ui/webui/page_decorators.py", line 52, in deco
return func(self, name) #check_session:ok
File "/Library/Python/2.5/site-packages/deluge-1.0.3-py2.5-macosx-10.5-ppc.egg/deluge/ui/webui/pages.py", line 249, in POST
auto_refresh = {'off': '0', 'on': '1'}[name]