[MacPorts] #49910: py-m2crypto @0.22.3: AttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN' (was: M2Crypto PKCS5_SALT_LEN)

MacPorts noreply at macports.org
Sat Dec 5 04:30:24 PST 2015


#49910: py-m2crypto @0.22.3: AttributeError: 'module' object has no attribute
'PKCS5_SALT_LEN'
--------------------------+--------------------------------
  Reporter:  elatllat@…   |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.4
Resolution:               |   Keywords:  haspatch
      Port:  py-m2crypto  |
--------------------------+--------------------------------
Changes (by ryandesign@…):

 * keywords:   => haspatch
 * port:  M2Crypto => py-m2crypto


Old description:

> Traceback (most recent call last):
>   File "<stdin>", line 185, in <module>
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/M2Crypto/__init__.py", line 24, in <module>
>     import ASN1
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/M2Crypto/ASN1.py", line 12, in <module>
>     import BIO
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/M2Crypto/BIO.py", line 221, in <module>
>     class CipherStream(BIO):
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/M2Crypto/BIO.py", line 227, in CipherStream
>     SALT_LEN = m2.PKCS5_SALT_LEN
> AttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN'
>
> maybe the port needs to point to a more sable or developed upstream?

New description:

 {{{
 Traceback (most recent call last):
   File "<stdin>", line 185, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/M2Crypto/__init__.py", line 24, in <module>
     import ASN1
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/M2Crypto/ASN1.py", line 12, in <module>
     import BIO
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/M2Crypto/BIO.py", line 221, in <module>
     class CipherStream(BIO):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/M2Crypto/BIO.py", line 227, in CipherStream
     SALT_LEN = m2.PKCS5_SALT_LEN
 AttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN'
 }}}

 maybe the port needs to point to a more sable or developed upstream?

--

-- 
Ticket URL: <https://trac.macports.org/ticket/49910#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list