Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178888 - net-p2p/bittorrent-5.0.7 - launchmany-curses does not show status
Summary: net-p2p/bittorrent-5.0.7 - launchmany-curses does not show status
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-17 15:04 UTC by Jan Paces
Modified: 2007-10-17 10:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
This patch seem to fix the problem (patch.txt,700 bytes, patch)
2007-10-14 10:47 UTC, Arrigo Marchiori
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Paces 2007-05-17 15:04:32 UTC
When running launchmany-curses, after adding .torrent file, error messges appears on screen. After that no information except log is visible, although torrents are working. I checked with many different torrents.

05/17/07 16:33:05 - Unhandled error in Deferred:Traceback (most recent call last):
05/17/07 16:33:05 - Traceback (most recent call last):  File "/usr/lib/python2.4/site-packages/twisted/internet/posixbase.py", line 226, in mainLoop
05/17/07 16:33:05 -   File "/usr/lib/python2.4/site-packages/twisted/internet/posixbase.py", line 226, in mainLoop    self.runUntilCurrent()
05/17/07 16:33:05 -     self.runUntilCurrent()  File "/usr/lib/python2.4/site-packages/twisted/internet/base.py", line 532, in runUntilCurrent
05/17/07 16:33:05 -   File "/usr/lib/python2.4/site-packages/twisted/internet/base.py", line 532, in runUntilCurrent    f(*a, **kw)
05/17/07 16:33:05 -     f(*a, **kw)  File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 229, in callback
05/17/07 16:53:46 - exceptions.AssertionError: None is not greater than or equal to 0 secondsis not greater than or equal to 0 seconds _seconds >= 0, \n callLater**kw)

Reproducible: Always

Steps to Reproduce:
1. launchmany-curses .
2. add .torrent file into the directory


Actual Results:  
05/17/07 16:33:05 - Unhandled error in Deferred:Traceback (most recent call last):
05/17/07 16:33:05 - Traceback (most recent call last):  File "/usr/lib/python2.4/site-packages/twisted/internet/posixbase.py", line 226, in mainLoop
05/17/07 16:33:05 -   File "/usr/lib/python2.4/site-packages/twisted/internet/posixbase.py", line 226, in mainLoop    self.runUntilCurrent()
05/17/07 16:33:05 -     self.runUntilCurrent()  File "/usr/lib/python2.4/site-packages/twisted/internet/base.py", line 532, in runUntilCurrent
05/17/07 16:33:05 -   File "/usr/lib/python2.4/site-packages/twisted/internet/base.py", line 532, in runUntilCurrent    f(*a, **kw)
05/17/07 16:33:05 -     f(*a, **kw)  File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 229, in callback
05/17/07 16:53:46 - exceptions.AssertionError: None is not greater than or equal to 0 secondsis not greater than or equal to 0 seconds _seconds >= 0, \n callLater**kw)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-17 15:28:38 UTC
launchmany-curses? No such thing in the tree, which ebuild is this about?
Comment 2 Jan Paces 2007-05-18 07:06:50 UTC
(In reply to comment #1)
> launchmany-curses? No such thing in the tree, which ebuild is this about?

sorry i did not write it clearly. It is in net-p2p/bittorrent:

[I] net-p2p/bittorrent
     Available versions:  4.4.0 5.0.5 ~5.0.6 5.0.7
     Installed versions:  5.0.7(16:50:32 05/17/07)(gtk)
     Homepage:            http://www.bittorrent.com/
     Description:         tool for distributing files via a distributed network of nodes
Comment 3 Arrigo Marchiori 2007-10-14 10:47:58 UTC
Created attachment 133424 [details, diff]
This patch seem to fix the problem

I changed the method LaunchMany::periodic_stats() to print statistics, as it's done in the initialization procedure.

I'm not sure if this is the correct way to fix the problem: the code has no comments, so it's difficult to understand how things should be. But it seems like it's working.
Comment 4 Arrigo Marchiori 2007-10-14 11:03:24 UTC
I just saw that a new version of Bittorrent is available (5.0.9) from www.bittorrent.com. That version probably doesn't have the bug reported here, because the part I patched is different.
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2007-10-16 11:57:25 UTC
Try with 5.0.9 which is now in the tree
Comment 6 Jan Paces 2007-10-17 10:58:16 UTC
version 5.0.9 works ok, thx