View Full Version : native python systray - testers needed
zachtib
October 11th, 2006, 09:03 AM
in SVN right now, I have removed the use of the egg.systray in favor of using pygtk's native system tray icon, but i'm worried that this may break support for Deluge in dapper.
could some dapper users check out the latest SVN and report back to me?
dabear
October 11th, 2006, 09:12 AM
tell me the svn address...
But it will indeed break support for dapper, as systray support was included in gtk 2.10 whcih needs edgy..
zachtib
October 11th, 2006, 09:15 AM
tell me the svn address...
But it will indeed break support for dapper, as systray support was included in gtk 2.10 whcih needs edgy..
dang, perhaps a separate version for dapper/edgy?
I've moved the tray code to a separate class, and it's a very small one, so writing a dapper/edgy version would be no trouble at all, and hopefully be able to include both classes in the same file and have it autoselect the correct one
EDIT: btw, svn howto here: http://code.google.com/p/deluge-torrent/source
zachtib
October 11th, 2006, 09:43 AM
ok, now in SVN it should automatically decide which type of trayicon to use, test please
Krakatos
October 11th, 2006, 10:08 AM
err, what is this?
None
Traceback (most recent call last):
File "/media/dati/Apps/deluge-torrent/deluge.py", line 713, in ?
g = Deluge()
File "/media/dati/Apps/deluge-torrent/deluge.py", line 203, in __init__
self.apply_pref()
File "/media/dati/Apps/deluge-torrent/deluge.py", line 699, in apply_pref
if (int(self.preferences.get("sbvis")) == 0):
TypeError: int() argument must be a string or a number
keltosh@keltosh-desktop:/media/dati/Apps/deluge-torrent$
Just started up deluge and this happened. Maybe I should have deleted the torrents in queue before applying svn?
Or maybe it only works with the last revision of python-libtorrent? Or as usual is it due my 63 bit version?
I'll try to compile the latest pythin-libtorrent first
zachtib
October 11th, 2006, 10:15 AM
Or maybe it only works with the last revision of python-libtorrent? Or as usual is it due my 63 bit version?
I'll try to compile the latest pythin-libtorrent first
63 bit, now that's new ;)
are you upgrading from 0.2.1 or from SVN?
try deleting your ~/.deluge directory, and try again
Krakatos
October 11th, 2006, 10:22 AM
Ok, this is what I did:
deleted deluge-torrent, the torrent.so file in /usr/lib/python2.4/site-packages, deleted .deluge in /home
rebooted
compiled latest version of python-libtorrent and moved to the aforementioned location
did a svn checkout of the latest version of deluge
chmod +x deluge.py
./deluge.py
result:
None
Traceback (most recent call last):
File "/media/dati/Apps/deluge-torrent/deluge.py", line 713, in ?
g = Deluge()
File "/media/dati/Apps/deluge-torrent/deluge.py", line 203, in __init__
self.apply_pref()
File "/media/dati/Apps/deluge-torrent/deluge.py", line 699, in apply_pref
if (int(self.preferences.get("sbvis")) == 0):
TypeError: int() argument must be a string or a number
keltosh@keltosh-desktop:/media/dati/Apps/deluge-torrent$
Is it my fault? or not?
zachtib
October 11th, 2006, 10:27 AM
Ok, this is what I did:
deleted deluge-torrent, the torrent.so file in /usr/lib/python2.4/site-packages, deleted .deluge in /home
rebooted
compiled latest version of python-libtorrent and moved to the aforementioned location
did a svn checkout of the latest version of deluge
chmod +x deluge.py
./deluge.py
result:
None
Traceback (most recent call last):
File "/media/dati/Apps/deluge-torrent/deluge.py", line 713, in ?
g = Deluge()
File "/media/dati/Apps/deluge-torrent/deluge.py", line 203, in __init__
self.apply_pref()
File "/media/dati/Apps/deluge-torrent/deluge.py", line 699, in apply_pref
if (int(self.preferences.get("sbvis")) == 0):
TypeError: int() argument must be a string or a number
keltosh@keltosh-desktop:/media/dati/Apps/deluge-torrent$
Is it my fault? or not?
its not your fault and i know what the problem is, lemme fix it
zachtib
October 11th, 2006, 10:29 AM
ok, i committed a fix to SVN, now i have a paper due at 2pm (3.5 hours) and i have yet to start, so i wont be on for a while
Krakatos
October 11th, 2006, 10:36 AM
Ok, now it works fine. Using dapper here btw. I'll try to download a torrent or 2, and let you know if any other problems arise
Krakatos
October 11th, 2006, 04:06 PM
Everything works except for one thing, but I'm not sure if it's a bug or not.
Basically I decided to test the auto seed limit. When the limit was reached, it stopped seeding, but the status was still showing: seeding. Shouldn't it go to stopped or completed? Also, er.. maybe I'm dumb but the clear finished torrents is not working. Or I am not doing it right. Or maybe it has not been implemented yet? Up to now I always used the remove torrent button to clean up finished torrents, but for some reason I didn't remeber to ask
zachtib
October 11th, 2006, 04:28 PM
Everything works except for one thing, but I'm not sure if it's a bug or not.
Basically I decided to test the auto seed limit. When the limit was reached, it stopped seeding, but the status was still showing: seeding. Shouldn't it go to stopped or completed? Also, er.. maybe I'm dumb but the clear finished torrents is not working. Or I am not doing it right. Or maybe it has not been implemented yet? Up to now I always used the remove torrent button to clean up finished torrents, but for some reason I didn't remeber to ask
this isn't related to the tray, but yeah, that probably is happening.
hopefully we'll fix that, but add an issue to the google code page to remind us
Krakatos
October 11th, 2006, 04:32 PM
Err, both the things I mentioned? or just the autoseeding?
I am uncertain regarding the clean button :)
zachtib
October 11th, 2006, 04:33 PM
Err, both the things I mentioned? or just the autoseeding?
I am uncertain regarding the clean button :)
the clean button doesn't work atm, but i was talking about the autoseeding.
autoseeding is still sort of experimental, and as far as i know, no other clients have something similar, though it was one of the first features requested when the project started.
Krakatos
October 11th, 2006, 05:17 PM
Done. Sorry for posting in this thread though cause it was a little off topic.
Anyway, bakcin topic, I downloaded 3 torrents now, and everything seems to work
zachtib
October 11th, 2006, 05:18 PM
Done. Sorry for posting in this thread though cause it was a little off topic.
Anyway, bakcin topic, I downloaded 3 torrents now, and everything seems to work
nice, if you want to play with even more bleeding edge stuff, check out SVN again, i just added gtk-progressbars for the downloads
Krakatos
October 11th, 2006, 05:39 PM
nice, if you want to play with even more bleeding edge stuff, check out SVN again, i just added gtk-progressbars for the downloads
Woohoo, seems to be working fine :)
Just one suggestion: why don't you put it so that you see the percentage with the 2 decimals, like it's written in the info tab?
Some may say it's redundant, but with really big torrents, it's best to see 95.75% rather than 95% I think
just my opinion of course
Also, one thing,. I know that speed in bytes is grayed out... but truly, it's annoying, it'd be better if possiblwe to see 0.23 kb rather than 240 or so bytes. True it's grayed, but it's not immediately recognizable
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.