0.6 Development Report

Suggestions and discussion of future versions
xio
New User
New User
Posts: 3
Joined: Sun Jun 17, 2007 1:39 pm

Re: 0.6 Development Report

Post by xio »

andar wrote:You can use the nightly debs: http://download.deluge-torrent.org/nightly/0.6
Nice, thanks, I'll give it a try.

AFAIU, you are unsure about the release date even on a close perspective? Don't you think it would be good to 'release early' v.0.6, get a feedback from users and then 'release often' v.0.6.x?
ResumeMan
New User
New User
Posts: 3
Joined: Fri Apr 25, 2008 4:53 pm

Re: 0.6 Development Report

Post by ResumeMan »

This is a long thread, so my apologies if this has been discussed.

Could the developers indicate if the current state of 0.6 is close to being ready for use by normal users? i.e are there any "show-stoppers"? I really like Deluge, but I use it on my headless server. I'd much prefer to keep the graphics shut down and just use the daemon and WebUI. But obviously only if it won't be more trouble than it's worth!!

I'd appreciate a quick rundown of the status of this thing.

BTW, I DO very much like v 0.5x!
aqtrans
Member
Member
Posts: 28
Joined: Fri Feb 08, 2008 4:07 pm

Re: 0.6 Development Report

Post by aqtrans »

ResumeMan wrote:This is a long thread, so my apologies if this has been discussed.

Could the developers indicate if the current state of 0.6 is close to being ready for use by normal users? i.e are there any "show-stoppers"? I really like Deluge, but I use it on my headless server. I'd much prefer to keep the graphics shut down and just use the daemon and WebUI. But obviously only if it won't be more trouble than it's worth!!

I'd appreciate a quick rundown of the status of this thing.

BTW, I DO very much like v 0.5x!
I'm not sure how religiously andar and the other devs update the Trac, but to get a good idea of what known bugs there are in 0.6, take a look here and look through what tickets are under 0.6svn and probably any recent unassigned tickets.
durand
New User
New User
Posts: 6
Joined: Wed Apr 16, 2008 8:15 pm

Re: 0.6 Development Report

Post by durand »

I've been using it for a bit now and no problems so far. The only thing I noticed is that gtk drawing doesn't work right but that only happens when trying to change the priority of a file. Other than that, deluge 0.6 feels more stable :)
ResumeMan
New User
New User
Posts: 3
Joined: Fri Apr 25, 2008 4:53 pm

Re: 0.6 Development Report

Post by ResumeMan »

Hi, well I was using 0.6 for about 10 minutes and I broke it :P

I was using it via the WebUI. I started a torrent, and tried to change the directory that it would be saved to. Note that I didn't seem to be successful in changing the default directory (it kept trying to put things in my home folder) so I tried moving the torrent itself. Note that where I wanted to move it was on a different drive from the OS drive. Note I'm using the latest build for Gutsy.

Here's the output I got:

Code: Select all

--Deluge Error--
error : (104, 'Connection reset by peer')
path : /torrent/move/b064b28999ae126c44de95db8dd07142928a48bc
file : socket.py in readline, line 330

--Input--
<Storage {'submit': 'Move', 'save_path': '/files/disk1/Videos/West_Wing'}>

--Versions--
WebUi : rev.185
Python : 2.5.1 (r251:54863, Mar  7 2008, 04:10:12) 
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
dbus:0.82.0

--Traceback--
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/webapi.py", line 304, in wsgifunc
    result = func()
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 131, in <lambda>
    func = lambda: handle(inp, fvars)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 61, in handle
    return tocall(*([x and urllib.unquote(x) for x in args] + fna))
  File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 52, in deco
    return func(self, name) #check_session:ok
  File "/var/lib/python-support/python2.5/deluge/ui/webui/torrent_move.py", line 75, in POST
    proxy.move_torrent(torrent_ids, save_path)
  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/xmlrpclib.py", line 1188, in request
    errcode, errmsg, headers = h.getreply()
  File "httplib.py", line 1195, in getreply
    response = self._conn.getresponse()
  File "httplib.py", line 924, in getresponse
    response.begin()
  File "httplib.py", line 385, in begin
    version, status, reason = self._read_status()
  File "httplib.py", line 343, in _read_status
    line = self.fp.readline()
  File "socket.py", line 331, in readline
    data = recv(1)
What the heck did I do? :)
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 »

ResumeMan wrote:Hi, well I was using 0.6 for about 10 minutes and I broke it :P

I was using it via the WebUI. I started a torrent, and tried to change the directory that it would be saved to. Note that I didn't seem to be successful in changing the default directory (it kept trying to put things in my home folder) so I tried moving the torrent itself. Note that where I wanted to move it was on a different drive from the OS drive. Note I'm using the latest build for Gutsy.

Here's the output I got:

Code: Select all

--Deluge Error--
error : (104, 'Connection reset by peer')
path : /torrent/move/b064b28999ae126c44de95db8dd07142928a48bc
file : socket.py in readline, line 330

--Input--
<Storage {'submit': 'Move', 'save_path': '/files/disk1/Videos/West_Wing'}>

