Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 522868

Summary: net-p2p/tribler-6.3.3 should depend on dev-python/pycrypto
Product: Gentoo Linux Reporter: loadletter
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description loadletter 2014-09-15 12:37:40 UTC
Without dev-python/pycrypto tribler doesn't start.

Log ~/.Tribler/tribler.log:

ERROR   1410783750.94 optional_crypto:8     Using fallback for gmpy, not recommended as it hurts performance and is less tested
Traceback (most recent call last):
  File "Tribler/Main/tribler.py", line 28, in <module>
    run()
  File "Tribler/Main/tribler.py", line 24, in run
    from Tribler.Main.tribler_main import run as run_main
  File "/usr/share/tribler/Tribler/Main/tribler_main.py", line 64, in <module>
    from Tribler.Main.vwxGUI.MainFrame import FileDropTarget
  File "/usr/share/tribler/Tribler/Main/vwxGUI/MainFrame.py", line 60, in <module>
    from Tribler.Main.vwxGUI.home import Home, Stats, NetworkGraphPanel
  File "/usr/share/tribler/Tribler/Main/vwxGUI/home.py", line 7, in <module>
    from Tribler.community.tunnel.community import TunnelCommunity
  File "/usr/share/tribler/Tribler/community/tunnel/community.py", line 11, in <module>
    from Crypto.Util.number import bytes_to_long, long_to_bytes
ImportError: No module named Crypto.Util.number

Reproducible: Always

Steps to Reproduce:
1. Install tribler on a system without pycrypto
2. Try starting tribler
Actual Results:  
Tribler doesn't start

Expected Results:  
Tribler should start

Installing dev-python/pycrypto solves this problem
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-15 14:50:19 UTC

*** This bug has been marked as a duplicate of bug 522862 ***