Opened 16 years ago

Closed 16 years ago

#132 closed bug (Fixed)

Adding a torrent-URL from web ui fails

Reported by: Owned by: mvoncken
Priority: minor Milestone:
Component: Web UI Version: 0.6.0svn
Keywords: Cc:



I use the nightly svn snapshots on ubuntu gutsy. I just wanted to record here that adding a torrent-URL via the web interface does not work. Adding the same torrent by first wget'ing it and then adding the torrent-file works fine.

--Deluge Error--
Fault : <Fault 1: "<type 'exceptions.TypeError'>:export_add_torrent_url() takes exactly 4 arguments (3 given)">
path : /torrent/add
file : /var/lib/python-support/python2.5/deluge/ in close, line 786

<Storage {'max_download_speed_per_torrent': 'Unlimited', 'prioritize_first_last_pieces': 'on', 'max_upload_speed_per_torrent': '20', 'url': '', 'download_location': '/export/p2p', 'redir': '', 'compact_allocation': 'on', 'max_connections_per_torrent': 'Unlimited', 'submit': 'Submit', 'max_upload_slots_per_torrent': 'Unlimited', 'torrent': ''}>

WebUi : rev.185
Python : 2.5.1 (r251:54863, Mar  7 2008, 04:10:12) 
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]

  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/", line 304, in wsgifunc
    result = func()
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/", line 131, in <lambda>
    func = lambda: handle(inp, fvars)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/", 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/", line 52, in deco
    return func(self, name) #check_session:ok
  File "/var/lib/python-support/python2.5/deluge/ui/webui/", line 121, in POST
  File "/var/lib/python-support/python2.5/deluge/", line 1150, in __call__
    return self.__send(self.__name, args)
  File "/var/lib/python-support/python2.5/deluge/", line 1440, in __request
  File "/var/lib/python-support/python2.5/deluge/", line 1204, in request
    return self._parse_response(h.getfile(), sock)
  File "/var/lib/python-support/python2.5/deluge/", line 1343, in _parse_response
    return u.close()
  File "/var/lib/python-support/python2.5/deluge/", line 787, in close
    raise Fault(**self._stack[0])

Thanks for all your hard work.



Change History (2)

comment:1 Changed 16 years ago by mvoncken

  • Version changed from svn to 0.6.0svn

comment:2 Changed 16 years ago by mvoncken

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

fixed in r.3068.

Note: See TracTickets for help on using tickets.