PDA

View Full Version : Version 0.3 Preview Release (i386/amd64)


zachtib
October 24th, 2006, 10:16 AM
There is now a 0.3 preview release of Deluge available from the deluge downloads page. The only thing that will change between now and the final 0.3 release are translations and bugfixes.

http://zachtib.googlepages.com/downloads

jamesford
October 24th, 2006, 11:24 AM
looking good. thanks for thinking of us 64 bit users!
i still have the same issues as i mentioned before about not being able to connect to very many seeders and peers, and im still getting pretty poor speeds, but otherwise its looking very good.
one thing annoys me and that is that after minimizing it to tray and open it again it doesent stick to the place on the screen that i left it before minimizing, and another is the columns (name - status -seeders and so on) live kinda their own life. i would like them to stick to the sizes ive chosen.oh and the tray icon is a bit ugly but im sure thats just one of the bugs you are aware of.

but deluge is very close to replacing azureus on my computer. keep it up!

zachtib
October 24th, 2006, 11:33 AM
looking good. thanks for thinking of us 64 bit users!
i still have the same issues as i mentioned before about not being able to connect to very many seeders and peers, and im still getting pretty poor speeds, but otherwise its looking very good.
one thing annoys me and that is that after minimizing it to tray and open it again it doesent stick to the place on the screen that i left it before minimizing, and another is the columns (name - status -seeders and so on) live kinda their own life. i would like them to stick to the sizes ive chosen.oh and the tray icon is a bit ugly but im sure thats just one of the bugs you are aware of.

but deluge is very close to replacing azureus on my computer. keep it up!

The seeding and speed issues are related to DHT. The version of libtorrent that we are using to build Deluge 0.3 is libtorrent 0.10, which does not support DHT. However, there is a rc of libtorrent 0.11, which will introduce DHT support. python-libtorrent 0.4, and by extension Deluge 0.4, will be built using libtorrent 0.11, and as such support DHT.
Sometime after 0.3 is released, DHT support will be added to the SVN trunk branch, which will eventually become 0.4. It may be possible to get the 0.3 client to run with a SVN of python-libtorrent and gain DHT support that way, but I make no guarantees on that. (in fact, you'd be better off just using the SVN client once DHT support is added)

Rusna
October 24th, 2006, 12:00 PM
Please include a option to trun DHT off.

zachtib
October 24th, 2006, 12:03 PM
Please include a option to trun DHT off.

I'm sure we will once we add it.

What are the disadvantages of DHT, though?

jamesford
October 24th, 2006, 12:24 PM
thanks for the dht info, sounds very good

kampsuniahv
October 24th, 2006, 02:01 PM
I'm sure we will once we add it.

What are the disadvantages of DHT, though?

It's not allowed by some (most of) private trackers, because it can give wrong or fake info about your downloads and uploads.

If i am not mistaken

roderikk
October 24th, 2006, 03:29 PM
Hey! Great news, however, when I download the corresponding libtorrent deb file for I386 I get an error saying either the file is corrupt or it has wrong permissions. Anyone else has this problem?

zachtib
October 24th, 2006, 03:46 PM
Hey! Great news, however, when I download the corresponding libtorrent deb file for I386 I get an error saying either the file is corrupt or it has wrong permissions. Anyone else has this problem?

this always seems to happen to some people, and we can't for the life of us figure out what the problem is

try using wget a few times, and it should complete

zachtib
October 24th, 2006, 04:02 PM
there seems to be a bug in this version that causes the client to crash when a torrent is removed.

kripken has fixed the issue, and we'll be rebuilding debs soon

EDIT: they're uploaded

roderikk
October 24th, 2006, 04:41 PM
Well, after removing the old python-libtorrent package using aptitude everything installed just fine.

I must say I am impressed with how fast this project is progressing.

Just a quick question though, is it just me or is Deluge missing a lot of available seeders. There are only 8 seeders on a torrent where there are several hundreds available in utorrent for example. Also it keeps saying there are no incoming connections, would that have something to do with it? I checked it and my ports should be properly forwarded.

kripkenstein
October 24th, 2006, 05:08 PM
Well, after removing the old python-libtorrent package using aptitude everything installed just fine.

I must say I am impressed with how fast this project is progressing.

Just a quick question though, is it just me or is Deluge missing a lot of available seeders. There are only 8 seeders on a torrent where there are several hundreds available in utorrent for example. Also it keeps saying there are no incoming connections, would that have something to do with it? I checked it and my ports should be properly forwarded.

You may only see part of the seeds because of lack of DHT (which, as zach said, will soon be in Deluge). Lack of incoming connections may be related to this as well.

zachtib
October 24th, 2006, 05:08 PM
Well, after removing the old python-libtorrent package using aptitude everything installed just fine.

I must say I am impressed with how fast this project is progressing.

Just a quick question though, is it just me or is Deluge missing a lot of available seeders. There are only 8 seeders on a torrent where there are several hundreds available in utorrent for example. Also it keeps saying there are no incoming connections, would that have something to do with it? I checked it and my ports should be properly forwarded.

its a DHT issue, look up a few posts in this thread

roderikk
October 24th, 2006, 06:37 PM
They say patience is a virtue... so I'll wait for both my download to finish and DHT to be enabled :-). Good luck!!!!!

PS I have also been running through the list of 'enhancements' on the google code page but couldn't find the following feature: When I open a torrent it opens a screen which lets you for example set the download folder, some other options, and shows the list of files (maybe even in a folder structure if that is there) which you can select/deselect (with maybe a button to select/deselect all). (This is not an original idea as it was also in uTorrent if I remember correctly). Sorry if this is (again) a double post...

Just brainstorming here... maybe this form could have a separate tab called 'advanced' on which you can set the individual settings for like maximum seed ratio, max download speed and more for this torrent?

nedkelly
October 25th, 2006, 02:10 PM
Could you please make dapper version of the python-libtorrent_0.2.99 there is working?

zachtib
October 25th, 2006, 02:14 PM
Could you please make dapper version of the python-libtorrent_0.2.99 there is working?

I'm not sure what you're asking...

amd64 or i386? we just recently added a Dapper version of the i386 .deb, have you tried that one?

Krakatos
October 25th, 2006, 03:06 PM
Just to let you know, I've been trying the 64bit version for a day, and it seems to work quite fine. I'll try to finish the italian translation this evening

zachtib
October 25th, 2006, 04:50 PM
Just to let you know, I've been trying the 64bit version for a day, and it seems to work quite fine. I'll try to finish the italian translation this evening

excellent. I'll be able to continue building amd64 dapper packages on my server, but I'll have to figure out how to build 64bit edgy packages. I'm buying a Core 2 Duo laptop, if that will run amd64, then I could build them there.

Krakatos
October 25th, 2006, 05:01 PM
excellent. I'll be able to continue building amd64 dapper packages on my server, but I'll have to figure out how to build 64bit edgy packages. I'm buying a Core 2 Duo laptop, if that will run amd64, then I could build them there.

Oh, sorry , I didn't specify. I am already using edgy, so I'd say the packages work fine on it :)

