0.6 Development Report

Suggestions and discussion of future versions
Post Reply
Win a 2

Re: 0.6 Development Report

Post by Win a 2 »

andar wrote:
mvoncken wrote:
Searcher wrote:If I understand correctly there won't be any CLI for the 0.5 branch, right?

I'm thinking on scribbling some PHP in terms of web UI for multi users, something like the good old torrentflux which is based on the good old bittornado but I am not on very good terms with python so I obviously need a CLI input to control deluge.. (I definitely don't mean to interfere with the current WebUI, which is rather single user oriented - maybe if I get a promise of multi-user multi-control multi-ip - I'll just shut up, sit tight and wait :roll:)

Is the CLI in 0.6 on the same level of manageability as the main GUI? What's the status with the win CLI?
Also is there somewhere a complete list of requirements / dependencies Deluge requires for running on various systems?
I thought about multiple users, but in the end i think it would be best to run 1 daemon+webui per user.

-apache/webserver integration is planned.
Not planned but if there is demand:
-add a command-line parameter for the location of the config file , to enable multiple webui/daemon configs.
-add a plugin that hides some webui config settings.
Multiple users is something that would likely need to be put into the core. I have thought about this before but it adds a lot more complexity so I felt it was something that could wait until after 0.6 becomes stable.
What? No multi-user-support?
Or multi-user-support just in daemon, so every user needs its own client running?
IIRC I was talking about multi-user w/ andar some time ago on IRC - you said, this will be in 0.6. :shock:
Currently I am running Azureus on my headless linux box und my users use AzSMRC on their clients. cus all of these are Java, there is no problem w/ multiplatform.

So what about multi-user in deluge 0.6?
I would love to have detailed explanation about the status and the plans and if this would be in 0.6 or not until 0.7?
Searcher
New User
New User
Posts: 4
Joined: Mon Nov 05, 2007 7:43 pm

Re: 0.6 Development Report

Post by Searcher »

mvoncken wrote:all ui's use the xmlrpc api in deluge 0.6.
That is rather cool, should make things a lot easier
mvoncken wrote:I thought about multiple users, but in the end i think it would be best to run 1 daemon+webui per user.
-apache/webserver integration is planned.
Not planned but if there is demand:
-add a command-line parameter for the location of the config file , to enable multiple webui/daemon configs.
-add a plugin that hides some webui config settings.
Well, the question is what's more resource demanding, a single daemon with several runing threads or multiple daemons with less active connections.. I am looking forward to the apach integration, though
andar wrote:Multiple users is something that would likely need to be put into the core. I have thought about this before but it adds a lot more complexity so I felt it was something that could wait until after 0.6 becomes stable.
It would definitely ease any external plugin development, but just as uTorrent doesn't support multi-users I wouldn't expect to have it in Deluge any soon because it is quite a major modification in the core.. and I haven't seen it as 'planned feature' despite what Win a 2 says above..

So all in all I guess I'll just wait and see where do we want to go today :)
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: 0.6 Development Report

Post by andar »

Win a 2 wrote: So what about multi-user in deluge 0.6?
I would love to have detailed explanation about the status and the plans and if this would be in 0.6 or not until 0.7?
I guess what I meant was having separate user sessions on the daemon. You can have as many clients as you want connected to the daemon to share the session, but there is no user authentication to provide 'private' lists of torrents downloading or anything.
zekopeko
Member
Member
Posts: 19
Joined: Wed Jun 13, 2007 10:34 am

Re: 0.6 Development Report

Post by zekopeko »

So let's say i have a headless Linux box and simply start the daemon on it. Then i can use GTKui on Windows/Linux/Mac to connect to it right?
And how much resources does the daemon use just for reference?
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: 0.6 Development Report

Post by andar »

zekopeko wrote:So let's say i have a headless Linux box and simply start the daemon on it. Then i can use GTKui on Windows/Linux/Mac to connect to it right?
And how much resources does the daemon use just for reference?
Yes, that's right. The amount of resources depends on how many torrents are in the session, their states, the amount of connections and speed at which you're downloading. When I'm just seeding about 30 torrents with a low amount of connections my server barely hits 1% cpu usage and maybe 15mb of memory. Although, when I'm downloading at 1mb/s with 400 connections it'll be upwards of 10%.
Searcher
New User
New User
Posts: 4
Joined: Mon Nov 05, 2007 7:43 pm

Re: 0.6 Development Report

Post by Searcher »

andar wrote:Yes, that's right. The amount of resources depends on how many torrents are in the session, their states, the amount of connections and speed at which you're downloading. When I'm just seeding about 30 torrents with a low amount of connections my server barely hits 1% cpu usage and maybe 15mb of memory. Although, when I'm downloading at 1mb/s with 400 connections it'll be upwards of 10%.
A minor detail is missing from the info, your box's specs perhaps? ..
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: 0.6 Development Report

