Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#322 closed feature-request (Fixed)

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

Reported by: crosser@… 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 Changed 12 years ago by mvoncken

  • Priority changed from minor to blocker
  • Status changed from new to assigned

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

comment:2 Changed 12 years ago by anonymous

  • Milestone 0.6.0 deleted

Milestone 0.6.0 deleted

comment:3 Changed 12 years ago by andar

  • Milestone set to 1.1.0
  • Status changed from assigned to new
  • Version changed from 0.6.0svn to 1.1.0_dev

comment:4 Changed 12 years ago by bishiboosh@…

Same bug here, from 1.0rc7 version.

comment:5 Changed 12 years ago by negge

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 Changed 12 years ago by mvoncken

  • Priority changed from blocker to major
  • Summary changed from setting refresh rate in webui does not work to setting refresh rate in webui does not work (--> implement js refresh)
  • Type changed from bug to feature-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 Changed 12 years ago by mvoncken

  • Milestone changed from 1.1.0 to 1.0.1
  • Priority changed from major to blocker
  • Version changed from 1.1.0_dev to 1.0.0

comment:8 Changed 12 years ago by mvoncken

  • Milestone changed from 1.0.1 to 1.1.0

comment:9 Changed 12 years ago by mvoncken

  • Resolution set to fixed
  • Status changed from new to closed

comment:10 Changed 12 years ago by anonymous

  • Milestone 1.1.0 deleted

Milestone 1.1.0 deleted

Note: See TracTickets for help on using tickets.