Opened 15 years ago

Closed 15 years ago

#1011 closed bug (Fixed)

Deluge 1.1.9: WebUI: Plugin Label click LabelAdd- "values for ['options_form'] are required"

Reported by: lk29 Owned by: andar
Priority: critical Milestone:
Component: Plugin Version: 1.1.9
Keywords: Cc:

Description

Deluge 1.1.9 WebUI Plugin Label click LabelAdd error ...values for options_form are required

--Deluge Error--
TypeError : values for ['options_form'] are required
path : /label/add
file : /usr/lib/python2.5/site-packages/deluge-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/lib/webpy022/template.py in _parseargs, line 528

--Input--
<Storage {}>

--Versions--
WebUi : 1.1.9r
Python 2.5.2 (r252:60911, Sep 11 2008, 13:43:31) 
[GCC 4.2.4]:

--Traceback--
  File "/usr/lib/python2.5/site-packages/deluge-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/lib/webpy022/webapi.py", line 310, in wsgifunc
    result = func()
  File "/usr/lib/python2.5/site-packages/deluge-1.1.9-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-1.1.9-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-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/page_decorators.py", line 87, in deco
    return func(self, name) #check_session:ok
  File "/usr/lib/python2.5/site-packages/deluge-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/page_decorators.py", line 105, in deco
    return func(self, name) #check_connected:ok
  File "/usr/lib/python2.5/site-packages/deluge-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/page_decorators.py", line 60, in deco
    res = func(self, name) #deluge_page_noauth
  File "build/bdist.linux-i686/egg/label/webui.py", line 86, in GET
    return api.render.label.options(label_id)
  File "/usr/lib/python2.5/site-packages/deluge-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/lib/webpy022/template.py", line 488, in __call__
    d.update(self._parseargs(a, kw))
  File "/usr/lib/python2.5/site-packages/deluge-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/lib/webpy022/template.py", line 529, in _parseargs
    raise TypeError, 'values for %s are required' % unset




/usr/lib/python2.5/site-packages/deluge-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/lib/webpy022/template.py in _parseargs 
...
            raise TypeError, 'values for %s are required' % unset ...
/usr/lib/python2.5/site-packages/deluge-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/lib/webpy022/template.py in __call__ 
...
        d.update(self._parseargs(a, kw)) ...
build/bdist.linux-i686/egg/label/webui.py in GET 
/usr/lib/python2.5/site-packages/deluge-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/page_decorators.py in deco 
...
        res = func(self, name) #deluge_page_noauth ...
/usr/lib/python2.5/site-packages/deluge-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/page_decorators.py in deco 
...
            return func(self, name) #check_connected:ok ...
/usr/lib/python2.5/site-packages/deluge-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/page_decorators.py in deco 
...
            return func(self, name) #check_session:ok ...
/usr/lib/python2.5/site-packages/deluge-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/lib/webpy022/request.py in handle 
...
            return tocall(*([x and urllib.unquote(x) for x in args] + fna)) ...
/usr/lib/python2.5/site-packages/deluge-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/lib/webpy022/request.py in <lambda> 
...
            func = lambda: handle(inp, fvars) ...
/usr/lib/python2.5/site-packages/deluge-1.1.9-py2.5-linux-i686.egg/deluge/ui/webui/lib/webpy022/webapi.py in wsgifunc 
...
            result = func() ...
▶ Local vars 
Response so far
HEADERS

Content-Type: text/html
BODY

Request information
INPUT

No data.
COOKIESVariable	Value
auto_refresh	'0'
filter_cat	'label'
filter_value	''
order	'down'
selected_rows	'fb2fba3ebc0b95bb58b8af3edb773d8082915958'
session_id	'0.205077179055'
sort	'progress'
torrent_info_tab	'options'

METAVariable	Value
Content-Type	'text/html'

ENVIRONMENTVariable	Value
ACTUAL_SERVER_PROTOCOL	'HTTP/1.1'
AUTH_TYPE	''
HTTP_ACCEPT	'text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1'
HTTP_ACCEPT_CHARSET	'iso-8859-1, utf-8, utf-16, *;q=0.1'
HTTP_ACCEPT_ENCODING	'deflate, gzip, x-gzip, identity, *;q=0'
HTTP_ACCEPT_LANGUAGE	'ru-RU,ru;q=0.9,en;q=0.8'
HTTP_CONNECTION	'Keep-Alive, TE'
HTTP_COOKIE	'session_id=0.205077179055; sort=progress; order=down; filter_cat=label; filter_value=; auto_refresh=0; selected_rows=fb2fba3ebc0b95bb58b8af3edb773d8082915958; torrent_info_tab=options'
HTTP_COOKIE2	'$Version=1'
HTTP_HOST	'servers:8112'
HTTP_REFERER	'http://servers:8112/config/label'
HTTP_TE	'deflate, gzip, chunked, identity, trailers'
HTTP_USER_AGENT	'Opera/9.64 (Windows NT 5.1; U; ru) Presto/2.1.1'
PATH_INFO	'/label/add'
QUERY_STRING	''
REMOTE_ADDR	'85.92.x.x'
REMOTE_PORT	'1914'
REQUEST_METHOD	'GET'
SCRIPT_NAME	''
SERVER_NAME	'localhost'
SERVER_PORT	'8112'
SERVER_PROTOCOL	'HTTP/1.1'
SERVER_SOFTWARE	'CherryPy/3.0.1 WSGI Server'
wsgi.errors	<open file '<stderr>', mode 'w' at 0xb7bfa0b0>
wsgi.input	<socket._fileobject object at 0x85a3f44>
wsgi.multiprocess	False
wsgi.multithread	True
wsgi.run_once	False
wsgi.url_scheme	'http'
wsgi.version	(1, 0)

Change History (1)

comment:1 by andar, 15 years ago

Resolution: fixed
Status: newclosed

Webui has been rewritten in 1.2, so this should no longer be an issue.

Note: See TracTickets for help on using tickets.