Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#322 closed feature-request (Fixed)

setting refresh rate in webui does not work (--> implement js refresh)

Reported by: crosser@average.org Owned by: mvoncken
Priority: blocker Milestone:
Component: Web UI Version: 1.0.0
Keywords: refresh Cc:

Description

In the WebUI, if autorefresh is enabled, and you hit "Set" button to change the refresh rate, you get this:

--Deluge Error--
KeyError : 'set'
path : /refresh/set
file : /usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/pages.py in POST, line 243

--Input--
<Storage {'redir': '/index'}>

--Versions--
WebUi : rev.185
Python : 2.5.1 (r251:54863, May  4 2007, 16:52:23) 
[GCC 4.1.2]

--Traceback--
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/lib/webpy022/webapi.py", line 304, in wsgifunc
    result = func()
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/lib/webpy022/request.py", line 131, in <lambda>
    func = lambda: handle(inp, fvars)
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.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 "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/pages.py", line 239, in GET
    return self.POST(name)
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/page_decorators.py", line 52, in deco
    return func(self, name) #check_session:ok
  File "/usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/pages.py", line 244, in POST
    auto_refresh = {'off': '0', 'on': '1'}[name]

This is SVN revision 3344.

Eugene

Change History (10)

comment:1 by mvoncken, 16 years ago

Priority: minorblocker
Status: newassigned

not implemented, on todo-list for 0.6-final.

comment:2 by (none), 16 years ago

Milestone: 0.6.0

Milestone 0.6.0 deleted

comment:3 by andar, 16 years ago

Milestone: 1.1.0
Status: assignednew
Version: 0.6.0svn1.1.0_dev

comment:4 by bishiboosh@gmail.com, 16 years ago

Same bug here, from 1.0rc7 version.

comment:5 by negge, 16 years ago

This bug still exists in version 0.9.09 (RC9). I get a similar traceback message, let me know if you want me to paste it somewhere.

comment:6 by mvoncken, 16 years ago

Priority: blockermajor
Summary: setting refresh rate in webui does not worksetting refresh rate in webui does not work (--> implement js refresh)
Type: bugfeature-request

1.1 :

Make a js refresh that's easy to turn off and on, sometimes the old current header based refresh was a pain to use.

comment:7 by mvoncken, 16 years ago

Milestone: 1.1.01.0.1
Priority: majorblocker
Version: 1.1.0_dev1.0.0

comment:8 by mvoncken, 16 years ago

Milestone: 1.0.11.1.0

comment:9 by mvoncken, 16 years ago

Resolution: fixed
Status: newclosed

comment:10 by (none), 16 years ago

Milestone: 1.1.0

Milestone 1.1.0 deleted

Note: See TracTickets for help on using tickets.