PDA

View Full Version : gTorrent becomes Deluge: Version 0.1.0 Released


zachtib
September 25th, 2006, 04:34 PM
I am happy to (finally) release v0.1.0 of our bittorrent client, Deluge. The client was until now known as gTorrent, but it was changed for a couple of reasons. First, the name gtorrent was already registered on SourceForge.net, by the Gildur Torrent Utilities, which itself included a minimal bittorrent client. Secondly, to negate any predisposition that the client is for the Gnome desktop environment only. Deluge uses python and GTK+, so while it will run best on GTK+ based environments such as Gnome or XFCE, it is also capable of running on other DE’s as well, such as KDE

With the transition to the name Deluge, we have also transitioned to code.google.com (http://code.google.com/p/deluge-torrent/) as the new home for Deluge. The python backend for the client is also available on Google Code here (http://code.google.com/p/python-libtorrent/). In order to install Deluge, first install python-libtorrent: a .deb is available from the project page, otherwise download the source and build it yourself. Deluge v0.1.0 is dependent on python-libtorrent 0.1-1. The client itself is not yet available as a debian package, but I plan on offering one at a later date. For now, download the latest .tar.gz (386 and src are offered, but as the client is written in python, there is really no difference, other than the 386 package includes precompiled .pyc files) and extract it to a directory on your computer. At the moment, deluge is not designed to be installed globally, and instead is designed to be run from a directory underneath your home directory. After extracting, run the program by executing either deluge.py or deluge.pyc (You may need to chmod +x them first).

What to expect in this release:

This is still a very early alpha release, and Deluge is lacking a lot of features. In the static v0.1.0 release, for stability’s sake, we have disabled any features that cause major breakage or that are not implemented yet. Currently, you cannot specify a save directory for torrents (they are all saved to your home directory) nor can you cap your upload or download speed (an important feature, I know, it will be added in SVN builds soon, and should be in the 0.2.0 release). Expect breakage, as this is a work in progress. If you find a bug, please report it at the Deluge Google Code Page (http://code.google.com/p/deluge-torrent/).

And that’s that. Feel free to browse on over to our project page and download the current build. The code will be in SVN shortly, and Kripken and I will be back at work adding new features and bugfixes towards our next release.

BitTorrentBuddha
September 25th, 2006, 05:03 PM
I'm giddy, been following this project for a long while. Downloading it now, I'll use it over azureus, even if it can only download and upload torrents.

skymt
September 25th, 2006, 06:17 PM
Looks good for the future, but I'll wait for it to fill out a bit feature-wise. Keep up the good work!

zachtib
September 25th, 2006, 07:29 PM
Looks good for the future, but I'll wait for it to fill out a bit feature-wise. Keep up the good work!

that's sort of the reaction we were expecting, but people kept asking us to release the source, so we did. Expect a lot more features by v0.2.0 and v0.3.0, though. By then (I hope) Deluge will be feature-complete enough to use on a daily basis

skymt
September 25th, 2006, 08:15 PM
that's sort of the reaction we were expecting, but people kept asking us to release the source, so we did. Expect a lot more features by v0.2.0 and v0.3.0, though. By then (I hope) Deluge will be feature-complete enough to use on a daily basis

Hey, I said "keep up the good work"! ;)

Actually, I just did an svn checkout of the project. I know Python, so I'll hack on it a little, see what I can do with it.

mynimal
September 25th, 2006, 08:16 PM
Hrm, I got it running but it freezes and closes whenever I try to open a torrent.
alex@gamma:~/deluge$ python deluge.py
/home/alex/deluge
/home/alex/Downloads/BitTorrent/FIles/++Demonoid.com++-Beck_-_The_Information_2129653.2586.torrent
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::path: invalid name "Beck - The Information" in path: "Beck - The Information"
Aborted (core dumped)
alex@gamma:~/deluge$
I've tried renaming the .torrent file, figured it was a problem with alphanumeric characters, but it didn't work.

By the way, might want to clean up the folder a bit. :P The backup files ("xxxxxxx~") are all still there.

Edit: Sorry, forgot to mention, I'm running Edgy.

Albi
September 25th, 2006, 08:18 PM
Does it include a feature that lets you pick which files to download?

skymt
September 25th, 2006, 08:18 PM
By the way, what libtorrent version does python-libtorrent require? I'm downloading/compiling the latest unstable, I hope that's right.

XVampireX
September 25th, 2006, 09:10 PM
Any screenshots?

zachtib
September 25th, 2006, 09:16 PM
By the way, what libtorrent version does python-libtorrent require? I'm downloading/compiling the latest unstable, I hope that's right.

we actually have a .deb of it: http://code.google.com/p/python-libtorrent/
the deb includes the needed libtorrent libraries as well

Any screenshots?

yeah, on the gTorrent page: http://sourceforge.net/projects/gtktorrent/
the interface hasn't really changed since those screenshots were taken

EDIT:

Actually, I just did an svn checkout of the project. I know Python, so I'll hack on it a little, see what I can do with it.

cool, though right now, the SVN checkout won't be any different than the 0.1.0.tar.gz

zachtib
September 25th, 2006, 09:30 PM
Hrm, I got it running but it freezes and closes whenever I try to open a torrent.
alex@gamma:~/deluge$ python deluge.py
/home/alex/deluge
/home/alex/Downloads/BitTorrent/FIles/++Demonoid.com++-Beck_-_The_Information_2129653.2586.torrent
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::path: invalid name "Beck - The Information" in path: "Beck - The Information"
Aborted (core dumped)
alex@gamma:~/deluge$
I've tried renaming the .torrent file, figured it was a problem with alphanumeric characters, but it didn't work.

By the way, might want to clean up the folder a bit. :P The backup files ("xxxxxxx~") are all still there.

Edit: Sorry, forgot to mention, I'm running Edgy.

I'm running edgy as well, if the file is renamed to something like ~/information.torrent, post the error output here.

I'm guessing you're missing a library, I need to start compiling a list of libraries needed.

mynimal
September 25th, 2006, 10:18 PM
I'm running edgy as well, if the file is renamed to something like ~/information.torrent, post the error output here.

I'm guessing you're missing a library, I need to start compiling a list of libraries needed.
Just tried that, same result. Even created the folder it saves to, still nothing.

So I need libtorrent installed, or is the python-libtorrent sufficient?

zachtib
September 25th, 2006, 10:23 PM
Just tried that, same result. Even created the folder it saves to, still nothing.

So I need libtorrent installed, or is the python-libtorrent sufficient?

python-libtorrent contains libtorrent

I think you may be missing some of the python-boost libraries

try installing any python-libboost modules in synaptic

mynimal
September 25th, 2006, 10:28 PM
python-libtorrent contains libtorrent

I think you may be missing some of the python-boost libraries

try installing any python-libboost modules in synaptic

Nope, didn't work. Tried the -devs too.

zachtib
September 25th, 2006, 10:31 PM
Nope, didn't work. Tried the -devs too.

post the error you get with the simplified file name so i can get a better idea of what's happening

mynimal
September 25th, 2006, 10:34 PM
post the error you get with the simplified file name so i can get a better idea of what's happening

It really produces the exact same result. I don't think it's a problem with the filename. Here it is anyway:

alex@gamma:~/deluge$ python deluge.py
/home/alex/deluge
/home/alex/information.torrent
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::path: invalid name "Beck - The Information" in path: "Beck - The Information"
Aborted (core dumped)

I tried creating a folder called "Beck - The Information" (Without the quotes of course) in the deluge folder, and my home folder, still no luck. I'm going to try a torrent that's just one file without any spaces and see if it does the same thing.

zachtib
September 25th, 2006, 10:38 PM
It really produces the exact same result. I don't think it's a problem with the filename. Here it is anyway:

alex@gamma:~/deluge$ python deluge.py
/home/alex/deluge
/home/alex/information.torrent
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::path: invalid name "Beck - The Information" in path: "Beck - The Information"
Aborted (core dumped)

I tried creating a folder called "Beck - The Information" (Without the quotes of course) in the deluge folder, and my home folder, still no luck. I'm going to try a torrent that's just one file without any spaces and see if it does the same thing.
We've only used the dapper torrents during testing, I can't download illegal stuff at my university without making someone angry.

See if there are any torrents that work, and post a bug report on google code about the problem you have at the moment

mynimal
September 25th, 2006, 10:39 PM
Okay, it seems to be a problem with making the folder - either that or the non-alphanumeric characters in the folder(/file?) name. Downloading a single file works just fine (The ubuntu ISO), and is downloading quite fast. From what I'm seeing this client is great, keep up the good work. ;)

[Although I still think there should be more eyecandy, nothing major - just some status icons and a GUI progressbar. Text-only is sort of bland. Just a suggestion. :P]

zachtib
September 25th, 2006, 10:44 PM
Okay, it seems to be a problem with making the folder - either that or the non-alphanumeric characters in the folder(/file?) name. Downloading a single file works just fine (The ubuntu ISO), and is downloading quite fast. From what I'm seeing this client is great, keep up the good work. ;)

ok, good, so we seem to be making progress isolating the problem.

[Although I still think there should be more eyecandy, nothing major - just some status icons and a GUI progressbar. Text-only is sort of bland. Just a suggestion. :P]

its coming, its coming

mynimal
September 25th, 2006, 10:46 PM
ok, good, so we seem to be making progress isolating the problem.
Glad I could help. :D


its coming, its coming
Heh, all right. ;P

kripkenstein
September 26th, 2006, 05:02 AM
By the way, what libtorrent version does python-libtorrent require? I'm downloading/compiling the latest unstable, I hope that's right.

This was already answered, but just to make things perfectly clear: as it says on the python-libtorrent page (http://code.google.com/p/python-libtorrent/), python-libtorrent includes libtorrent inside it. This was done because there is ANOTHER project called libtorrent (the 'Rakshasa libtorrent', used by rtorrent), for which .debs exists. Therefore libtorrent has been bundled into python-libtorrent.

Note that the python-libtorrent .deb SHOULD require all the needed dependencies (boost, etc.). I did my best, but I don't have much experience with this. So if you have problems with this, please file a bug or post here, thanks. Likewise for other bugs.

mynimal, as you say, the error mentioned above seems to be a filename error. Perhaps boost can't handle spaces, but I doubt that (it appears to work here). I guess we'll need to try other .torrents and see.

One suggestion: when debugging this, and other issues, perhaps we should use legal torrents... no need to give the RIAA/MPAA people publicly-available proof on this forum to use against us :)

mynimal
September 26th, 2006, 06:07 AM
One suggestion: when debugging this, and other issues, perhaps we should use legal torrents... no need to give the RIAA/MPAA people publicly-available proof on this forum to use against us :)

