Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194221 - net-p2p/bittorrent-5.0.7 emerge -fails - ImportError: No module named twisted.internet
Summary: net-p2p/bittorrent-5.0.7 emerge -fails - ImportError: No module named twisted...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-29 20:50 UTC by Jerome
Modified: 2007-09-30 21:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome 2007-09-29 20:50:09 UTC
Hello,

Here is the log:
---
>>> Compiling source in /var/tmp/portage/net-p2p/bittorrent-5.0.7/work/BitTorrent-5.0.7 ...
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.0.7/work/BitTorrent-5.0.7/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.0.7/work/BitTorrent-5.0.7/BitTorrent/platform.py", line 120, in <module>
    from BTL.defer import ThreadedDeferred
  File "/var/tmp/portage/net-p2p/bittorrent-5.0.7/work/BitTorrent-5.0.7/BTL/defer.py", line 15, in <module>
    from twisted.internet import defer
ImportError: No module named twisted.internet
 * 
 * ERROR: net-p2p/bittorrent-5.0.7 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1334:   Called distutils_src_compile
 *   distutils.eclass, line 48:   Called die
 * 
 * compilation failed
---

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-29 20:57:32 UTC
Running python-updater after upgrading python is not optional. Re-emerge dev-python/twisted and run python-updater; reopen if that doesn't fix your issues.
Comment 2 Jerome 2007-09-30 21:01:11 UTC
Hello,

I ran python-updater.

Then I tryed again and got the following error:
---
>>> Compiling source in /var/tmp/portage/net-p2p/bittorrent-5.0.7/work/BitTorrent-5.0.7 ...
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.0.7/work/BitTorrent-5.0.7/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.0.7/work/BitTorrent-5.0.7/BitTorrent/platform.py", line 120, in <module>
    from BTL.defer import ThreadedDeferred
  File "/var/tmp/portage/net-p2p/bittorrent-5.0.7/work/BitTorrent-5.0.7/BTL/defer.py", line 15, in <module>
    from twisted.internet import defer
ImportError: No module named twisted.internet
 * 
 * ERROR: net-p2p/bittorrent-5.0.7 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1334:   Called distutils_src_compile
 *   distutils.eclass, line 48:   Called die
 * 
 * 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.0.7/temp/build.log'.
 * 

 * Messages for package net-p2p/bittorrent-5.0.7:

 * 
 * ERROR: net-p2p/bittorrent-5.0.7 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1334:   Called distutils_src_compile
 *   distutils.eclass, line 48:   Called die
 * 
 * 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.0.7/temp/build.log'.
 * 
---
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-09-30 21:14:25 UTC
Did you re-emerge dev-python/twisted? Which version you have installed?