[tahoe-dev] Build error - could not import pycryptopp

Trivedi, Nirav ntrivedi at mitre.org
Fri Mar 11 22:30:24 UTC 2011


It seems trying to build according to the quickstart instructions works but the subsequent test fails with a "Could not import 'pycryptopp' for requirement 'pycryptopp >= 0.5.14'".  Could you please help shed some light on what might be going wrong?  Here is the output of /opt/bin/python setup.py test

***********************************

running darcsver
setup.py darcsver: using extant version file ['src/allmydata/_version.py']
running develop
Not found: tahoe-deps
Not found: ../tahoe-deps
running egg_info
writing requirements to src/allmydata_tahoe.egg-info/requires.txt
writing src/allmydata_tahoe.egg-info/PKG-INFO
writing top-level names to src/allmydata_tahoe.egg-info/top_level.txt
writing dependency_links to src/allmydata_tahoe.egg-info/dependency_links.txt
writing entry points to src/allmydata_tahoe.egg-info/entry_points.txt
reading manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt'
writing manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt'
running build_ext
Processing setuptools_darcs-1.2.12.egg
removing '/root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/setuptools_darcs-1.2.12.egg' (and everything under it)
Copying setuptools_darcs-1.2.12.egg to /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages
setuptools-darcs 1.2.12 is already the active version in easy-install.pth

Installed /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/setuptools_darcs-1.2.12.egg
Creating /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/allmydata-tahoe.egg-link (link to src)
allmydata-tahoe 1.8.2 is already the active version in easy-install.pth
Installing tahoe script to support/bin

Installed /root/allmydata-tahoe-1.8.2/src
Processing dependencies for allmydata-tahoe==1.8.2
Searching for pycryptopp==0.5.25-r761
Best match: pycryptopp 0.5.25-r761
Processing pycryptopp-0.5.25_r761-py2.6-linux-i686.egg
pycryptopp 0.5.25-r761 is already the active version in easy-install.pth

Using /opt/lib/python2.6/site-packages/pycryptopp-0.5.25_r761-py2.6-linux-i686.egg
Searching for mock==0.6.0
Best match: mock 0.6.0
Processing mock-0.6.0-py2.6.egg
mock 0.6.0 is already the active version in easy-install.pth

Using /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/mock-0.6.0-py2.6.egg
Searching for pyasn1==0.0.13a
Best match: pyasn1 0.0.13a
Processing pyasn1-0.0.13a-py2.6.egg
pyasn1 0.0.13a is already the active version in easy-install.pth

Using /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/pyasn1-0.0.13a-py2.6.egg
Searching for pycrypto==2.3
Best match: pycrypto 2.3
Processing pycrypto-2.3-py2.6-linux-i686.egg
pycrypto 2.3 is already the active version in easy-install.pth

Using /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/pycrypto-2.3-py2.6-linux-i686.egg
Searching for Nevow==0.10.0
Best match: Nevow 0.10.0
Processing Nevow-0.10.0-py2.6.egg
Nevow 0.10.0 is already the active version in easy-install.pth
Installing nevow-xmlgettext script to support/bin
Installing nit script to support/bin

Using /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/Nevow-0.10.0-py2.6.egg
Searching for foolscap==0.6.1
Best match: foolscap 0.6.1
Processing foolscap-0.6.1-py2.6.egg
foolscap 0.6.1 is already the active version in easy-install.pth
Installing flappclient script to support/bin
Installing flogtool script to support/bin
Installing flappserver script to support/bin

Using /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/foolscap-0.6.1-py2.6.egg
Searching for Twisted==10.2.0
Best match: Twisted 10.2.0
Processing Twisted-10.2.0-py2.6-linux-i686.egg
removing '/root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/Twisted-10.2.0-py2.6-linux-i686.egg' (and everything under it)
Copying Twisted-10.2.0-py2.6-linux-i686.egg to /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages
Twisted 10.2.0 is already the active version in easy-install.pth
Installing lore script to support/bin
Installing pyhtmlizer script to support/bin
Installing tapconvert script to support/bin
Installing tap2rpm script to support/bin
Installing cftp script to support/bin
Installing manhole script to support/bin
Installing twistd script to support/bin
Installing mailmail script to support/bin
Installing ckeygen script to support/bin
Installing tkconch script to support/bin
Installing mktap script to support/bin
Installing trial script to support/bin
Installing conch script to support/bin
Installing tap2deb script to support/bin

Installed /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/Twisted-10.2.0-py2.6-linux-i686.egg
Searching for zope.interface==3.6.1
Best match: zope.interface 3.6.1
Processing zope.interface-3.6.1-py2.6-linux-i686.egg
removing '/root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/zope.interface-3.6.1-py2.6-linux-i686.egg' (and everything under it)
Copying zope.interface-3.6.1-py2.6-linux-i686.egg to /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages
zope.interface 3.6.1 is already the active version in easy-install.pth

Installed /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/zope.interface-3.6.1-py2.6-linux-i686.egg
Searching for simplejson==2.1.3
Best match: simplejson 2.1.3
Processing simplejson-2.1.3-py2.6-linux-i686.egg
simplejson 2.1.3 is already the active version in easy-install.pth

Using /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/simplejson-2.1.3-py2.6-linux-i686.egg
Searching for zfec==1.4.10
Best match: zfec 1.4.10
Processing zfec-1.4.10-py2.6-linux-i686.egg
zfec 1.4.10 is already the active version in easy-install.pth
Installing zfec script to support/bin
Installing zunfec script to support/bin