Haha, I'll try, but I don't know many (any) "legal" bittorrent sites. :P

roderikk
September 26th, 2006, 06:50 AM
we actually have a .deb of it: http://code.google.com/p/python-libtorrent/
the deb includes the needed libtorrent libraries as well

I know I am a bit short sighted, but I am not really familiar with Google Code and I can't find the link that says: Download your .deb here! ](*,)

If I download the .tar.gz (and yes, I am being a complete noob here) and extract it I should run ./deluge.py ? Then it says it doesn't have permission to do so, or do I first need to do something else... sorry for such a basic question but I have been following this project since you first posted on it and really want to try it out! (and maybe learn something in the process)

kripkenstein
September 26th, 2006, 07:00 AM
I know I am a bit short sighted, but I am not really familiar with Google Code and I can't find the link that says: Download your .deb here!


The .deb for python-libtorrent is on the main ("project home") page. On the top right, you should see "license", "lables", and blow that "links". The only link is "Debian package (.deb)".

Likewise for Deluge, there is a link for "v0.1.0 (.tar.gz)"

Note that you must install both python-libtorrent and deluge. For the first install the .deb; for the second, just extract the .tar.gz, then run ./deluge.py. Regarding:

If I download the .tar.gz (and yes, I am being a complete noob here) and extract it I should run ./deluge.py ? Then it says it doesn't have permission to do so, or do I first need to do something else... sorry for such a basic question

No need to apologize. To be able to run it, you will need to do "chmod +x deluge.py" (or, in Nautilus, add the permission to run the file). It should then run.

Please ask if you have any more questions. We are glad to have people testing our code. (Which, at this very early stage, is very lacking in features or stability, I warn you :) )

roderikk
September 26th, 2006, 07:22 AM
Please ask if you have any more questions. We are glad to have people testing our code. (Which, at this very early stage, is very lacking in features or stability, I warn you :) )

Thank you for your quick reply! I am aware that it is still lacking feature but I think it is magnificent to see such a program grow from a single statement into a full blown client. Good luck!

[h2o]
September 26th, 2006, 07:57 AM
Haha, I'll try, but I don't know many (any) "legal" bittorrent sites. :P
I think the problem is the content made available through the torrent-file, not the torrentsite.
Might depend on where you are situated though.
Shouldn't be very hard finding some open source program that distributes by torrents. Moste Linux distribuitions do, even though maybe the files might be big for a small test ;)

roderikk
September 26th, 2006, 08:31 AM
Okay, it seems to be a problem with making the folder - either that or the non-alphanumeric characters in the folder(/file?) name. Downloading a single file works just fine (The ubuntu ISO), and is downloading quite fast. From what I'm seeing this client is great, keep up the good work. ;)

Hm, I have just tried using it, but it gave the same error.

$ ./deluge.py
/home/roderik/software/deluge
/home/roderik/software/deluge/edgy-alternate-powerpc.iso.torrent
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::path: invalid name "��
" in path: "��
"
Aborted

I also tried creating the folder (which it didn't by itself in my case) in the home directory but that didn't do anything either.

PS I have a 32 bit dapper install with compiz and K7 kernel. (powerpc torrent is just a random torrent ;-) ).

kripkenstein
September 26th, 2006, 09:19 AM
Hm, I have just tried using it, but it gave the same error.

$ ./deluge.py
/home/roderik/software/deluge
/home/roderik/software/deluge/edgy-alternate-powerpc.iso.torrent
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::path: invalid name "��
" in path: "��
"
Aborted


Ok, let's try to do the exact same here. Is this the alternate Edgy CD, PowerPC version, for Edgy knot 3?

If so, I just tried it, and it works for me. This MAY have something to do with some other bugfixes I committed to svn earlier. In particular you can now choose the save directory; perhaps the problem was creating a directory was not permitted whereever the default save was before (it was undefined, so who knows).