zachtib
October 25th, 2006, 05:06 PM
Oh, sorry , I didn't specify. I am already using edgy, so I'd say the packages work fine on it :)

ok, the same doesn't work the other way around, though. packages i built on edgy didn't work on dapper

Krakatos
October 26th, 2006, 05:49 AM
Just a small memo while I remmeber:
I'd advise writing down a nice,detailed and possibly captivating :P Changelog when 0.3 comes out. That way you can put it on the project page and on gnomefiles.org - and I can post in the thread I opened in the Italian Ubuntu forums :)

zachtib
October 26th, 2006, 03:32 PM
Over the last day or two, kripken and I have been fixing bugs along with assorted other tweaks to the 0.3 development branch. We've fixed a few things and tinkered with some others, and now I've just finished building this into the first release candidate for 0.3. Along with the client and libtorrent .debs I've uploaded, I've also uploaded the first localization package, which contains translations for Danish, Dutch, Estonian, Finnish, French, Hebrew, Italian, and Spanish. I have no idea if and how well these translations work, but as far as I know, they should.

Of course, all of the packages can be downloaded here. (http://zachtib.googlepages.com/downloads)

If your web browser truncates the download, or your package manager complains that the downloaded package is corrupted, try redownloading the package with wget.

mithras86
October 26th, 2006, 05:26 PM
http://gathering.tweakers.net/global/smileys/thumbsup.gif

Only one thing...the translations don't work :P

/edit: some more info: using new libtorrent+deluge+rosetta package (dependencies works great, really :P). I haven't looked at the code yet, but you know better where you can find the bug than i do.

zachtib
October 26th, 2006, 05:55 PM
yeah, i can't even install a new locale to test with the way the repos are getting slammed right now...

we'll take a look at this

zachtib
October 27th, 2006, 05:03 PM
Only one thing...the translations don't work :P

ok, apparently, i have to compile the .po files into .mo files... now if only i can figure our how to do this.

kripkenstein
October 28th, 2006, 04:22 AM
Only one thing...the translations don't work :P


Ok, I did some work, translations should now work in svn. Please test it :) Note: it uses your current locale to decide what language to use. If you want to test a locale which isn't your current locale, all you need to do is look at line 793 in deluge.py (just uncomment it, and/or change 'fr' to whatever locale you want).

