[tahoe-lafs-trac-stream] [tahoe-lafs] #1804: poor error reporting when a dependency can't be imported: Warning: version number None found for dependency 'pyopenssl' (imported from None) could not be parsed.

tahoe-lafs trac at tahoe-lafs.org
Fri Sep 14 02:20:54 UTC 2012


#1804: poor error reporting when a dependency can't be imported: Warning: version
number None found for dependency 'pyopenssl' (imported from None) could not
be parsed.
----------------------------+-------------------------------------------
     Reporter:  davidsarah  |      Owner:  davidsarah
         Type:  defect      |     Status:  closed
     Priority:  minor       |  Milestone:  1.10.0
    Component:  code        |    Version:  1.9.2
   Resolution:  fixed       |   Keywords:  packaging error review-needed
Launchpad Bug:              |
----------------------------+-------------------------------------------
Changes (by davidsarah):

 * keywords:  packaging error => packaging error review-needed
 * milestone:  soon => 1.10.0


Comment:

 The user who brought this to my attention confirmed that this fixes the
 error report:

 {{{
 Warning: dependency 'pyopenssl' could not be imported. pkg_resources
 thought it should be possible to import version '0.11' from
 '/home/jonathan/allmydata-tahoe-1.9.2/support/lib/python2.6/site-
 packages/pyOpenSSL-0.11-py2.6-linux-i686.egg'.
 The exception trace was (<type 'exceptions.ImportError'>,
 'libssl.so.0.9.8: cannot open shared object file: No such file or
 directory', ('/home/jonathan/allmydata-tahoe-1.9.2/support/lib/python2.6
 /site-packages/pyOpenSSL-0.11-py2.6-linux-i686.egg/OpenSSL/__init__.py',
 40, '<module>', 'from OpenSSL import crypto')).
 }}}

 and I also checked that it doesn't break a normal installation.

 Post-commit review of [5621/trunk] would be useful.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1804#comment:2>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list