Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93148 - New version of net-p2p/bittorrent
Summary: New version of net-p2p/bittorrent
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
: 93762 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-19 01:16 UTC by Yaron Tausky
Modified: 2005-05-24 11:31 UTC (History)
1 user (show)

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


Attachments
Fixes btdownloadheadless and btlaunchcurses (bittorrent-4.1.0-fix-all.patch,2.42 KB, patch)
2005-05-24 01:11 UTC, Johannes Weiner
Details | Diff
Ebuild with patch-routine (bittorrent-4.1.0.ebuild,1.99 KB, patch)
2005-05-24 01:33 UTC, Johannes Weiner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yaron Tausky 2005-05-19 01:16:08 UTC
Version 4.1.0 of the BitTorrent client is available, and features trackerless downloads.
Please add a new ebuild to Portage.
Comment 1 Karol Wojtaszek (RETIRED) gentoo-dev 2005-05-23 12:55:33 UTC
This release is broken:
$ btdownloadcurses.py some.torrent
  File "/usr/bin/btdownloadcurses.py", line 337
    saveas = config['save_as']
         ^
same with btdownloadheadless. Moreover, btdownloadgui is also broken:

$ btdownloadgui.py                                
Traceback (most recent call last):
  File "/usr/bin/btdownloadgui.py", line 30, in ?
    import gtk
ImportError: No module named gtk
and i've pygtk installed
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2005-05-23 23:43:22 UTC
*** Bug 93762 has been marked as a duplicate of this bug. ***
Comment 3 Johannes Weiner 2005-05-24 01:11:30 UTC
Created attachment 59679 [details, diff]
Fixes btdownloadheadless and btlaunchcurses
Comment 4 Johannes Weiner 2005-05-24 01:17:17 UTC
(In reply to comment #1)
> This release is broken:
> $ btdownloadcurses.py some.torrent
>   File "/usr/bin/btdownloadcurses.py", line 337
>     saveas = config['save_as']
>          ^
> same with btdownloadheadless.

My patch corrects this.

> Moreover, btdownloadgui is also broken:
> 
> $ btdownloadgui.py                                
> Traceback (most recent call last):
>   File "/usr/bin/btdownloadgui.py", line 30, in ?
>     import gtk
> ImportError: No module named gtk
> and i've pygtk installed

This is not a generic problem:

hnaz 0 neurogen ~ >> python -v
[..]
>>> import gtk
import gtk # directory /usr/lib/python2.3/site-packages/gtk-2.0/gtk
# /usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.pyc matches
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py
import gtk # precompiled from
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.pyc
dlopen("/usr/lib/python2.3/site-packages/gtk-2.0/gobject.so", 2);
import gobject # dynamically loaded from
/usr/lib/python2.3/site-packages/gtk-2.0/gobject.so
# /usr/lib/python2.3/site-packages/gtk-2.0/gtk/keysyms.pyc matches
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/keysyms.py
import gtk.keysyms # precompiled from
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/keysyms.pyc
dlopen("/usr/lib/python2.3/site-packages/gtk-2.0/gtk/_gtk.so", 2);
# /usr/lib/python2.3/encodings/utf_8.pyc matches
/usr/lib/python2.3/encodings/utf_8.py
import encodings.utf_8 # precompiled from /usr/lib/python2.3/encodings/utf_8.pyc
dlopen("/usr/lib/python2.3/site-packages/gtk-2.0/pango.so", 2);
import pango # dynamically loaded from
/usr/lib/python2.3/site-packages/gtk-2.0/pango.so
dlopen("/usr/lib/python2.3/site-packages/gtk-2.0/atk.so", 2);
import atk # dynamically loaded from /usr/lib/python2.3/site-packages/gtk-2.0/atk.so
import gtk._gtk # dynamically loaded from
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/_gtk.so
>>>

hnaz 0 neurogen ~ >> equery belongs
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py 
[ Searching for file(s) /usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py
in *... ]
dev-python/pygtk-2.6.1 (/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py)
Comment 5 Johannes Weiner 2005-05-24 01:33:48 UTC
Created attachment 59681 [details, diff]
Ebuild with patch-routine
Comment 6 Karol Wojtaszek (RETIRED) gentoo-dev 2005-05-24 11:31:25 UTC
Patch looks good, thanks. Bumped in portage.