Notes:

1. From what I can see, translation works for Python but not Glade. For example, the statusbar ("Connections: [none incoming]", etc.) IS translated, but the menu bar isn't. This may be a bug in Python, but supposedly it was fixed. Testers, please tell me what your experience is.

2. Zach, note the ./po/makemos bash script, for future automation. Also note that I compiled all internationalization stuff under .po, for convenience.

mithras86
October 28th, 2006, 08:01 AM
Ok, i tested deluge from svn, but not everything is translated. It could be that the latest changes in the translation aren't updated yet, but the one missing is the button to search. It's called Search [searchengine_name], but shouldn't 'Search' be translated?

Everything else seems to work fine. I'll keep testing it thoroughly this weekend ;)

kripkenstein
October 28th, 2006, 09:50 AM
Ok, i tested deluge from svn, but not everything is translated. It could be that the latest changes in the translation aren't updated yet, but the one missing is the button to search. It's called Search [searchengine_name], but shouldn't 'Search' be translated?

Everything else seems to work fine. I'll keep testing it thoroughly this weekend ;)

How about the menubar items? Are they translated?

Jeldert
October 28th, 2006, 09:52 AM
Can you tell me if the python-libtorrent package is based on the latest version of libtorrent CVS? I use a private tracker that disallows libtorrent based clients, except if they are based on the latest version of libtorrent.

kripkenstein
October 28th, 2006, 10:00 AM
Can you tell me if the python-libtorrent package is based on the latest version of libtorrent CVS? I use a private tracker that disallows libtorrent based clients, except if they are based on the latest version of libtorrent.

There are two projects called 'libtorrent', one on Sourceforge, and one run by a guy called Raksasha. Which do you mean?

Deluge uses the Sourceforge libtorrent. Currently it uses the stable 0.10 release, not the latest unstable. A new release should be out soon though, which Deluge will then use.

mithras86
October 28th, 2006, 03:44 PM
How about the menubar items? Are they translated?Yes, all the menu items, tooltips, statusbar, systray menu items ánd systray tooltip are translated correctly, so you and Zachtib have done a great job=D>


Ow, but I thought about something else: the very irritating popup menu when you want to quit Deluge. I'd be glad if that dialog only appears when you have torrents downloading, or when you have active torrent. With an "empty" Deluge, it's very irritating to click the Ok button every time ;)

zachtib
October 28th, 2006, 06:21 PM
Ow, but I thought about something else: the very irritating popup menu when you want to quit Deluge. I'd be glad if that dialog only appears when you have torrents downloading, or when you have active torrent. With an "empty" Deluge, it's very irritating to click the Ok button every time ;)

this is a very good point, we need to fix this behavior

Choad
October 29th, 2006, 05:39 AM
very nice stuff. i assume its not actually supposed to download torrents yet, but other than that i love the design. the preferences page especially, i have never seen it layed out as well as that. everything i need/want, nothingn else! i see no reason why when this is complete every gnome/xfce based linux distro wont be using it... because the alternatives are dire!!!

good luck with it

reading arround... it seems it might e supposed to download already. in which case... why is mine not downloading lol

zachtib
October 29th, 2006, 12:17 PM
very nice stuff. i assume its not actually supposed to download torrents yet, but other than that i love the design. the preferences page especially, i have never seen it layed out as well as that. everything i need/want, nothingn else! i see no reason why when this is complete every gnome/xfce based linux distro wont be using it... because the alternatives are dire!!!

good luck with it

reading arround... it seems it might e supposed to download already. in which case... why is mine not downloading lol

do you have the python library installed? python-libtorrent?

armin76
October 29th, 2006, 12:41 PM
We (non-debian/ubuntu users) want source tarballs for both python-libtorrent and deluge! :)

Could that be possible, please?

zachtib
October 29th, 2006, 01:35 PM
We (non-debian/ubuntu users) want source tarballs for both python-libtorrent and deluge! :)

Could that be possible, please?

you can always check out the code from SVN, but yes, source tarballs of the 0.3 release will be put out eventually... at the very least when 0.3 is released, but perhaps sooner

Choad
October 29th, 2006, 02:20 PM
do you have the python library installed? python-libtorrent?
yeah

