Page 5 of 5

Re: Android, Remote Only Client

Posted: Wed Dec 09, 2009 12:16 pm
by ElmoTheElk
Thanks for the quick answer; again! I actually tried that first, but with the request:

Code: Select all

{"id":2,"method":"core.set_config","params":[{"max_upload_speed":2},{"max_download_speed":1}]}
The error that is thrown to the console is:

Code: Select all

[ERROR   ] 13:10:38 client:375 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: core.set_config({u'max_upload_speed': 2}, {u'max_download_speed': 1})
--------------------------------------------------------------------------------
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_dev-py2.6.egg/deluge/core/rpcserver.py", line 281, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)

TypeError: set_config() takes exactly 2 arguments (3 given)
:(

Re: Android, Remote Only Client

Posted: Wed Dec 09, 2009 1:00 pm
by damoxc
ElmoTheElk wrote:Thanks for the quick answer; again! I actually tried that first, but with the request:

Code: Select all

{"id":2,"method":"core.set_config","params":[{"max_upload_speed":2},{"max_download_speed":1}]}
The error that is thrown to the console is:

Code: Select all

[ERROR   ] 13:10:38 client:375 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: core.set_config({u'max_upload_speed': 2}, {u'max_download_speed': 1})
--------------------------------------------------------------------------------
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_dev-py2.6.egg/deluge/core/rpcserver.py", line 281, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)

TypeError: set_config() takes exactly 2 arguments (3 given)
:(
Yep that error is correct, it should be:

Code: Select all

{"id":2,"method":"core.set_config","params":[{"max_upload_speed":2, "max_download_speed":1}]}

Re: Android, Remote Only Client

Posted: Tue Jun 15, 2010 11:05 am
by ElmoTheElk
Hi! I need some help again. :oops:

Some users are starting to use the Deluge 1.3 RC and have reported problems with adding of torrents via my Transdroid Android app. I've tried it myself (with a fresh build version form the code tarball) and experience the same error.

When sending the torrent 'add by url' request, everything seems to be fine, untill deluged spits out:

Code: Select all

[DEBUG   ] 13:01:54 json_api:240 json-request: {"id":2,"method":"core.add_torrent_url","params":["http:\/\/isohunt.com\/download\/138556121\/ubuntu.torrent",[]]}
[INFO    ] 13:01:54 core:238 Attempting to add url http://isohunt.com/download/138556121/ubuntu.torrent
[ERROR   ] 13:01:55 core:246 Error occured downloading torrent from http://isohunt.com/download/138556121/ubuntu.torrent
[ERROR   ] 13:01:55 core:247 Reason: 200 OK
[ERROR   ] 13:01:55 client:389 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: core.add_torrent_url(http://isohunt.com/download/138556121/ubuntu.torrent, [])
--------------------------------------------------------------------------------
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/rpcserver.py", line 310, in on_fail
    failure.raiseException()
  File "/usr/lib/python2.6/dist-packages/twisted/python/failure.py", line 326, in raiseException
    raise self.type, self.value, self.tb
The request thus seems to be received but the daemon won't download the .torrent file? I am a bit lost, so any pointers to what is going wrong are greatly appreciated!

I have to add that uploading .torrent files work fine and I can also not add a torrent by URL using the normal web UI.

Re: Android, Remote Only Client

Posted: Tue Aug 24, 2010 8:16 am
by ElmoTheElk
Just posting that the new Deluge 1.3 RC2 seems to have fixed this last problem. Adding via the web UI (and therefore with Transdroid) works again.

Re: Android, Remote Only Client

Posted: Tue Aug 24, 2010 9:43 am
by damoxc
Good news to hear :-)

Re: Android, Remote Only Client

Posted: Fri Jan 27, 2012 9:18 am
by MasterCATZ
Is transoid still the only android client,,

Webui unusable on my small g1 screen



That. And its. To easy. To accidently shutdown daemon