Opened 13 years ago

Closed 13 years ago

#483 closed bug (Fixed)

Fault : <Fault 1: "<type 'exceptions.TypeError'>:export_add_torrent_url() takes exactly 3 arguments (4 given)">

Reported by: lennard@… Owned by: mvoncken
Priority: minor Milestone:
Component: Web UI Version: 1.1.0_dev
Keywords: Cc:

Description

I'm using the webinterface, current svn. I get this error when I try to add a torrent from the web. (adding from my local box, it works okay)

--Deluge Error-- Fault : <Fault 1: "<type 'exceptions.TypeError?'>:export_add_torrent_url() takes exactly 3 arguments (4 given)"> path : /torrent/add file : /usr/lib/python2.5/site-packages/deluge-1.1.0_dev-py2.5-linux-x86_64.egg/deluge/xmlrpclib.py in close, line 786

--Input-- <Storage {'max_download_speed_per_torrent': 'Unlimited', 'max_upload_speed_per_torrent': 'Unlimited', 'url': '<<<A RANDOM TORRENT>>>', 'download_location': '/home/samba/normaal/torrent/', 'redir': '/index', 'compact_allocation': 'on', 'max_connections_per_torrent': 'Unlimited', 'submit': 'Submit', 'max_upload_slots_per_torrent': 'Unlimited', 'torrent': }>

--Versions-- WebUi? : 1.1.0-devr Python 2.5.2 (r252:60911, Aug 6 2008, 11:20:54) [GCC 4.2.3]: dbus:0.82.4

--Traceback--

File "/usr/lib/python2.5/site-packages/deluge-1.1.0_dev-py2.5-linux-x86_64.egg/deluge/ui/webui/lib/webpy022/webapi.py", line 304, in wsgifunc

result = func()

File "/usr/lib/python2.5/site-packages/deluge-1.1.0_dev-py2.5-linux-x86_64.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.0_dev-py2.5-linux-x86_64.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.0_dev-py2.5-linux-x86_64.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-1.1.0_dev-py2.5-linux-x86_64.egg/deluge/ui/webui/torrent_add.py", line 122, in POST

proxy.add_torrent_url(vars.url, None,options)

File "/usr/lib/python2.5/site-packages/deluge-1.1.0_dev-py2.5-linux-x86_64.egg/deluge/xmlrpclib.py", line 1150, in call

return self.send(self.name, args)

File "/usr/lib/python2.5/site-packages/deluge-1.1.0_dev-py2.5-linux-x86_64.egg/deluge/xmlrpclib.py", line 1440, in request

verbose=self.verbose

File "/usr/lib/python2.5/site-packages/deluge-1.1.0_dev-py2.5-linux-x86_64.egg/deluge/xmlrpclib.py", line 1204, in request

return self._parse_response(h.getfile(), sock)

File "/usr/lib/python2.5/site-packages/deluge-1.1.0_dev-py2.5-linux-x86_64.egg/deluge/xmlrpclib.py", line 1343, in _parse_response

return u.close()

File "/usr/lib/python2.5/site-packages/deluge-1.1.0_dev-py2.5-linux-x86_64.egg/deluge/xmlrpclib.py", line 787, in close

raise Fault(self._stack[0])

Change History (1)

comment:1 Changed 13 years ago by mvoncken

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

rev.3859

Note: See TracTickets for help on using tickets.