Choad
October 29th, 2006, 02:24 PM
yeah
richard@richard-laptop:/usr/lib$ python deluge/deluge.py
/usr/lib/deluge
DelugePreferences object created
Loading from file /home/richard/.deluge/preferences.xml
global_loc: /home/richard
sbvis: 1
existing1saveDir: /home/richard
tcp_port_min: 8000
stop_seeding: True
max_ul_rate: 30
tcp_port_max: 8010
max_num_dl: 23
existing1: b-mininova.org-d ubuntu-6.10-desktop-i386.iso.torrent
existing1paused: 0
max_dl_rate: 181
existing1filterOuts:
seed_cap_ratio: 1.0
max_num_ul: 22
global_save: False
existing1uploaded: 487215
Loading from file/home/richard/.deluge/searchengines.xml
SXMLParser
search_engines
Populating search menu
new menu
HidingSize
HidingMessage
HidingShare %
********************:13
Trying to use new tray icon
Now using DummyTray. No tray icon will be available
defaultTrue
Now applying settings
Capping download to 185344 bytes per second
Limiting DL to181KB/s
Capping upload to 30720 bytes per second
Limiting UL to30KB/s
port range8000-8010
1
setting autoseed ratio to1.0
Auto Loading Torrents
1 b-mininova.org-d ubuntu-6.10-desktop-i386.iso.torrent
Queuing at 1
0
b-mininova.org-d ubuntu-6.10-desktop-i386.iso.torrent
1
ubuntu-6.10-desktop-i386.iso
698.37 MB
0.0
Waiting to check
0 (0)
0 (0)
-
-
N/A
INF
True
True
2None
Traceback (most recent call last):
File "/usr/lib/deluge/torrenthandler.py", line 42, in update
self.parent.UpdateStatusBar()
File "/usr/lib/deluge/deluge.py", line 715, in UpdateStatusBar
self.systray.update_tooltip(connections, dlrate, ulrate)
File "/usr/lib/deluge/dtray.py", line 74, in update_tooltip
self.set_tooltip(msg)
File "/usr/lib/deluge/dtray.py", line 77, in set_tooltip
self.tray.set_tooltip(msg)
AttributeError: DummyTray instance has no attribute 'tray'


doesnt seem to be any errors....

mithras86
October 29th, 2006, 02:44 PM
Which release are you using? Dapper or Edgy? Because there went something wrong with you trayicon, so have you tried this (http://zachtib.googlepages.com/python-libtorrent_0.2.99.1rc1_i386_edgy.deb) version of libtorrent and this (http://zachtib.googlepages.com/deluge_0.2.99.1rc1_all_ubuntu.deb) one for Deluge?

If you use Dapper, you should use this (http://zachtib.googlepages.com/python-libtorrent_0.2.99.1rc1_i386_dapper.deb) version of libtorrent.

Choad
October 29th, 2006, 02:49 PM
yep, im using edgy, and yep, i used both of those .debs

zachtib
October 29th, 2006, 03:22 PM
yep, im using edgy, and yep, i used both of those .debs

the problem seems to be with it not creating the tray properly... let me go take a look at the code

Choad
October 29th, 2006, 04:00 PM
this is xfce not gnome :)

Choad
October 29th, 2006, 04:05 PM
if it makes a dummy tray, because it cant make a real one for whatever reason, surely that shouldnt affect the downloading of a torrent?

zachtib
October 29th, 2006, 04:19 PM
if it makes a dummy tray, because it cant make a real one for whatever reason, surely that shouldnt affect the downloading of a torrent?

if the code stops executing at that point, then yes, it would be a problem :)

zachtib
October 29th, 2006, 04:21 PM
ok, i found the problem and fixed it in SVN. you can either check out the code, or wait for an RC2 deb

mithras86
October 29th, 2006, 04:26 PM
if it makes a dummy tray, because it cant make a real one for whatever reason, surely that shouldnt affect the downloading of a torrent?A dummytray is created because Deluge cannot create a systray based on the TrayIcon class in the gtk2.10 toolkit. Apperently it cannot create a trayicon based on egg either. Then Deluge will create a dummy trayicon. But when python fails to get the whole thing to work, it drops the script. That's why you cannot download torrent when Deluge gives such an error message.