Long story short, I hope this is fixed. But if so, it is only in the Deluge svn, which you need to checkout (it isn't in the .tar.gz yet). If any brave soul tries the latest python-libtorrent (the .deb is ok from there), and the latest Deluge FROM SOURCE (svn instructions appear on the project page, under "source"), and still get this error - please let us know.

skymt
September 26th, 2006, 09:42 AM
This was already answered, but just to make things perfectly clear: as it says on the python-libtorrent page (http://code.google.com/p/python-libtorrent/), python-libtorrent includes libtorrent inside it. This was done because there is ANOTHER project called libtorrent (the 'Rakshasa libtorrent', used by rtorrent), for which .debs exists. Therefore libtorrent has been bundled into python-libtorrent.

Oh.

Why not change the name? "libdeluge" maybe? We really don't need that much confusion.

zachtib
September 26th, 2006, 10:11 AM
:o

upgrade your version of python-libtorrent, the deb claims to be the same version, but it is indeed different.


i got this smae problem till i updated

kripkenstein
September 26th, 2006, 10:24 AM
Oh.

Why not change the name? "libdeluge" maybe? We really don't need that much confusion.

Well, python-libtorrent is just little more than a wrapper for libtorrent. So I think it's honorable to give credit to the libtorrent people (well, person, Arvid Norberg).

samir85
September 26th, 2006, 11:27 AM
Hey guys,

I just want to thank you for developing this bittorrent client. This alpha version of the client already shows the great potential of it. For myself, I think I will start using it with next version.

Of course I'd like to constribute to this project too. Unfortunately, I've no experience with Python, but at least I will submit bug reports ...

regards Samir

mynimal
September 26th, 2006, 03:07 PM
;1545928']I think the problem is the content made available through the torrent-file, not the torrentsite.
Might depend on where you are situated though.
Shouldn't be very hard finding some open source program that distributes by torrents. Moste Linux distribuitions do, even though maybe the files might be big for a small test ;)

Yeah, but the only thing I can think of that creates folders in BT distributions would be albums. :P

Edit: I'll try the SVN now and see how it goes.

Update: Didn't go so well, now I can't even start it, it crashes instantly. I edited out the filename. I planned on grabbing a legal torrent to give the bug report with, but to my horror it won't start now, so I couldn't - sorry. I don't think the filename matters anyway.
alex@gamma:~/deluge-torrent$ ./deluge.py
/home/alex/deluge-torrent
Torrent file: /home/alex/Desktop/(edited).torrent
Save Directory: /home/alex/Test
terminate called after throwing an instance of 'libtorrent::invalid_encoding'
what(): invalid bencoding
Aborted (core dumped)
alex@gamma:~/deluge-torrent$ ./deluge.py
/home/alex/deluge-torrent
terminate called after throwing an instance of 'libtorrent::invalid_encoding'
what(): invalid bencoding
Aborted (core dumped)
alex@gamma:~/deluge-torrent$

Luggy
September 26th, 2006, 06:40 PM
This is really hot man.
There is still a little work be to done, mostly cosmetic and preference, but for the most part I see this as being very good.

Would the 'issues' section of your page be a good spot to put recommendations?

zachtib
September 26th, 2006, 07:16 PM
This is really hot man.
There is still a little work be to done, mostly cosmetic and preference, but for the most part I see this as being very good.

Would the 'issues' section of your page be a good spot to put recommendations?

yeah, feature requests, bugs, whatever can go there

@ mynimal: kripken and I are working on the client, in the meantime, keep poking around and see if you can isolate the problem anymore

mynimal
September 26th, 2006, 07:45 PM
Unfortunately I can't even start the SVN client now - same message as before:
alex@gamma:~/deluge-torrent$ ./deluge.py
/home/alex/deluge-torrent
terminate called after throwing an instance of 'libtorrent::invalid_encoding'
what(): invalid bencoding
Aborted (core dumped)

zachtib
September 26th, 2006, 07:46 PM
Unfortunately I can't even start the SVN client now - same message as before:
alex@gamma:~/deluge-torrent$ ./deluge.py
/home/alex/deluge-torrent
terminate called after throwing an instance of 'libtorrent::invalid_encoding'
what(): invalid bencoding
Aborted (core dumped)

grab the latest python-libtorrent, then try again

mynimal
September 26th, 2006, 07:54 PM
Actually, fixed the problem. Deleted my ~/.deluge folder - it was trying to load the torrent file that kept crashing it.

Did you guys update python-libtorrent?

Edit: Crashed again.
alex@gamma:~/deluge-torrent$ ./deluge.py
/home/alex/deluge-torrent
Torrent file: /home/alex/Desktop/route-66-en.torrent
Save Directory: /home/alex/route 66
terminate called after throwing an instance of 'libtorrent::invalid_encoding'
what(): invalid bencoding
Aborted (core dumped)

Trying a torrent with just one file now, making sure that still works.

Edit: Ok, it's pretty much every torrent that doesn't work - and now I'm thinking I should get a new python-libtorrent. I feel pretty stupid. :P

alex@gamma:~/deluge-torrent$ ./deluge.py
/home/alex/deluge-torrent
Torrent file: /home/alex/Desktop/ubuntu-6.06.1-desktop-i386.iso.torrent
Save Directory: /home/alex
terminate called after throwing an instance of 'libtorrent::invalid_encoding'
what(): invalid bencoding
Aborted (core dumped)

mynimal
September 26th, 2006, 08:05 PM
Okay, great. Sorry for the confusion - I just installed the SVN python-libtorrent and now everything works fine - directories and all.

Edit: Sorry for even MORE confusion, but:
alex@gamma:~/deluge-torrent$ ./deluge.py
/home/alex/deluge-torrent
Torrent file: /home/alex/Desktop/Beck_-_The_Information-_Demonoid.com_-_2129653.2586.torrent
Save Directory: /home/alex/Downloads/BitTorrent
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::path: invalid name "Beck - The Information" in path: "Beck - The Information"
Aborted (core dumped)

:x Still having the folder problems. Sorry about the whole illegal thing, only torrent I knew of that didn't work before.

zachtib
September 26th, 2006, 08:13 PM
Okay, great. Sorry for the confusion - I just installed the SVN python-libtorrent and now everything works fine - directories and all.

Edit: Sorry for even MORE confusion, but:
alex@gamma:~/deluge-torrent$ ./deluge.py
/home/alex/deluge-torrent
Torrent file: /home/alex/Desktop/Beck_-_The_Information-_Demonoid.com_-_2129653.2586.torrent
Save Directory: /home/alex/Downloads/BitTorrent
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::path: invalid name "Beck - The Information" in path: "Beck - The Information"
Aborted (core dumped)

:x Still having the folder problems. Sorry about the whole illegal thing, only torrent I knew of that didn't work before.


but, just checking, other torrents work fine?

i think its a problem with the spaces in the name of the directory, so i'll tinker around with it in the next day or so

mynimal
September 26th, 2006, 08:15 PM
but, just checking, other torrents work fine?

i think its a problem with the spaces in the name of the directory, so i'll tinker around with it in the next day or so

Come to think of it - yes. Single files (Haven't tested spaces) and directories with no spaces in them work fine (One of my downloads was a folder named route-66-en).

Edit: I just tested a torrent that's just one file with spaces in it - didn't work. So I don't think it's specific to folders.

alex@gamma:~/deluge-torrent$ ./deluge.py
/home/alex/deluge-torrent
Torrent file: /home/alex/Desktop/Album_Tokyo_Jihen_-_Kyoiku_2004.11.25.rar.torrent
Save Directory: /home/alex
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::path: invalid name "[Album] Tokyo Jihen - Kyoiku [2004.11.25].rar" in path: "[Album] Tokyo Jihen - Kyoiku [2004.11.25].rar"
Aborted (core dumped)
(This torrent's Japanese, less likely of being RIAA'd ;D)

zachtib
September 26th, 2006, 08:43 PM
Come to think of it - yes. Single files (Haven't tested spaces) and directories with no spaces in them work fine (One of my downloads was a folder named route-66-en).

Edit: I just tested a torrent that's just one file with spaces in it - didn't work. So I don't think it's specific to folders.

alex@gamma:~/deluge-torrent$ ./deluge.py
/home/alex/deluge-torrent
Torrent file: /home/alex/Desktop/Album_Tokyo_Jihen_-_Kyoiku_2004.11.25.rar.torrent
Save Directory: /home/alex
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::path: invalid name "[Album] Tokyo Jihen - Kyoiku [2004.11.25].rar" in path: "[Album] Tokyo Jihen - Kyoiku [2004.11.25].rar"
Aborted (core dumped)
(This torrent's Japanese, less likely of being RIAA'd ;D)


ok, looks like we've found the problem, now to try and fix it

Krakatos
September 27th, 2006, 02:58 AM
Hmm it's relly nice to see the alpha is out. I'm really swamped with work this week, but maybe I'll have a little time to test and bug report next week. Or suggest something, though that comes later of course. First, stability of course.

Just a small suggestion: if you want to be absolutely sure you're downloading something legal(though you'll have to download something else later on to check for compatibility with names containing non ascii characters, like, who know, japanese kanji) you can use this site

www.legaltorrents.com

Anyway I must say it's a pity that the ubuntuforums do not have a secton dedicated to software projects... this way the topics get lost amidst all the others

kripkenstein
September 27th, 2006, 10:33 AM
Ok, all path problems should be a thing of the past. The new .deb for python-libtorrent (0.1.1) should now work fine.

To test it, make sure you are also using the latest Deluge (from source is the safest).

zachtib
September 27th, 2006, 11:39 AM
nice work.

sorry i haven't done much in the last few days, school is killing me

even as I type this comment, there are about three other things i should be doing

kripkenstein
September 27th, 2006, 02:14 PM
sorry i haven't done much in the last few days, school is killing me

even as I type this comment, there are about three other things i should be doing

Yeah, I figured as much from your pic ;)

skoruppa
September 27th, 2006, 02:47 PM
when i try to add torrent, gtorrent crash.

skoruppa@skoruppa-desktop:~$ /home/skoruppa/Desktop/deluge/deluge.py
/home/skoruppa/Desktop/deluge
Traceback (most recent call last):
File "/home/skoruppa/Desktop/deluge/torrenthandler.py", line 31, in update
for t in self.torrent_list:
TypeError: function takes exactly 6 arguments (0 given)
/home/skoruppa/Desktop/Jack.torrent
terminate called after throwing an instance of 'libtorrent::invalid_encoding'
what(): invalid bencoding - i have newest python-libtorrent

zachtib
September 27th, 2006, 02:53 PM
when i try to add torrent, gtorrent crash.

skoruppa@skoruppa-desktop:~$ /home/skoruppa/Desktop/deluge/deluge.py
/home/skoruppa/Desktop/deluge
Traceback (most recent call last):
File "/home/skoruppa/Desktop/deluge/torrenthandler.py", line 31, in update
for t in self.torrent_list:
TypeError: function takes exactly 6 arguments (0 given)
/home/skoruppa/Desktop/Jack.torrent
terminate called after throwing an instance of 'libtorrent::invalid_encoding'
what(): invalid bencoding - i have newest python-libtorrent

Are you using SVN version of Deluge? The 0.0.1 tarball most likely won't work with the newest libtorrent at this point

kripkenstein
September 27th, 2006, 02:59 PM
Are you using SVN version of Deluge? The 0.0.1 tarball most likely won't work with the newest libtorrent at this point

Yes, this is the issue behind skoruppa's error message. Only the Deluge svn source will work at this point.

Since we have constant updates, perhaps we should remove the tarball in Deluge, so people are forced to use svn?

skoruppa
September 27th, 2006, 03:03 PM
i`m download from svn and now working :) thx

mynimal
September 27th, 2006, 03:05 PM
That's probably the best thing to do. Downloading the new deluge now. ;)

zachtib
September 27th, 2006, 03:12 PM
Yes, this is the issue behind skoruppa's error message. Only the Deluge svn source will work at this point.

Since we have constant updates, perhaps we should remove the tarball in Deluge, so people are forced to use svn?

good idea, I'll do that

roderikk
September 27th, 2006, 03:42 PM
so people are forced to use svn?

Could you give me a hint on which keys I have to press (and in what order) on my command line in order to do this...? ;-)

zachtib
September 27th, 2006, 03:52 PM
Could you give me a hint on which keys I have to press (and in what order) on my command line in order to do this...? ;-)

svn checkout http://deluge-torrent.googlecode.com/svn/trunk/ deluge-torrent

its on the project page, just click on the 'Source' tab

roderikk
September 27th, 2006, 04:40 PM
svn checkout http://deluge-torrent.googlecode.com/svn/trunk/ deluge-torrent

its on the project page, just click on the 'Source' tab
Sorry, I have never used SVN. But it is actually very easy! I just did sudo aptitude install svn-buildessential and then copy pasted your line and it worked. But when I run the program and try to download a torrent I get the following error:

Torrent file: /home/roderik/software/deluge/edgy-alternate-powerpc.iso.torrent
Save Directory: /home/roderik
Traceback (most recent call last):
File "/home/roderik/deluge-torrent/deluge.py", line 151, in AddTorrentClicked
self.open_torrent_from_file()
File "/home/roderik/deluge-torrent/deluge.py", line 214, in open_torrent_from_file
self.AddTorrent(torrent_file, save_dir)
File "/home/roderik/deluge-torrent/deluge.py", line 146, in AddTorrent
self.handler.add_torrent(torrent_file, save_dir)
File "/home/roderik/deluge-torrent/torrenthandler.py", line 51, in add_torrent data = new_torrent.getList()
File "/home/roderik/deluge-torrent/torrentclass.py", line 29, in getList
myList = [self.uniqueID,
File "/home/roderik/deluge-torrent/torrentclass.py", line 51, in getNumSeeders return str(self.status["numSeeds"]) + " (" + str(self.status["totalSeeds"]) + ")"
KeyError: 'totalSeeds'
Traceback (most recent call last):
File "/home/roderik/deluge-torrent/torrenthandler.py", line 32, in update
curr_list = t.getList()
File "/home/roderik/deluge-torrent/torrentclass.py", line 29, in getList
myList = [self.uniqueID,
File "/home/roderik/deluge-torrent/torrentclass.py", line 51, in getNumSeeders return str(self.status["numSeeds"]) + " (" + str(self.status["totalSeeds"]) + ")"
KeyError: 'totalSeeds'

When I then installed the python-libtorrent also from SVN I got the following error:

./deluge.py
/home/roderik/deluge-torrent
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::path: invalid name ".deluge" in path: "/home/roderik/.deluge/"
Aborted


So it didn't even start... I hope I have been of help now... :-?

Mathias-K
September 27th, 2006, 05:14 PM
It looks nice. I really hope you won't ever get the GNOME screensaver attitude and wipe all the interesting features. I think many Linux users would like to remove Azureus, not because it's not a great program, but it really doesn't blend well with Ubuntu/GNOME, and the Ubuntu packages have always been flaky at best..

Haha, I'll try, but I don't know many (any) "legal" bittorrent sites. :P

http://www.ubuntu.com/download would give you some torrents to spew data out of :)

zachtib
September 27th, 2006, 05:21 PM
It looks nice. I really hope you won't ever get the GNOME screensaver attitude and wipe all the interesting features.

Never going to happen. We started this because there weren't really any good, feature rich, gtk/gnome clients out there.


I just commited a few interface changes to SVN, and will start working on the preferences either loater today or sometime tomorrow. The dialog is there, but it doesn't do anything yet.

Now, what preferences do you guys want to appear in the pref dialog?

currently, it is as such:

Krakatos
September 27th, 2006, 05:37 PM
Never going to happen. We started this because there weren't really any good, feature rich, gtk/gnome clients out there.


I just commited a few interface changes to SVN, and will start working on the preferences either loater today or sometime tomorrow. The dialog is there, but it doesn't do anything yet.

Now, what preferences do you guys want to appear in the pref dialog?

currently, it is as such:

Well, the TCP port for sure (though I have no idea if you implemented the possibility to select a port as of now...). If you plan to use a different UDP port, that too.Also, when you implement it, the option that lets you decide the max number of connections and connections per torrent.
These are the bare minimum options that comes to my mind right now (once implemented).. but of course as you add more funcionalities.. you will obviously add options :)

zachtib
September 27th, 2006, 08:34 PM
Well, the TCP port for sure (though I have no idea if you implemented the possibility to select a port as of now...). If you plan to use a different UDP port, that too.Also, when you implement it, the option that lets you decide the max number of connections and connections per torrent.
These are the bare minimum options that comes to my mind right now (once implemented).. but of course as you add more funcionalities.. you will obviously add options :)

max number of connections was already in there, i added a field for TCP port range.


any other suggestions?

maniacmusician
September 27th, 2006, 08:38 PM
you should probably take a look at either uTorrent or Azureus for ideas on that front, they both tend to have excellent options.

I can't really give any of my own, it's been a while since i downloaded a torrent...

jeffc313
September 27th, 2006, 08:38 PM
Meh... KTorrent still looks better over this. I'll use it when it progresses.

Krakatos
September 27th, 2006, 08:49 PM
Well,I think this is is for the common options.
I can tell you what comes to my mind in random order, though of course most of these features will not be implemented soon I suppose (and some... a long time form now... of course depending how fast you code :) ).
Basically it is a feature list I'd like to see, with the corresponding preferences.. Just a reminder of course, I understand very well that coding takes time and testing etc..

-number of upload slots
-a field telling where completed files will be moved
-bullet field option regarding whether or not the program is in tray

And the most.. erm.. ahead in the future ones
-bullet field option regarding whether or not dht is on
-bullet field option regarding whether or not protocol encryption is on
-not in the preference windows, but still a preference, possibility to use different settings for each torrent
-oh, still related to interface though not really to preferences, it would be nice if it were possible to see, for each torrent, detailed informations

There, hope I didn't ask too much :mrgreen:

kripkenstein
September 28th, 2006, 01:49 AM
Sorry, I have never used SVN. But it is actually very easy! I just did sudo aptitude install svn-buildessential and then copy pasted your line and it worked. But when I run the program and try to download a torrent I get the following error:

Torrent file: /home/roderik/software/deluge/edgy-alternate-powerpc.iso.torrent
Save Directory: /home/roderik
Traceback (most recent call last):
File "/home/roderik/deluge-torrent/deluge.py", line 151, in AddTorrentClicked
self.open_torrent_from_file()
File "/home/roderik/deluge-torrent/deluge.py", line 214, in open_torrent_from_file
self.AddTorrent(torrent_file, save_dir)
File "/home/roderik/deluge-torrent/deluge.py", line 146, in AddTorrent
self.handler.add_torrent(torrent_file, save_dir)
File "/home/roderik/deluge-torrent/torrenthandler.py", line 51, in add_torrent data = new_torrent.getList()
File "/home/roderik/deluge-torrent/torrentclass.py", line 29, in getList
myList = [self.uniqueID,
File "/home/roderik/deluge-torrent/torrentclass.py", line 51, in getNumSeeders return str(self.status["numSeeds"]) + " (" + str(self.status["totalSeeds"]) + ")"
KeyError: 'totalSeeds'
Traceback (most recent call last):
File "/home/roderik/deluge-torrent/torrenthandler.py", line 32, in update
curr_list = t.getList()
File "/home/roderik/deluge-torrent/torrentclass.py", line 29, in getList
myList = [self.uniqueID,
File "/home/roderik/deluge-torrent/torrentclass.py", line 51, in getNumSeeders return str(self.status["numSeeds"]) + " (" + str(self.status["totalSeeds"]) + ")"
KeyError: 'totalSeeds'

When I then installed the python-libtorrent also from SVN I got the following error:

./deluge.py
/home/roderik/deluge-torrent
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::path: invalid name ".deluge" in path: "/home/roderik/.deluge/"
Aborted


So it didn't even start... I hope I have been of help now... :-?

You say you "installed python-libtorrent from source". Did you compile it, though? Downloading the source is enough for Deluge, since it's Python code, but python-libtorrent is C++ that needs compilation and then installation to the correct system libraries.

Instead of all that, you can just install the .deb package of python-libtorrent (link on the top right of the main project page).

Mathias-K
September 28th, 2006, 06:05 AM
Never going to happen. We started this because there weren't really any good, feature rich, gtk/gnome clients out there.

That sounds promising. A fully featured (uTorrent/Azureus-level) Bittorrent client for GNOME would be a massive hit.

I just commited a few interface changes to SVN, and will start working on the preferences either loater today or sometime tomorrow. The dialog is there, but it doesn't do anything yet.

Looks good for a start. Download "to" instead of "too", though :)

skoruppa
September 28th, 2006, 06:55 AM
Newest svn version looks cool, but what about translation to other languages....? I can translate to polish.

zachtib
September 28th, 2006, 07:30 AM
Looks good for a start. Download "to" instead of "too", though :)


pffft...

I'm in college, that doesn't mean i have to know how to spel. ;)

kripkenstein
September 28th, 2006, 08:18 AM
Newest svn version looks cool, but what about translation to other languages....? I can translate to polish.

Yes, that would be a good idea... I have no idea what the right procedure would be to have multilanguage support, though. Perhaps gtk+ has some mechanism? I'll look into it. Meanwhile I'm adding an 'issue' to the issue tracker on the project (we have to start using it sometime :) ).

roderikk
September 28th, 2006, 08:20 AM
You say you "installed python-libtorrent from source". Did you compile it, though? Downloading the source is enough for Deluge, since it's Python code, but python-libtorrent is C++ that needs compilation and then installation to the correct system libraries.

Instead of all that, you can just install the .deb package of python-libtorrent (link on the top right of the main project page).

Ah, I didn't know that. Sorry for the confusion. After removing all the references to deluge and reinstalling from SVN and reinstalling the .deb for the libtorrent wrapper the program now opens but still doesn't want to download the edgy iso. This is the errors it gives:

./deluge.py
/home/roderik/software/deluge-torrent
DelugePreferences object created
foo
Torrent file: /home/roderik/Desktop/edgy-desktop-i386.iso.torrent
Save Directory: /home/roderik/Roderik/downloads
Traceback (most recent call last):
File "/home/roderik/software/deluge-torrent/deluge.py", line 172, in AddTorrentClicked
self.open_torrent_from_file()
File "/home/roderik/software/deluge-torrent/deluge.py", line 237, in open_torrent_from_file
self.AddTorrent(torrent_file, save_dir)
File "/home/roderik/software/deluge-torrent/deluge.py", line 167, in AddTorrent
self.handler.add_torrent(torrent_file, save_dir)
File "/home/roderik/software/deluge-torrent/torrenthandler.py", line 51, in add_torrent
data = new_torrent.getList()
File "/home/roderik/software/deluge-torrent/torrentclass.py", line 53, in getList
myList = [self.uniqueID,
File "/home/roderik/software/deluge-torrent/torrentclass.py", line 66, in getSize
totalSize = self.status["totalSize"]
KeyError: 'totalSize'
Traceback (most recent call last):
File "/home/roderik/software/deluge-torrent/torrenthandler.py", line 32, in update
curr_list = t.getList()
File "/home/roderik/software/deluge-torrent/torrentclass.py", line 53, in getList
myList = [self.uniqueID,
File "/home/roderik/software/deluge-torrent/torrentclass.py", line 66, in getSize
totalSize = self.status["totalSize"]
KeyError: 'totalSize'

BTW, I am just wondering whether I am actually helping here as a noob or that you just rather have me wait a little before giving feedback... :-)

EDIT PS with respect to that language post. This is how they are doing it with Beryl (compiz), just for the idea: Beryl internationalisation (http://forum.beryl-project.org/topic-4775-internationalisation-beryl)

kripkenstein
September 28th, 2006, 08:30 AM
Ah, I didn't know that. Sorry for the confusion. After removing all the references to deluge and reinstalling from SVN and reinstalling the .deb for the libtorrent wrapper the program now opens but still doesn't want to download the edgy iso. This is the errors it gives:

./deluge.py
/home/roderik/software/deluge-torrent
DelugePreferences object created
foo
Torrent file: /home/roderik/Desktop/edgy-desktop-i386.iso.torrent
Save Directory: /home/roderik/Roderik/downloads
Traceback (most recent call last):
File "/home/roderik/software/deluge-torrent/deluge.py", line 172, in AddTorrentClicked
self.open_torrent_from_file()
File "/home/roderik/software/deluge-torrent/deluge.py", line 237, in open_torrent_from_file
self.AddTorrent(torrent_file, save_dir)
File "/home/roderik/software/deluge-torrent/deluge.py", line 167, in AddTorrent
self.handler.add_torrent(torrent_file, save_dir)
File "/home/roderik/software/deluge-torrent/torrenthandler.py", line 51, in add_torrent
data = new_torrent.getList()
File "/home/roderik/software/deluge-torrent/torrentclass.py", line 53, in getList
myList = [self.uniqueID,
File "/home/roderik/software/deluge-torrent/torrentclass.py", line 66, in getSize
totalSize = self.status["totalSize"]
KeyError: 'totalSize'
Traceback (most recent call last):
File "/home/roderik/software/deluge-torrent/torrenthandler.py", line 32, in update
curr_list = t.getList()
File "/home/roderik/software/deluge-torrent/torrentclass.py", line 53, in getList
myList = [self.uniqueID,
File "/home/roderik/software/deluge-torrent/torrentclass.py", line 66, in getSize
totalSize = self.status["totalSize"]
KeyError: 'totalSize'

BTW, I am just wondering whether I am actually helping here as a noob or that you just rather have me wait a little before giving feedback... :-)


Any testing is helpful. Why, did I reply a long time after you posted? Sorry if so.

Regarding the error, that is odd, it works here (and I see from that output that it is something that was fixed). Please make sure that you are running the latest versions of both projects, that is the only idea I have at this point.

roderikk
September 28th, 2006, 08:37 AM
Any testing is helpful. Why, did I reply a long time after you posted? Sorry if so.

Regarding the error, that is odd, it works here (and I see from that output that it is something that was fixed). Please make sure that you are running the latest versions of both projects, that is the only idea I have at this point.

Yep, sorry, my bad, I was apparently still using the .1 version of the libtorrent wrapper.

You didn't take long to reply, it is just that I feel foolish sometimes, and apperantly with good reason as I made a basic mistake ;-). But I will continue to keep on testing! At least now I know what I have to watch out for.

As soon as the language files are available I will translate them into Dutch for you.

kripkenstein
September 28th, 2006, 08:50 AM
Yep, sorry, my bad, I was apparently still using the .1 version of the libtorrent wrapper.

You didn't take long to reply, it is just that I feel foolish sometimes, and apperantly with good reason as I made a basic mistake ;-). But I will continue to keep on testing! At least now I know what I have to watch out for.

As soon as the language files are available I will translate them into Dutch for you.

Good, glad it works. Thanks for continuing to test, we need all the help we can get. Ditto for translations; at some point we will move on that.

skoruppa
September 28th, 2006, 09:22 AM
i can be a tester and translater of Deluge :)

Rusna
September 28th, 2006, 09:29 AM
I'd like to see a possibility turn off DHT, in case Deluge has DHT support.

I've never done translating before, but I'd like to try to translate it to finnish.

zachtib
September 28th, 2006, 10:05 AM
translation wouldn't be a bad idea, we should look into that, and it seems there are plenty of users willing to help

kripkenstein
September 28th, 2006, 10:14 AM
translation wouldn't be a bad idea, we should look into that, and it seems there are plenty of users willing to help

Ok, I looked into this. Seems simple, there is a Python interface for gettext. The only thing I am not sure about is how this would work with Glade, but I'm sure that is also solvable somehow.

Meanwhile the Python part doesn't seem hard, so I'll try to get around to doing the preparations for that soon.

mynimal
September 28th, 2006, 03:24 PM
I'll probably continue to test once there's something to test - right now everything that's implemented is working just fine. ;P

I have limited testability though - I don't have admin access to my router so I can't test ports.

mithras86
September 29th, 2006, 01:56 PM
translation wouldn't be a bad idea, we should look into that, and it seems there are plenty of users willing to helpI don't know how it exactly works, but I think a launchpad registration (https://launchpad.net/products/+new) of Deluge wouldn't be a bad idea too ;) I think that's the best way to manage your translations. EG, like Listen (https://launchpad.net/products/listen), also written in python and using .mo files for the different languages.
About the Dutch language, I can also translate that part of Deluge.

I'll sort some things out tomorrow about how to work with .mo and .po files and python and maybe I can assist you with managing the translations of Deluge, so you guys can just focus on the new features of Deluge ;)

PS. And if you haven't noticed it yet, sorry for my bad english, but I think you get what I mean ;)

Mathias-K
September 29th, 2006, 04:51 PM
I've never really understood .deb files. What would be the problem with making one that just works in Dapper or Edgy? Also, could you just set up a private repository and offering the betas instead of SVN or CVS builds and compilations (which I also really never have understood)?

And by the way, if this thing hits Launchpad I'll be glad to take the plunge of a danish translation.

mithras86
September 29th, 2006, 10:22 PM
I've never really understood .deb files. What would be the problem with making one that just works in Dapper or Edgy? Also, could you just set up a private repository and offering the betas instead of SVN or CVS builds and compilations (which I also really never have understood)?A repo is much more work (and you need a server ;)) than just making .deb's an also offering the source. What is your problem with .deb's? Just double click and the package manager will do the rest, there is nothing hard about that.

kripkenstein
September 30th, 2006, 01:23 AM
I've never really understood .deb files. What would be the problem with making one that just works in Dapper or Edgy?

Well, for example Dapper and Edgy use different versions of Python (if I am not mistaken, Edgy uses 2.5?). This means that the Python module in python-libtorrent needs to be installed in a different location. So this would mean a different .deb for Dapper and Edgy, or some more complicated manner of deciding where to install 'dynamically'.

Now, I admit this probably isn't that hard, but it isn't trivial either. Anyhow, bear in mind that the first .deb I created was a week ago for python-libtorrent, so perhaps I'm wrong here :)

Mathias-K
September 30th, 2006, 05:08 AM
I know that a repo requires a server and that you have to make separate debs for different releases. My question is rather what's the problem with doing it?

These forums are full of threads with the newest programs (that free space game, listen, dosbox and now deluge) where users compile each version and talk about it.

I haven't got a clue about SVN, CVS and builds, and I don't really care either. What are the problems with providing debs? If the programmers know how to program the thing, a small deb shouldn't be hard, or have I misunderstood something?

Canonical could provide the bandwidth for all these small projects in the universe repo, og some experimental one?

roderikk
September 30th, 2006, 05:15 AM
I didn't know anything about SVN either. But as I stated earlier it is as simple typing into you console: sudo aptitude install svn-buildessentials

And than after that has installed copy pasting the line from the SVN checkout:

svn checkout http://deluge-torrent.googlecode.com/svn/trunk/ deluge-torrent

And it will install into the directory you are in. The python libtorrent wrapper is a bit more difficult (because it has to be compiled - don't know about that myself... :-) ) and therefore a .deb is provided for that.

This program is still in a very early stage so just let the developers do their work by adding features and removing bugs. Once the program is a bit more complete I bet they will have some more time to provide us, as in the people who just want to use the program, with a repository.

kripkenstein
September 30th, 2006, 05:47 AM
I would be more than glad to have a repository for python-libtorrent and Deluge. However, I don't know anything about doing this. I presume it would require a properly-configured server? Do sourceforge/google code/launchpad provide such a service?

If anyone here can help out with doing this, that would be great. Otherwise, I think this is less on my priority list than adding more features, at least for now; we really are just getting started.

mynimal
September 30th, 2006, 11:59 AM
SVN isn't really a method of installing, it's just downloading the sources. Most of the time they're bleeding-edge and being updated daily, and that's why they're not bothering making .debs for deluge. Python-libtorrent is in a relatively stable state so there's not as big of a need for a SVN for that because it's just a library. Hope that clears some stuff up.

Also, I've been unstalling "subversion" instead of "svn-buildessential". :P SVN = SubVersioN.

Rusna
October 2nd, 2006, 04:18 PM
How is the development going?

zachtib
October 2nd, 2006, 04:50 PM
How is the development going?

great, in fact, we're nearing our v0.2.0 milestone. you can get a glimpse of what it will include by grabbing the latest python-libtorrent deb (v0.1-7 i believe) and grabbing the client from SVN

at the moment, the features to be included in 0.2 are in the client, they just don't all work yet (ie, the interface to cap bandwidth speed is there, it just doesn't do so yet :) )

when everything in the client now works, then we'll put out a v0.2 release of deluge and python-libtorrent (stable releases of the client will always depend on python-libtorrent of the same number, for simplicity's sake)

mynimal
October 2nd, 2006, 11:21 PM
Great job, just downloaded from SVN and it's all working great. :D

Will we be able to disable/enable the information section at the bottom?

zachtib
October 2nd, 2006, 11:44 PM
Great job, just downloaded from SVN and it's all working great. :D

Will we be able to disable/enable the information section at the bottom?

click on the lightbulb in the toolbar ;)

maniacmusician
October 2nd, 2006, 11:57 PM
how about some screenshots of the latest and greatest. i'll give it a whirl when 0.2 comes out (dont like svn).

mynimal
October 3rd, 2006, 06:43 AM
click on the lightbulb in the toolbar ;)

Oh. Well then. :P

zachtib
October 3rd, 2006, 09:33 AM
well, implementing the settings is taking longer than I expected, but as Kripken put it, Rome wasn't built in a day :P

I hoped to have v0.2.0 out today, but I don't think that will happen. We should (I hope) have it out by the end of the week.

Right now, everything is done but implementing the preferences, such as capping bandwidth for uploads/downloads, etc. Once that is completed, we'll release a tarball of 0.2

Thanks for maintaining an interest, and thanks to everyone that's been testing our client :)

Krakatos
October 3rd, 2006, 10:51 AM
Thanks for maintaining an interest, and thanks to everyone that's been testing our client :)

Actually, thanks to you two for developing a gtk, feature-rich bittorrent client.

I too will start testing it after 0.20, I don't like using SVN that much.
(And I have 0 time this week anyway, so..)

mithras86
October 3rd, 2006, 12:45 PM
Where can I post some more feature requests? I think this is the best GTK torrent client, but now I'm testing it and I thought a couple of new features will make it just better:

Option to change the "display mode". Now you see the name, #, size etc. But I'd like to see the MB's I already downloaded. Someone else would see the name of the tracker. It will be a nice feature when you can choose which columns you want to see. I think this is not so hard to implement.
A search field to search through different torrent sites. Maybe a configuration tab where you can insert some Uri's, like
http://thepiratebay.org/search.php?q=
http://www.mininova.org/search/?search=Etc.
I know this is not easy to implement, but perhaps for the 1.0 release ;)
Right mouse click on the torrent shows a message to change some unique properties (like download/upload limits etc) and you could stop, start and pause the torrent.


And I found some kind of a bug: when the torrent is ready and its status jumps to 'Seeding', the ETA remains 1 second. Maybe it's a problem with python-libtorrent, so a "hack" could be implemented that when the status is set to seeding, the ETA is 0?

zachtib
October 3rd, 2006, 02:27 PM
Where can I post some more feature requests? I think this is the best GTK torrent client, but now I'm testing it and I thought a couple of new features will make it just better:

thanks for the feedback. all of those are good features, and features that I would like to see integrated into the client as well, so I'll address each of them:
Option to change the "display mode". Now you see the name, #, size etc. But I'd like to see the MB's I already downloaded. Someone else would see the name of the tracker. It will be a nice feature when you can choose which columns you want to see. I think this is not so hard to implement.
This is actually harder than it seems, though it will be added at one point. You may notice that the client does not allow you to sort the rows by clicking on column headers. This is because reordering the rows was causing a crash when the list of torrents was updated. Eventually, I want to have fully dynamic columns that can be added, deleted, and moved around, but don't expect this in the very near future.
A search field to search through different torrent sites. Maybe a configuration tab where you can insert some Uri's, like
http://thepiratebay.org/search.php?q=
http://www.mininova.org/search/?search=Etc.
I know this is not easy to implement, but perhaps for the 1.0 release ;)
Easier than you think. the hangup here is that there are two ways to do this, an easy way and a hard way. the easy way is to use some gnome libraries to launch the url in a browser. however, we're trying to keep the client pure vanilla gtk for users on other desktop environments, so that option is out. the other option is to have an option for the user to specify their web browser of choice, which is likely what will happen.
Basic search capabilities may show up as early as v0.3.0, and definately by v0.4.0
Right mouse click on the torrent shows a message to change some unique properties (like download/upload limits etc) and you could stop, start and pause the torrent.
This is a very simple, yet obvious, feature that deluge is sorely lacking. i hope to add this soon, however it requires more under-the-hood work than most other feature additions. at the moment, our torrent-handler class doesn't have the capabilities to set different options for separate downloads

And I found some kind of a bug: when the torrent is ready and its status jumps to 'Seeding', the ETA remains 1 second. Maybe it's a problem with python-libtorrent, so a "hack" could be implemented that when the status is set to seeding, the ETA is 0?

This is again just something simple and obvious. As its not a huge issue, I'm not sure if a fix will be implemented before I roll a v0.2.0 release, but that's my laziness talking, I could fix the issue in 30 seconds if I just sat down and did so :P

as for feature requests, submit an "Issue" on the google code page. Issues can be bugs/features/comments/whatever, and you assign them a tag as such when you submit them.

On another note, I'm trying to get Deluge a subforum under 3rd party projects here on ubuntuforums.org. I spoke to ubuntu-geek, who said he could set me up with something here, but then I never heard back from him. If anyone knows who I should talk to about this, or if any admins are reading and care to hook me up, just tell me ;)

zachtib
October 3rd, 2006, 02:46 PM
This is a very simple, yet obvious, feature that deluge is sorely lacking. i hope to add this soon, however it requires more under-the-hood work than most other feature additions. at the moment, our torrent-handler class doesn't have the capabilities to set different options for separate downloads

This is again just something simple and obvious. As its not a huge issue, I'm not sure if a fix will be implemented before I roll a v0.2.0 release, but that's my laziness talking, I could fix the issue in 30 seconds if I just sat down and did so

or Kripken can just go and make me stick my foot in my mouth by implementing these changes as I type.

the 1 second bug is now fixed in SVN, also, you can now pause/resume torrents

kripkenstein
October 3rd, 2006, 02:46 PM
You may notice that the client does not allow you to sort the rows by clicking on column headers.

Actually this has been fixed ;) , column sorting has been working since yesterday.

zachtib
October 3rd, 2006, 02:48 PM
Actually this has been fixed ;) , column sorting has been working since yesterday.
and again, I eat my words

mithras86
October 3rd, 2006, 03:15 PM
Wow, it goes really fast :P
I submitted a lot of issues. For me, there was not an option to set the type of the issues, so they're all 'defects' now. Maybe the project owners could change some of them to feature requests.

zachtib
October 3rd, 2006, 03:30 PM
Wow, it goes really fast :P
I submitted a lot of issues. For me, there was not an option to set the type of the issues, so they're all 'defects' now. Maybe the project owners could change some of them to feature requests.

when submitting, click in the labels field. the first field has a default value of 'defect' but if you click it you can fix it

kripkenstein
October 3rd, 2006, 03:33 PM
when submitting, click in the labels field. the first field has a default value of 'defect' but if you click it you can fix it

Actually I have the same 'issue'. Only when I am logged in (as an administrator account) can I change the labels. Not sure if this is a bug or how it's mean to be on Google Code, though.

zachtib
October 3rd, 2006, 03:38 PM
Actually I have the same 'issue'. Only when I am logged in (as an administrator account) can I change the labels. Not sure if this is a bug or how it's mean to be on Google Code, though.

huh, this is odd

mithras86
October 3rd, 2006, 03:57 PM
Actually I have the same 'issue'. Only when I am logged in (as an administrator account) can I change the labels. Not sure if this is a bug or how it's mean to be on Google Code, though.I think it's a bug:
http://img235.imageshack.us/img235/7467/schermafdrukse2.th.png (http://img235.imageshack.us/my.php?image=schermafdrukse2.png)

But there seems to be a workaround (http://groups.google.com/group/google-code-hosting/browse_thread/thread/5a878a4685c993fe/a66b5075290b6f16?lnk=gst&q=issue+type&rnum=3#a66b5075290b6f16) which I don't quite follow (my English is not that good :-? )

zachtib
October 3rd, 2006, 04:08 PM
I think it's a bug:
http://img235.imageshack.us/img235/7467/schermafdrukse2.th.png (http://img235.imageshack.us/my.php?image=schermafdrukse2.png)

But there seems to be a workaround (http://groups.google.com/group/google-code-hosting/browse_thread/thread/5a878a4685c993fe/a66b5075290b6f16?lnk=gst&q=issue+type&rnum=3#a66b5075290b6f16) which I don't quite follow (my English is not that good :-? )

that workaround makes no sense, for now kripken and i will simply file the issues as we accept them

samir85
October 3rd, 2006, 04:30 PM
that workaround makes no sense, for now kripken and i will simply file the issues as we accept them

As far as I'm concerned this is not a bug. You can only specifiy bug types as project member or project owner. See this extract from the google code help:
How do I file a project bug report?
Click "New Issue" under the "Issues" tab. Enter a one-line summary and a description of the problem that you encountered and the expected result. The description text field already has text that helps you enter a detailed bug report. If you are an owner or member of the project, you will also see more fields for the issue metadata.

Krakatos
October 3rd, 2006, 05:33 PM
Errr ok this is a very n00bish question but.... I am kind of new to Gnu-Linux after all...

I decided to give the SVN a try so...
1) I went to the site and installed the python libtorrent deb
2) I used svn checkout http://deluge-torrent.googlecode.com/svn/trunk/ deluge-torrent to install the SVN
3) I granted deluge.py exec rights
4) Typed ./deluge.py
and this is what I get

keltosh@keltosh-desktop:/media/dati/Apps/deluge-torrent$ ./deluge.py
Traceback (most recent call last):
File "./deluge.py", line 38, in ?
import torrent
ImportError: /usr/lib/python2.4/site-packages/torrent.so: cannot open shared object file: No such file or directory

But the file does exist.. and it's exactly in that place
Errr... what did I do wrong?

EDIT: I have Ubuntu 64.. does this matter? Cause I mindlessly installed the deb forcing the architecture, and it worked..

zachtib
October 3rd, 2006, 06:22 PM
Errr ok this is a very n00bish question but.... I am kind of new to Gnu-Linux after all...

I decided to give the SVN a try so...
1) I went to the site and installed the python libtorrent deb
2) I used svn checkout http://deluge-torrent.googlecode.com/svn/trunk/ deluge-torrent to install the SVN
3) I granted deluge.py exec rights
4) Typed ./deluge.py
and this is what I get

keltosh@keltosh-desktop:/media/dati/Apps/deluge-torrent$ ./deluge.py
Traceback (most recent call last):
File "./deluge.py", line 38, in ?
import torrent
ImportError: /usr/lib/python2.4/site-packages/torrent.so: cannot open shared object file: No such file or directory

But the file does exist.. and it's exactly in that place
Errr... what did I do wrong?

EDIT: I have Ubuntu 64.. does this matter? Cause I mindlessly installed the deb forcing the architecture, and it worked..

that's probably the problem, there is no python-libtorrent for 64bit yet.

your best bet would be to build python-libtorrent from SVN source. check out the source, there should be a setup.py or somesuch. kripken manages the libtorrent wrapper, not me, so I'm not an expert in this.

also, you should file a request for a 64bit deb on the python-libtorrent page

Krakatos
October 3rd, 2006, 07:05 PM
Ahh well, I compiled it but I probably messed up something. The program starts fine, but when adding a torrent,

Torrent file: /media/dati/Apps/python-libtorrent/ubuntu.torrent
Asking for save dir
Save Directory: /home/keltosh
Queuing at 1
Critical Error! No such uniqueID (0, 1)
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check
Aborted

Probably a mistake on my part during the compiling process.I still thought I'd post it, who knows, there is actually a very small chance it is a bug (not likely..)

But anyway, at least I got to see the interface. Quite nifty I must say, though of course I could not try it veery well considering I could not add torrents...

EDIT: most likely my fault after all.. during compile, looking through it all, I see
session.cpp: In member function ‘void libtorrent::detail::piece_checker_data::parse_resu me_data(const libtorrent::entry&, const libtorrent::torrent_info&, std::string&)’:
session.cpp:1701: warning: comparison between signed and unsigned integer expressions

Ahh well.... A pity

zachtib
October 3rd, 2006, 07:40 PM
Ahh well, I compiled it but I probably messed up something. The program starts fine, but when adding a torrent,

Torrent file: /media/dati/Apps/python-libtorrent/ubuntu.torrent
Asking for save dir
Save Directory: /home/keltosh
Queuing at 1
Critical Error! No such uniqueID (0, 1)
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check
Aborted

Probably a mistake on my part during the compiling process.I still thought I'd post it, who knows, there is actually a very small chance it is a bug (not likely..)

But anyway, at least I got to see the interface. Quite nifty I must say, though of course I could not try it veery well considering I could not add torrents...

EDIT: most likely my fault after all.. during compile, looking through it all, I see
session.cpp: In member function ‘void libtorrent::detail::piece_checker_data::parse_resu me_data(const libtorrent::entry&, const libtorrent::torrent_info&, std::string&)’:
session.cpp:1701: warning: comparison between signed and unsigned integer expressions

Ahh well.... A pity


hopefully when kripken gets online tommorow, he'll take a look at this. neither of us are running ubuntu64, so i don't know how much we can do on our end, but if you're willing to help us out, we do need to work on getting it to run on 64bit ubuntu.

maybe we can start providing 64 bit .debs with the 0.2.0 release (yes, it's almost here)

Krakatos
October 3rd, 2006, 07:45 PM
hopefully when kripken gets online tommorow, he'll take a look at this. neither of us are running ubuntu64, so i don't know how much we can do on our end, but if you're willing to help us out, we do need to work on getting it to run on 64bit ubuntu.

maybe we can start providing 64 bit .debs with the 0.2.0 release (yes, it's almost here)

I would be glad to. I'm not an expert by any stretch, but I'll do what I can. After all, I DO want to have it running on Ubuntu 64 :)

EDIT: sent you a pm btw

zachtib
October 3rd, 2006, 09:04 PM
I would be glad to. I'm not an expert by any stretch, but I'll do what I can. After all, I DO want to have it running on Ubuntu 64 :)

EDIT: sent you a pm btw

alright, glad to have your help.

I'll talk to kripken tomorrow about a 64bit version. or more likely, he'll see this thread.

I'm not even going to pretend to know what it will take to get it running on x86_64, so I won't be of much help on my own.


and for those of you that care, the current SVN version of Deluge (v0.1.99) is now officially (as far as I'm concerned) stable enough to be considered the v0.2.0 release. I just need to talk to Kripken and get him to build a v0.2-0 deb for python-libtorrent (each stable release of deluge will depend on the same numbered libtorrent release, so python-libtorrent 0.2-0 will be the same as the current 0.1-9, just promoting the numbers to make things easier, if that made any sense at all) So, save for some huge bug being discovered overnight, our second stable release will go out tomorrow. Anyone that can't wait is of course welcome to check the code out from SVN, as it's all but final at this point.

Krakatos
October 4th, 2006, 11:17 AM
A toast to the new forum of Deluge :p
This is obviously an important milestone in the project, and it also allow a greater visibility in the Ubuntu community :p

Small suggestion: what about starting a few threads: one for releases/changelogs, one to discss features etc? Just an idea

Rusna
October 4th, 2006, 12:09 PM
I think that would be a good idea.

But not a billion "Deluge doesn't work. HELP!!!!11!11" -threads :I

kripkenstein
October 4th, 2006, 03:11 PM
Ahh well, I compiled it but I probably messed up something. The program starts fine, but when adding a torrent,

Torrent file: /media/dati/Apps/python-libtorrent/ubuntu.torrent
Asking for save dir
Save Directory: /home/keltosh
Queuing at 1
Critical Error! No such uniqueID (0, 1)
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check
Aborted

Probably a mistake on my part during the compiling process.I still thought I'd post it, who knows, there is actually a very small chance it is a bug (not likely..)


It will be hard to debug amd64 without having such an install myself... but let's try. It's a worthy cause :)

I compiled a version of python-libtorrent with extra debug messages. It's called 0.1.9. So, run Deluge with that one (and not 0.2), and show me the output. Maybe we'll get somewhere.

zachtib
October 4th, 2006, 03:15 PM
i posted a new thread for the amd64 discussion, lets continue the discussion there

kripkenstein
October 4th, 2006, 03:26 PM
i posted a new thread for the amd64 discussion, lets continue the discussion there

Good idea.

nedkelly
October 8th, 2006, 07:18 AM
Hi

I was wondering if it might be an idea to work together with the project bitrocket (http://www.bitrocket.org) for Mac OS, since it seems that the project also uses the libtorrent lib as a base and they too are on code.google.com/p/bitrocket (http://code.google.com/p/bitrocket/).

This is just a thought since I am not a programmer and do not know if it is possible since Mac OS is "only" Unix

kripkenstein
October 8th, 2006, 07:30 AM
Hi

I was wondering if it might be an idea to work together with the project bitrocket (http://www.bitrocket.org) for Mac OS, since it seems that the project also uses the libtorrent lib as a base and they too are on code.google.com/p/bitrocket (http://code.google.com/p/bitrocket/).

This is just a thought since I am not a programmer and do not know if it is possible since Mac OS is "only" Unix

Thanks for the link, I didn't know about that project. We won't be able to reuse the client code, since the OS X toolkit and GTK+ aren't compatible. However, since we use the same backend, we might run into the same issues with it; something useful might come out of that.

nedkelly
October 12th, 2006, 07:34 AM
not to spam you with links but there seem to be a windows torrent client named Moopolice (http://www.moopolice.de/), which is also used libtorrent, from what I can read in the Moopolice forum (http://139.30.204.74:83/forum/viewtopic.php?t=44). It has a bad GUI, but maybe you can get some ideas from the code??

As I started this is not to spam you, just hope that I can help a little with the development of this great app