Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268949 - bittorrent-5.2.2 failed, ImportError: No module named twisted.internet
Summary: bittorrent-5.2.2 failed, ImportError: No module named twisted.internet
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 16:04 UTC by Dominique Michel
Modified: 2009-05-10 13:11 UTC (History)
0 users

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


Attachments
/var/tmp/portage/net-p2p/bittorrent-5.2.2/temp/environment (environment,100.31 KB, text/plain)
2009-05-07 16:06 UTC, Dominique Michel
Details
emerge --info (emerge.info,10.81 KB, text/plain)
2009-05-07 16:07 UTC, Dominique Michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Michel 2009-05-07 16:04:54 UTC
When merging bittorrent-5.2.2, the build fail with:


 * Checking wxGTK-2.6 for X support ...                                                                                       [ ok ]
 * Checking wxGTK-2.6 for unicode support ...                                                                                 [ ok ]

 * Requested wxWidgets:        unicode 2.6
 * Using wxWidgets:            gtk2-unicode-release-2.6

>>> Unpacking source...
>>> Unpacking BitTorrent-5.2.2.tar.gz to /var/tmp/portage/net-p2p/bittorrent-5.2.2/work
>>> Source unpacked in /var/tmp/portage/net-p2p/bittorrent-5.2.2/work
>>> Preparing source in /var/tmp/portage/net-p2p/bittorrent-5.2.2/work/BitTorrent-5.2.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-p2p/bittorrent-5.2.2/work/BitTorrent-5.2.2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-p2p/bittorrent-5.2.2/work/BitTorrent-5.2.2 ...
Traceback (most recent call last):
  File "setup.py", line 20, in <module>
    from BitTorrent.platform import install_translation
  File "/var/tmp/portage/net-p2p/bittorrent-5.2.2/work/BitTorrent-5.2.2/BitTorrent/__init__.py", line 49, in <module>
    from BitTorrent.platform import get_temp_subdir, get_dot_dir, is_frozen_exe
  File "/var/tmp/portage/net-p2p/bittorrent-5.2.2/work/BitTorrent-5.2.2/BitTorrent/platform.py", line 120, in <module>
    from BTL.defer import ThreadedDeferred
  File "/var/tmp/portage/net-p2p/bittorrent-5.2.2/work/BitTorrent-5.2.2/BTL/defer.py", line 15, in <module>
    from twisted.internet import defer
ImportError: No module named twisted.internet
 * 
 * ERROR: net-p2p/bittorrent-5.2.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2688:  Called distutils_src_compile
 *             environment, line  758:  Called die
 * The specific snippet of code:
 *       ${python} setup.py build "$@" || die "compilation failed"
 *  The die message:
 *   compilation failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-p2p/bittorrent-5.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/bittorrent-5.2.2/temp/environment'.
 * 


Reproducible: Always

Steps to Reproduce:
1. emerge bittorrent
2.
3.

Actual Results:  
update failed

Expected Results:  
That emerge did succes.

# python --version
Python 2.6.2
Comment 1 Dominique Michel 2009-05-07 16:06:44 UTC
Created attachment 190627 [details]
/var/tmp/portage/net-p2p/bittorrent-5.2.2/temp/environment
Comment 2 Dominique Michel 2009-05-07 16:07:29 UTC
Created attachment 190629 [details]
emerge --info
Comment 3 Dominique Michel 2009-05-07 16:21:17 UTC
Well, I re-merged twisted. It was complaining about a not find zope.interface. So, I re-merged zopeinterface and twisted. Portage is just working fine with bittorrent now.

So, this is fixed for me.
Comment 4 Dominique Michel 2009-05-07 17:04:25 UTC
Well almost. I get a similar problem when emerge wanted to update gnome-terminal. This have to do with portage that updated python from 2.5 to 2.6. I am running python-updater in order to hopefully definitely fix this.
Comment 5 Sebastian Luther (few) 2009-05-10 08:00:34 UTC
Running python-updater is always need after updating python to a new slot (as emerge tells you after the update).
Comment 6 Dominique Michel 2009-05-10 13:11:38 UTC
Well, it was in the middle of a huge emerge world (uodate to ~amd64). But this is fixed now. Sorry for the noise.