Android, Remote Only Client

Suggestions and discussion of future versions
ElmoTheElk
Member
Member
Posts: 25
Joined: Tue May 12, 2009 5:27 pm

Re: Android, Remote Only Client

Post 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)
:(
damoxc
Top Bloke
Top Bloke
Posts: 117
Joined: Sat Jul 19, 2008 7:26 pm
Location: Hampshire, UK
Contact:

Re: Android, Remote Only Client

Post 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}]}
ElmoTheElk
Member
Member
Posts: 25
Joined: Tue May 12, 2009 5:27 pm

Re: Android, Remote Only Client

Post 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.
ElmoTheElk
Member
Member
Posts: 25
Joined: Tue May 12, 2009 5:27 pm

Re: Android, Remote Only Client

Post 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.
damoxc
Top Bloke
Top Bloke
Posts: 117
Joined: Sat Jul 19, 2008 7:26 pm
Location: Hampshire, UK
Contact:

Re: Android, Remote Only Client

Post by damoxc »

Good news to hear :-)
MasterCATZ
Member
Member
Posts: 24
Joined: Thu Dec 01, 2011 11:08 pm

Re: Android, Remote Only Client

Post 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
Post Reply