[tahoe-dev] PyOpenSSL dependency missing?

Nathan nejucomo at gmail.com
Tue Sep 25 00:35:49 UTC 2007


Hi folks,

It looks like there's an undocumented dependency of PyOpenSSL (just a
guess, since libssleay.dll is missing), or the PyOpenSSL package is
buggy.

Perhaps I misunderstand the docs.  I installed cygwin for certain
dependencies: gcc, and make.  However, for all other dependencies I
installed the "native windows" flavor.  So I assume I want the native
windows PyOpenSSL package.

There are two sources of error messages:  The python traceback and a
funny misleading error dialog.  They give slightly different info.

Here's the error message from IDLE:

>>> import foolscap.crypto

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import foolscap.crypto
  File "build\bdist.win32\egg\foolscap\crypto.py", line 5, in <module>
  File "C:\Python25\Lib\site-packages\OpenSSL\__init__.py", line 11, in <module>
    import rand, crypto, SSL, tsafe
ImportError: DLL load failed: The specified module could not be found.


Amusingly (but horrible for user experience), when I ran "easy_install
allmydata-tahoe" and when I type "import foolscap.crypto" in the
python.exe console, a dialog pop's up with a confusing error message
about how libssleay.dll could not be found, so the application "failed
to start".  Yet, it appears the application keeps running.

Worse yet, this dialog pops open three or more times!  (Three times
just for the single import statement.)

I've attached an image capture for your amusement.

I'm going to install libssleay via cygwin to see what happens...

Cheers,
Nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foolscap_crypto_import.jpg
Type: image/jpeg
Size: 24927 bytes
Desc: not available
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20070924/c33307ec/attachment.jpg>


More information about the tahoe-dev mailing list