@zachtib: because of my first python project vpnDialer (http://ubuntuforums.org/showthread.php?t=282873), I spitted through all your code. I know almost every bit (but don't understand the whole thing) ;)

Further: isn't it better to create a parent tray class, and that one decides to pass it through to the tray, the tray_legacy or drop it (for the dummy tray)?

Choad
October 29th, 2006, 04:37 PM
would that be http://deluge-torrent.googlecode.com/svn/trunk/dtray.py this?

zachtib
October 29th, 2006, 04:39 PM
would that be http://deluge-torrent.googlecode.com/svn/trunk/dtray.py this?

yup

Choad
October 29th, 2006, 04:50 PM
yup
sweet, its working now. u, sir, are a genious

Choad
October 29th, 2006, 04:52 PM
sweet, its working now. u, sir, are a genious
does upload capping work yet? because i was uploading at 130 kb/s when it should have limited it to 30

zachtib
October 29th, 2006, 05:04 PM
does upload capping work yet? because i was uploading at 130 kb/s when it should have limited it to 30

it should work, it does for me.

once you set a cap, though, it will slowly approach that cap (ie, current uploads will continue to upload at the old speed, while new ones will cap) or at least, i believe that's how it should work

Choad
October 29th, 2006, 05:19 PM
yeah, i didnt notice that it changes to bytes when very small numbers

to be honest, i think that is confusing more than helpful. stick to what people know (ie kilobytes)

or, do whatever u want its ur project lol

anyhow, got something on the download now, and it works! so good job man!

zachtib
October 29th, 2006, 06:04 PM
yeah, i didnt notice that it changes to bytes when very small numbers

to be honest, i think that is confusing more than helpful. stick to what people know (ie kilobytes)

or, do whatever u want its ur project lol

anyhow, got something on the download now, and it works! so good job man!

glad you got it working


and keep up the bug reports, people

zachtib
October 29th, 2006, 06:06 PM
Further: isn't it better to create a parent tray class, and that one decides to pass it through to the tray, the tray_legacy or drop it (for the dummy tray)?

perhaps, but i don't want to make any big changes to the code at this stage of the 0.3 dev cycle. 0.4 is going to be all about cleaning the code and polishing the software, with a few under the hood improvements, such as DHT.

Choad
October 29th, 2006, 06:18 PM
just finished a torrent. altho the majority of the work was done by the devs of libtorrent, i still give you all the credit!

zachtib
October 29th, 2006, 08:33 PM
just finished a torrent. altho the majority of the work was done by the devs of libtorrent, i still give you all the credit!

I'm glad it works for you.



just to keep you guys up to speed on this, I plan on putting out the next RC, rc2, sometime this week. fortunately, the library hasn't changed, so we can reuse the rc1 debs for that, however, once it does change, Kripken is no longer running on dapper, so we have no way of building dapper debs. Meaning, after the 0.3 release, for 0.4 and beyond, I'm only going to bother building edgy debs. Of course, source tarballs will still be available, and I'm sure someone here will build debs for older systems

garybrlow
October 29th, 2006, 08:50 PM
am currently getting this error for both SVN and RC1:

mycomputer@xubuntu:~/SVN/deluge-torrent$ python deluge.py
Traceback (most recent call last):
File "deluge.py", line 39, in ?
import torrent
ImportError: libicui18n.so.34: cannot open shared object file: No such file or directory

Am I missing someting? ;)

zachtib
October 29th, 2006, 09:21 PM
am currently getting this error for both SVN and RC1:

mycomputer@xubuntu:~/SVN/deluge-torrent$ python deluge.py
Traceback (most recent call last):
File "deluge.py", line 39, in ?
import torrent
ImportError: libicui18n.so.34: cannot open shared object file: No such file or directory

Am I missing someting? ;)

blows my mind... obviously xcfe is missing some gnome lib that deluge needs... see if you can provide us with any more info

download the latest SVN, then enable debugging in delugecommon.py

EDIT: also, try installing the .debs to handle dependencies

Krakatos
October 30th, 2006, 03:09 AM
Been busy a few days, trying out the latest changes and the translations now.
I must say that yes, the translations of the menus and buttons are broken. The lower tabs and their content, the status bar, the main window and the popup work fine instead.
Using Ubuntu edgy 64bit, if that helps in any way. I didn't compile libtorrent this time, but I did get the latest svn version.

you know... it's starting to look really good now...

EDIT> a small error I noticed. look in the image I attached the total sent (Totale Inviato in Italian). Notice how it's not aligned with the rest of the infos. A small layout error?

kripkenstein
October 30th, 2006, 03:44 AM
fortunately, the library hasn't changed

It just changed today, to make the client string it reports be shorter :)

kripkenstein
October 30th, 2006, 03:48 AM
EDIT> a small error I noticed. look in the image I attached the total sent (Totale Inviato in Italian). Notice how it's not aligned with the rest of the infos. A small layout error?

No, more like a big layout copout :) Basically the output in the 'torrent details' tab is just text with tabs... change the size of the text, and you lose the nice column ordering. This is something I've been meaning to fix for a while (by making it an actual window with layout, not just text with tabs), but other things have been occupying me (currently, plugins).