Post by andar »

Searcher wrote:
andar wrote:Yes, that's right. The amount of resources depends on how many torrents are in the session, their states, the amount of connections and speed at which you're downloading. When I'm just seeding about 30 torrents with a low amount of connections my server barely hits 1% cpu usage and maybe 15mb of memory. Although, when I'm downloading at 1mb/s with 400 connections it'll be upwards of 10%.
A minor detail is missing from the info, your box's specs perhaps? ..
Ah, yes. I run the daemon on an Athlon XP 2600+.
hjuliao

Re: 0.6 Development Report

Post by hjuliao »

Hi Guys,

I'm running into anb issue when I try to use the webui, I can login fine no issues, but when I go to add a torrent either from the pc or a web address; I get a blank page.

Do I need to move files around? I have it running on a headless Ubuntu server 7.10 Gutsy.

Any help is greatly apreciated.

Regards,
Henry J.
oshiri
Member
Member
Posts: 40
Joined: Thu Nov 29, 2007 10:34 am

Re: 0.6 Development Report

Post by oshiri »

hjuliao wrote:I'm running into anb issue when I try to use the webui, I can login fine no issues, but when I go to add a torrent either from the pc or a web address; I get a blank page.
Output from console will be helpfull.

This is my report for svn3030:
1. deluge-shell,
i) add torrent does not work.
deluged debug output:

Code: Select all

[DEBUG   ] __init__:1072 Setting 'download_location' to "/home/oshiri/torrent" of <type 'str'>
[DEBUG   ] __init__:1072 config_value_changed signal emitted
ii) rm torrent will crash deluge shell

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/deluge", line 7, in ?
    sys.exit(
  File "/var/lib/python-support/python2.4/deluge/main.py", line 68, in start_ui
    UI(options, args)
  File "/var/lib/python-support/python2.4/deluge/ui/ui.py", line 65, in __init__
    ui = NullUI(args)
  File "/var/lib/python-support/python2.4/deluge/ui/null/deluge_shell.py", line 341, in __init__
    client.force_call()
  File "/var/lib/python-support/python2.4/deluge/ui/client.py", line 303, in force_call
    self.core.do_multicall(block=block)
  File "/var/lib/python-support/python2.4/deluge/ui/client.py", line 89, in do_multicall
    for i, ret in enumerate(self._multi()):
  File "/var/lib/python-support/python2.4/deluge/xmlrpclib.py", line 949, in __getitem__
    raise Fault(item['faultCode'], item['faultString'])
deluge.xmlrpclib.Fault: <Fault 1: 'exceptions.TypeError:export_remove_torrent() takes exactly 4 arguments (2 given)'>
2. gtk and webui, add torrent from url still not working.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: 0.6 Development Report

Post by andar »

oshiri wrote:
hjuliao wrote:I'm running into anb issue when I try to use the webui, I can login fine no issues, but when I go to add a torrent either from the pc or a web address; I get a blank page.
Output from console will be helpfull.

This is my report for svn3030:
1. deluge-shell,
i) add torrent does not work.
deluged debug output:

Code: Select all

[DEBUG   ] __init__:1072 Setting 'download_location' to "/home/oshiri/torrent" of <type 'str'>
[DEBUG   ] __init__:1072 config_value_changed signal emitted
ii) rm torrent will crash deluge shell

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/deluge", line 7, in ?
    sys.exit(
  File "/var/lib/python-support/python2.4/deluge/main.py", line 68, in start_ui
    UI(options, args)
  File "/var/lib/python-support/python2.4/deluge/ui/ui.py", line 65, in __init__
    ui = NullUI(args)
  File "/var/lib/python-support/python2.4/deluge/ui/null/deluge_shell.py", line 341, in __init__
    client.force_call()
  File "/var/lib/python-support/python2.4/deluge/ui/client.py", line 303, in force_call
    self.core.do_multicall(block=block)
  File "/var/lib/python-support/python2.4/deluge/ui/client.py", line 89, in do_multicall
    for i, ret in enumerate(self._multi()):
  File "/var/lib/python-support/python2.4/deluge/xmlrpclib.py", line 949, in __getitem__
    raise Fault(item['faultCode'], item['faultString'])
deluge.xmlrpclib.Fault: <Fault 1: 'exceptions.TypeError:export_remove_torrent() takes exactly 4 arguments (2 given)'>
2. gtk and webui, add torrent from url still not working.
Yea, I keep forgetting to implemented 'add from url' in the gtkui.. I'll get to it eventually.
Post Reply