Changes between Initial Version and Version 1 of Ticket #1635


Ignore:
Timestamp:
2011-12-14T16:46:58Z (13 years ago)
Author:
davidsarah
Comment:

reformat description

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1635 – Description

    initial v1  
    1 {{{
    21(16:00:04) tcatm: hey. I have some trouble running tahoe-lafs on fedora: exceptions.RuntimeError: crypto for PB is not available, try importing foolscap.crypto and see what happens
     2
    33(16:10:19) davidsarah: tcatm: is that error from running 'setup.py build', or 'bin/tahoe', or using an operating system package of tahoe?
     4
    45(16:11:11) tcatm: bin/tahoe start ... using the latest tarball from the download page
     6
    57(16:12:48) davidsarah: which version of python?
     8
    69(16:12:56) tcatm: 2.7
     10
    711(16:14:59) davidsarah: please tell me the output from: PYTHONPATH=`pwd`/support/lib/python2.7/site-packages python -c "import foolscap.crypto; print foolscap.crypto"
     12
    813(16:16:16) tcatm: <module 'foolscap.crypto' from '/usr/lib/python2.7/site-packages/foolscap/crypto.pyc'>
     14
    915(16:16:56) davidsarah: what about: bin/tahoe --version-and-path
    10 [see attachment]
     16
     17see [attachment:paste.txt]
    1118
    1219(16:20:11) davidsarah: thanks
     20
    1321(16:21:23) davidsarah: this is the problem:
     22
    1423(16:21:23) davidsarah: pyOpenSSL: None [(<type 'exceptions.ImportError'>, 'libcrypto.so.1.0.0: cannot open shared object file: No such file or directory', ('/home/tahoe/allmydata-tahoe-1.9.0/support/lib/python2.7/site-packages/pyOpenSSL-0.13-py2.7-linux-x86_64.egg/OpenSSL/__init__.py', 36, '<module>', 'from OpenSSL import crypto'))] (None),
     24
    1525(16:22:22) davidsarah: it appears that pyOpenSSL can't find the OpenSSL shared lib it is linked against
     26
    1627(16:22:33) davidsarah: I've seen that problem before recently. zooko?
     28
    1729(16:24:09) davidsarah: if there is an operating system package of pyOpenSSL for fedora, installing that (and doing 'python setup.py build' again) would probably fix it
     30
    1831(16:24:42) davidsarah: but we should try to understand why the pyOpenSSL egg it found by default didn't work
     32
    1933(16:25:30) davidsarah: can you do 'make clean' and then paste the full output of 'python setup.py build'?
     34
    2035(16:25:52) tcatm: pyOpenSSL is installed, but I only got a libcrypto.so
     36
    2137(16:26:01) davidsarah: ah
     38
    2239(16:26:54) davidsarah: if you symlink 'libcrypto.so.1.0.0' in the same directory to 'libcrypto.so', does it work then?
     40
    2341(16:27:36) tcatm: sounds like that could break easily on the next upgrade
     42
    2443(16:27:59) davidsarah: it could, but I'm just trying to verify a hypothesis for the cause of the error
     44
    2545(16:28:40) tcatm: hrm, make clean and running setup.py build seemed to have fixed the problem. strange :)
     46
    2647(16:28:47) davidsarah: sigh
     48
    2749(16:28:52) davidsarah: that is annoying
     50
    2851(16:29:23) tcatm: yep. thanks for helping, though :)
     52
    2953(16:29:35) davidsarah: I will file a ticket anyway. thanks for reporting the problem
    30 (16:31:12) davidsarah: mind if I include your paste above? I don't think it has any sensitive paths
     54
     55(16:31:12) davidsarah: mind if I include your paste above? I don't think it
     56has any sensitive paths
     57
    3158(16:32:19) tcatm: no problem. I've already checked it for sensitive information
     59
    3260(16:34:52) davidsarah: which version of Fedora?
     61
    3362(16:40:25) tcatm: 14
    34 }}}