#316 closed bug (Fixed)
Adding torrent in ui via ui gives error
Reported by: | anonymous | Owned by: | mvoncken |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Web UI | Version: | 0.6.0svn |
Keywords: | Cc: |
Description
Reproducible every time -- still adds torrent, but you get an error every time.
--Deluge Error-- NameError : global name 'this' is not defined path : /torrent/add file : /var/lib/python-support/python2.5/deluge/ui/webui/torrent_add.py in POST, line 123
--Input-- <Storage {'max_download_speed_per_torrent': 'Unlimited', 'max_upload_speed_per_torrent': 'Unlimited', 'url': 'http://www.mininova.org/get/1552195', 'download_location': '/home/john', 'redir': , 'submit': 'Submit', 'max_connections_per_torrent': 'Unlimited', 'max_upload_slots_per_torrent': 'Unlimited', 'torrent': }>
--Versions-- WebUi : rev.185 Python : 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] dbus:0.82.4
--Traceback--
File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/webapi.py", line 304, in wsgifunc
result = func()
File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 131, in <lambda>
func = lambda: handle(inp, fvars)
File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 61, in handle
return tocall(*([x and urllib.unquote(x) for x in args] + fna))
File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 52, in deco
return func(self, name) #check_session:ok
File "/var/lib/python-support/python2.5/deluge/ui/webui/torrent_add.py", line 124, in POST
this.redirect(vars.choose_files)
fixed in r3333