0.6 Development Report

Suggestions and discussion of future versions
oshiri
Member
Member
Posts: 40
Joined: Thu Nov 29, 2007 10:34 am

Re: 0.6 Development Report

Post by oshiri »

Forgot to mention that Webui Add URl is still not working in svn3067
I believed the problem resides in torrent_add.py.

I change this:

Code: Select all

        if vars.url:
            proxy.add_torrent_url(vars.url, options)
            log.debug("add-url:options :%s" % options)
            utils.do_redirect()
to :

Code: Select all

        if vars.url:
            proxy.add_torrent_url(vars.url, torrent_data, options)
            log.debug("add-url:options :%s" % options)
            utils.do_redirect()
to make it work.
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: 0.6 Development Report

Post by mvoncken »

add url is fixed now (r.3068)
dev: webui, core, labels | irc:vonck7 |
oshiri
Member
Member
Posts: 40
Joined: Thu Nov 29, 2007 10:34 am

Re: 0.6 Development Report

Post by oshiri »

Got deluge shell (null) remove torrent working.
Edit deluge-shell.py and change:

Code: Select all

class CommandRemove(Command):
	def execute(self, cmd):
		if len(cmd) < 2:
			self.usage()
			return
		try:
			client.remove_torrent(cmd[1:], None, None)
		except Exception, msg:
			print "*** Error:", str(msg), "\n"

	def usage(self):
		print "Usage: rm <torrent-id> [<torrent-id> ...]"
		print ""

	def help(self):
		print "Remove a torrent"
Hope someone will fix this in svn.
oshiri
Member
Member
Posts: 40
Joined: Thu Nov 29, 2007 10:34 am

Re: 0.6 Development Report

Post by oshiri »

Report for svn3117 :

1. Error reproduced when updating svn3072 to svn3117:
Not error like before :

Code: Select all

error: IndexError: list index out of range
but like this :

Code: Select all

[DEBUG   ] __init__:1072 CorePlugin initialized..
[INFO    ] __init__:1072 *** START Organize plugin***
[DEBUG   ] __init__:1072 Registering status field tracker_name with PluginManager
[DEBUG   ] __init__:1072 Organize plugin enabled..
[INFO    ] __init__:1072 Plugin Organize enabled..
[DEBUG   ] __init__:1072 Starting component TorrentManager..
[DEBUG   ] __init__:1072 Opening torrent state file for load.
[DEBUG   ] __init__:1072 Setting queue size to 1..
[INFO    ] __init__:1072 Adding torrent: XXXX [mininova].torrent
[DEBUG   ] __init__:1072 options: {'max_download_speed_per_torrent': -1, 'add_paused': True, 'prioritize_first_last_pieces': False, 'max_upload_speed_per_torrent': -1, 'max_connections_per_torrent': -1, 'download_location': '/home/oshiri', 'compact_allocation': True, 'file_priorities': [1, 1], 'default_private': False, 'max_upload_slots_per_torrent': -1}
[DEBUG   ] __init__:1072 Attempting to open XXXX [mininova].torrent for add.
[DEBUG   ] __init__:1072 Pausing component AlertManager..
It stuck there and deluge daemon will not start.
Deleting torrents.state will fix it.

2. deluge shell add torrent will crash deluged

null:

Code: Select all

~$ deluge -u null
[INFO    ] __init__:1072 Deluge ui 0.6.0.0r3117
[DEBUG   ] __init__:1072 options: {'config': None, 'ui': 'null'}
[DEBUG   ] __init__:1072 args: []
[DEBUG   ] __init__:1072 ConfigManager started..
[INFO    ] __init__:1072 Starting ui..
[DEBUG   ] __init__:1072 UI init..
[DEBUG   ] __init__:1072 Getting config 'ui.conf'
[DEBUG   ] __init__:1072 Config created with filename: ui.conf
[DEBUG   ] __init__:1072 Config defaults: {'selected_ui': 'gtk'}
[INFO    ] __init__:1072 Starting NullUI..
[DEBUG   ] __init__:1072 CoreProxy init..
Welcome to deluge-shell. Type 'help' to see a list of available commands.
> info

> add -p /home/oshiri/torrent; YYY [mininova].torrent;

> info