--Versions--
WebUi : rev.185
Python : 2.5.1 (r251:54863, Mar  7 2008, 04:10:12) 
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
dbus:0.82.0

--Traceback--
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/webapi.py", line 304, in wsgifunc
    result = func()
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 131, in <lambda>
    func = lambda: handle(inp, fvars)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 61, in handle
    return tocall(*([x and urllib.unquote(x) for x in args] + fna))
  File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 52, in deco
    return func(self, name) #check_session:ok
  File "/var/lib/python-support/python2.5/deluge/ui/webui/torrent_move.py", line 75, in POST
    proxy.move_torrent(torrent_ids, save_path)
  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/xmlrpclib.py", line 1188, in request
    errcode, errmsg, headers = h.getreply()
  File "httplib.py", line 1195, in getreply
    response = self._conn.getresponse()
  File "httplib.py", line 924, in getresponse
    response.begin()
  File "httplib.py", line 385, in begin
    version, status, reason = self._read_status()
  File "httplib.py", line 343, in _read_status
    line = self.fp.readline()
  File "socket.py", line 331, in readline
    data = recv(1)
What the heck did I do? :)
I believe there might be a bug in the move_storage code which may be causing this, but I am unsure because I don't really know the webui code that well. Have you tried doing the same operation from the gtkui?
eternalsword
Member
Member
Posts: 44
Joined: Fri Jun 22, 2007 8:08 pm

Re: 0.6 Development Report

Post by eternalsword »

ResumeMan wrote:Hi, well I was using 0.6 for about 10 minutes and I broke it :P

I was using it via the WebUI. I started a torrent, and tried to change the directory that it would be saved to. Note that I didn't seem to be successful in changing the default directory (it kept trying to put things in my home folder) so I tried moving the torrent itself. Note that where I wanted to move it was on a different drive from the OS drive. Note I'm using the latest build for Gutsy.

Here's the output I got:

Code: Select all

--Deluge Error--
error : (104, 'Connection reset by peer')
path : /torrent/move/b064b28999ae126c44de95db8dd07142928a48bc
file : socket.py in readline, line 330

--Input--
<Storage {'submit': 'Move', 'save_path': '/files/disk1/Videos/West_Wing'}>

--Versions--
WebUi : rev.185
Python : 2.5.1 (r251:54863, Mar  7 2008, 04:10:12) 
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
dbus:0.82.0

--Traceback--
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/webapi.py", line 304, in wsgifunc
    result = func()
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 131, in <lambda>
    func = lambda: handle(inp, fvars)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 61, in handle
    return tocall(*([x and urllib.unquote(x) for x in args] + fna))
  File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 52, in deco
    return func(self, name) #check_session:ok
  File "/var/lib/python-support/python2.5/deluge/ui/webui/torrent_move.py", line 75, in POST
    proxy.move_torrent(torrent_ids, save_path)
  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/xmlrpclib.py", line 1188, in request
    errcode, errmsg, headers = h.getreply()
  File "httplib.py", line 1195, in getreply
    response = self._conn.getresponse()
  File "httplib.py", line 924, in getresponse
    response.begin()
  File "httplib.py", line 385, in begin
    version, status, reason = self._read_status()
  File "httplib.py", line 343, in _read_status
    line = self.fp.readline()
  File "socket.py", line 331, in readline
    data = recv(1)
What the heck did I do? :)
Libtorrent does not support moving torrents to different disks or partitions. In v0.5.x an deluge handles the error by informing the user that this cannot be done. I don't know if the webui correctly handles this or not.
ResumeMan
New User
New User
Posts: 3
Joined: Fri Apr 25, 2008 4:53 pm

Re: 0.6 Development Report

Post by ResumeMan »

OK well I just tried a new torrent, saving it to the same hard drive I want to move it to. Then tried moving it, and it seems to work fine.

TIme to continue experimenting...
oshiri
Member
Member
Posts: 40
Joined: Thu Nov 29, 2007 10:34 am

Re: 0.6 Development Report

Post by oshiri »

Since latest 0.6 svn does not work anymore with Debian Etch, I've been thinking to build all the dependecies in other directory, ex: /opt, so it will not break other applications.
I've tested this with latest firefox3 rc1 and gimp 2.4.5, and it works. This is easily done if the application built using automake, by simply exporting path of pkgconfig and LD.

But for deluge, I can't figure out how to do it.
Is there a way to do that?

The main problem with deluge and Etch is libtorrent won't compile.
If we can separate deluge from libtorrent and create binary libtorrent which can be use by any distro, that will be very nice.

Updated: Nevermind, I figure it out. Add path to _include_dirs and _library_dirs in setup.py.
moz
New User
New User
Posts: 7
Joined: Mon Feb 25, 2008 10:44 pm

Re: 0.6 Development Report

Post by moz »

Ive been wondering lately why does it take soooo long to build deluge. I mean, last time it took three hours! I know ive got a pretty slow box of just 256 ram n 1.7ghz but thats still too much. I just build the kernel in half the time :)
Post Reply