Uploading torrent file as a multipart form Error
Posted: Fri May 01, 2009 4:43 pm
Hi guys, This is the error page i recieve when i attempt to upload a torrent file to the newest version of deluge.
All i did was add the torrent file as a filebody called torrent and added the password as a stringbody called pwd. This worked in version 0.5 of deluge so i think there is some broken code somewhere.
Hope this helps
error:--------------------Traceback (most recent call last): File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 165, in deco print func(self, name) #remote File "/var/lib/python-support/python2.5/deluge/ui/webui/pages.py", line 387, in POST proxy.add_torrent_filecontent(torrent_name, data_b64) File "/var/lib/python-support/python2.5/deluge/xmlrpclib.py", line 1150, in __call__ return self.__send(self.__name, args) File "/var/lib/python-support/python2.5/deluge/xmlrpclib.py", line 1440, in __request verbose=self.__verbose File "/var/lib/python-support/python2.5/deluge/ui/client.py", line 93, in request return self._parse_response(h.getfile(), sock) File "/var/lib/python-support/python2.5/deluge/xmlrpclib.py", line 1343, in _parse_response return u.close() File "/var/lib/python-support/python2.5/deluge/xmlrpclib.py", line 787, in close raise Fault(**self._stack[0])Fault: <Fault 1: '<type \'exceptions.Exception\'>:method "add_torrent_filecontent" is not supported'>
Alec
All i did was add the torrent file as a filebody called torrent and added the password as a stringbody called pwd. This worked in version 0.5 of deluge so i think there is some broken code somewhere.
Hope this helps
error:--------------------Traceback (most recent call last): File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 165, in deco print func(self, name) #remote File "/var/lib/python-support/python2.5/deluge/ui/webui/pages.py", line 387, in POST proxy.add_torrent_filecontent(torrent_name, data_b64) File "/var/lib/python-support/python2.5/deluge/xmlrpclib.py", line 1150, in __call__ return self.__send(self.__name, args) File "/var/lib/python-support/python2.5/deluge/xmlrpclib.py", line 1440, in __request verbose=self.__verbose File "/var/lib/python-support/python2.5/deluge/ui/client.py", line 93, in request return self._parse_response(h.getfile(), sock) File "/var/lib/python-support/python2.5/deluge/xmlrpclib.py", line 1343, in _parse_response return u.close() File "/var/lib/python-support/python2.5/deluge/xmlrpclib.py", line 787, in close raise Fault(**self._stack[0])Fault: <Fault 1: '<type \'exceptions.Exception\'>:method "add_torrent_filecontent" is not supported'>
Alec