This wasn't just beets.  Any program that used python-openssl was broken. 
 I fixed this by running:

sudo pip install -upgrade cryptography

Once done, i rebooted and all seemed OK with the world again.

Andy

BTW: Ubuntu 16.04 64-bit

On Saturday, May 27, 2017 at 10:57:15 PM UTC-4, Andy Pastuszak wrote:
>
> Getting the follow error when trying to import some FLAC files:
>
> ** error loading plugin fetchart:
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/dist-packages/beets/plugins.py", line 
> 254, in load_plugins
>     namespace = __import__(modname, None, None)
>   File "/usr/local/lib/python2.7/dist-packages/beetsplug/fetchart.py", 
> line 25, in <module>
>     import requests
>   File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 
> 52, in <module>
>     from .packages.urllib3.contrib import pyopenssl
>   File 
> "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py",
>  
> line 54, in <module>
>     import OpenSSL.SSL
>   File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in 
> <module>
>     from OpenSSL import rand, crypto, SSL
>   File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 113, in 
> <module>
>     if _lib.Cryptography_HAS_SSL_ST:
> AttributeError: 'module' object has no attribute 'Cryptography_HAS_SSL_ST'
>
> ** error loading plugin lyrics:
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/dist-packages/beets/plugins.py", line 
> 254, in load_plugins
>     namespace = __import__(modname, None, None)
>   File "/usr/local/lib/python2.7/dist-packages/beetsplug/lyrics.py", line 
> 25, in <module>
>     import requests
>   File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 
> 52, in <module>
>     from .packages.urllib3.contrib import pyopenssl
>   File 
> "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py",
>  
> line 54, in <module>
>     import OpenSSL.SSL
>   File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in 
> <module>
>     from OpenSSL import rand, crypto, SSL
>   File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 113, in 
> <module>
>     if _lib.Cryptography_HAS_SSL_ST:
> AttributeError: 'module' object has no attribute 'Cryptography_HAS_SSL_ST'
>
> ** error loading plugin chroma:
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/dist-packages/beets/plugins.py", line 
> 254, in load_plugins
>     namespace = __import__(modname, None, None)
>   File "/usr/local/lib/python2.7/dist-packages/beetsplug/chroma.py", line 
> 27, in <module>
>     import acoustid
>   File "/usr/local/lib/python2.7/dist-packages/acoustid.py", line 20, in 
> <module>
>     import requests
>   File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 
> 52, in <module>
>     from .packages.urllib3.contrib import pyopenssl
>   File 
> "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py",
>  
> line 54, in <module>
>     import OpenSSL.SSL
>   File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in 
> <module>
>     from OpenSSL import rand, crypto, SSL
>   File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 113, in 
> <module>
>     if _lib.Cryptography_HAS_SSL_ST:
> AttributeError: 'module' object has no attribute 'Cryptography_HAS_SSL_ST'
>

-- 
You received this message because you are subscribed to the Google Groups 
"beets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to