Using /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/zfec-1.4.10-py2.6-linux-i686.egg
Searching for setuptools==0.6c16dev3
Best match: setuptools 0.6c16dev3
Processing setuptools-0.6c16dev3.egg
removing '/root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/setuptools-0.6c16dev3.egg' (and everything under it)
Copying setuptools-0.6c16dev3.egg to /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages
setuptools 0.6c16dev3 is already the active version in easy-install.pth
Installing easy_install_z-2.6 script to support/bin
Installing easy_install_z script to support/bin

Installed /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/setuptools-0.6c16dev3.egg
Searching for pyOpenSSL==0.11
Best match: pyOpenSSL 0.11
Processing pyOpenSSL-0.11-py2.6-linux-i686.egg
pyOpenSSL 0.11 is already the active version in easy-install.pth

Using /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/pyOpenSSL-0.11-py2.6-linux-i686.egg
Searching for pyutil==1.8.4
Best match: pyutil 1.8.4
Processing pyutil-1.8.4-py2.6.egg
pyutil 1.8.4 is already the active version in easy-install.pth
Installing try_decoding script to support/bin
Installing randfile script to support/bin
Installing lines script to support/bin
Installing unsort script to support/bin
Installing verinfo script to support/bin
Installing randcookie script to support/bin
Installing tailx script to support/bin

Using /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/pyutil-1.8.4-py2.6.egg
Searching for argparse==1.1
Best match: argparse 1.1
Processing argparse-1.1-py2.6.egg
argparse 1.1 is already the active version in easy-install.pth

Using /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/argparse-1.1-py2.6.egg
Searching for zbase32==1.1.3
Best match: zbase32 1.1.3
Processing zbase32-1.1.3-py2.6.egg
zbase32 1.1.3 is already the active version in easy-install.pth

Using /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/zbase32-1.1.3-py2.6.egg
Finished processing dependencies for allmydata-tahoe==1.8.2
running make_executable
running build
running build_py
running trial
Traceback (most recent call last):
  File "/root/allmydata-tahoe-1.8.2/support/bin/tahoe", line 9, in <module>
    load_entry_point('allmydata-tahoe==1.8.2', 'console_scripts', 'tahoe')()
  File "/root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/setuptools-0.6c16dev3.egg/pkg_resources.py", line 318, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/setuptools-0.6c16dev3.egg/pkg_resources.py", line 2245, in load_entry_point
    return ep.load()
  File "/root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/setuptools-0.6c16dev3.egg/pkg_resources.py", line 1978, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/root/allmydata-tahoe-1.8.2/src/allmydata/__init__.py", line 369, in <module>
    check_all_requirements()
  File "/root/allmydata-tahoe-1.8.2/src/allmydata/__init__.py", line 367, in check_all_requirements
    raise PackagingError(get_error_string(errors, debug=True))
allmydata.PackagingError:
ImportError: could not import 'pycryptopp' for requirement 'pycryptopp >= 0.5.14'

For debugging purposes, the PYTHONPATH was
  '/root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages'
install_requires was
  ['setuptools >= 0.6c6', 'zfec >= 1.1.0', 'simplejson >= 1.4', 'zope.interface', 'Twisted >= 2.4.0', 'foolscap[secure_connections] >= 0.6.1', 'Nevow >= 0.6.0', 'pycrypto == 2.0.1, == 2.1.0, >= 2.3', 'pyasn1 >= 0.0.8a', 'mock', 'pycryptopp >= 0.5.14']
sys.path after importing pkg_resources was
  /root/allmydata-tahoe-1.8.2/support/bin:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/setuptools_darcs-1.2.12.egg:
  /root/allmydata-tahoe-1.8.2/src:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/mock-0.6.0-py2.6.egg:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/pyasn1-0.0.13a-py2.6.egg:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/pycrypto-2.3-py2.6-linux-i686.egg:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/Nevow-0.10.0-py2.6.egg:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/foolscap-0.6.1-py2.6.egg:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/simplejson-2.1.3-py2.6-linux-i686.egg:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/zfec-1.4.10-py2.6-linux-i686.egg:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/pyOpenSSL-0.11-py2.6-linux-i686.egg:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/pyutil-1.8.4-py2.6.egg:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/argparse-1.1-py2.6.egg:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/zbase32-1.1.3-py2.6.egg:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/Twisted-10.2.0-py2.6-linux-i686.egg:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/zope.interface-3.6.1-py2.6-linux-i686.egg:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages/setuptools-0.6c16dev3.egg:
  /root/allmydata-tahoe-1.8.2/support/lib/python2.6/site-packages:
  /opt/lib/python2.6/site-packages/pycryptopp-0.5.25_r761-py2.6-linux-i686.egg:
  /opt/lib/python26.zip:
  /opt/lib/python2.6:
  /opt/lib/python2.6/plat-linux2:
  /opt/lib/python2.6/lib-tk:
  /opt/lib/python2.6/lib-old:
  /opt/lib/python2.6/lib-dynload:
  /opt/lib/python2.6/site-packages



From: Trivedi, Nirav
Sent: Friday, March 11, 2011 1:13 PM
To: 'tahoe-dev at tahoe-lafs.org'
Subject: RAIC

Hi, I wanted to know if Tahoe-Lafs currently supports using cloud service providers, such as Amazon S3 as backend storage?  I saw a slide on RAIC - Redundant Array of Inexpensive Clouds but do not seem to be able to find in the documentation any reference to how to configure clouds as storage.  Is this a feature that is not yet implemented but planned?  Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20110311/6ae55091/attachment.html>


More information about the tahoe-dev mailing list