*** Operation failed. You are not connected to a deluge daemon.
    Perhaps you want to 'connect' first.

> connect localhost

> info

> add -p /home/oshiri/torrent; YYY [mininova].torrent;

*** Operation failed. You are not connected to a deluge daemon.
    Perhaps you want to 'connect' first.

>

deluged:

Code: Select all

[DEBUG   ] __init__:1072 Setting queue size to 0..
[DEBUG   ] __init__:1072 run_post_session_load
[DEBUG   ] __init__:1072 add_paused: {}
[DEBUG   ] __init__:1072 Starting component AutoAdd..
[DEBUG   ] __init__:1072 Pausing component AutoAdd..
[DEBUG   ] __init__:1072 Starting component TorrentQueue..
[DEBUG   ] __init__:1072 Setting 'download_location' to /home/oshiri/torrent of <type 'str'>
[INFO    ] __init__:1072 Adding torrent: YYY [mininova].torrent
[DEBUG   ] __init__:1072 options: None
[DEBUG   ] __init__:1072 Unable to load .fastresume: [Errno 2] No such file or directory: '/home/oshiri/.config/deluge/torrentfiles/YYY [mininova].torrent.fastresume'
[DEBUG   ] __init__:1072 Pausing component AlertManager..
[DEBUG   ] __init__:1072 config_value_changed signal emitted
Weird because it tries to load fastresume even when it's not created yet and then deluged died.

Others not tested.

Thanks.
cvig
Member
Member
Posts: 13
Joined: Sun Mar 09, 2008 7:24 am

Re: 0.6 Development Report

Post by cvig »

Is it possible and simple to use the system's installation of libtorrent instead of the bundled version?
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 »

cvig wrote:Is it possible and simple to use the system's installation of libtorrent instead of the bundled version?
Technically yes, but it would require some modifications to deluge to accommodate this.
cvig
Member
Member
Posts: 13
Joined: Sun Mar 09, 2008 7:24 am

Re: 0.6 Development Report

Post by cvig »

andar wrote:
cvig wrote:Is it possible and simple to use the system's installation of libtorrent instead of the bundled version?
Technically yes, but it would require some modifications to deluge to accommodate this.
Thanks.
xio
New User
New User
Posts: 3
Joined: Sun Jun 17, 2007 1:39 pm

Re: 0.6 Development Report

Post by xio »

Hello, folks.

Is it worth waiting for deluge-0.6 to be released in the near future?

Currently, I'm looking for a sane daemon+webui torrent client to install on my headless 'home server'. So far I have to use mldonkey, that, literally, _sucks_, but I can remeber shiny days when I was using deluge on my desktop. And now, deluge v.0.6 with daemon and UI parts separated! Awesome!

So, the question is, still: is 0.6 release possible in next few weeks? A month, maybe?

Also, If a SVN-version is stable enough to be put on the server, has somebody a .deb for a recent SVN release?

Thanks, sorry for my english.
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 »

xio wrote:Hello, folks.

Is it worth waiting for deluge-0.6 to be released in the near future?

Currently, I'm looking for a sane daemon+webui torrent client to install on my headless 'home server'. So far I have to use mldonkey, that, literally, _sucks_, but I can remeber shiny days when I was using deluge on my desktop. And now, deluge v.0.6 with daemon and UI parts separated! Awesome!

So, the question is, still: is 0.6 release possible in next few weeks? A month, maybe?

Also, If a SVN-version is stable enough to be put on the server, has somebody a .deb for a recent SVN release?

Thanks, sorry for my english.
You can use the nightly debs: http://download.deluge-torrent.org/nightly/0.6
Shadowtester
Member
Member
Posts: 11
Joined: Fri Dec 14, 2007 3:10 pm

Re: 0.6 Development Report

Post by Shadowtester »

How about a rough guess as to a time frame are we talking a few weeks or maybe a month or two or six months or more? I would love to be using 0.6 but some of the private trackers I use do not allow the use of beta clients so if I want to use Deluge I have to use the current release and I have a NAS/Media server running Ubuntu server edition just itching to take over my bit torrent work from my desktop machine. My electric bill would appreciate the change as well being able to shut down the quad except for when I am actually using it for more than just bit torrent would help :)
Post Reply