pyopenssl (python-ssl) not installed
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
pyopenssl (python-ssl) not installed
I'm having a problem with my sabnzbd. Right now I have SABnzbd Version 0.8.0Beta4 installed on ubuntu 14 and it was working good up until today. I noticed some shows were sent to my sabserver but weren't downloading. I've checked the server settings and it showed ssl greyed out. I reinstalled twice also purged sab. I've tried sudo apt-get install python-pyopenssl but get the following error Unable to locate package python-pyopenssl.
Re: pyopenssl (python-ssl) not installed
That package is actually called python-openssl. The log message with the erroneous package name will be corrected shortly (#424).
Re: pyopenssl (python-ssl) not installed
I've tried that also and it shows I'm up to date. Reading package lists... Donejcfp wrote:That package is actually called python-openssl. The log message with the erroneous package name will be corrected shortly (#424).
Building dependency tree
Reading state information... Done
python-openssl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Re: pyopenssl (python-ssl) not installed
Just to double check:
Start python, and type
What is the result? Can you post the full output here.
Here's mine on my Ubuntu 14.04.3:
So ... no problems.
Start python, and type
Code: Select all
from OpenSSL import SSL
Here's mine on my Ubuntu 14.04.3:
Code: Select all
$ python
Python 2.7.6 (default, Jun 22 2015, 18:00:18)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from OpenSSL import SSL
>>>
Re: pyopenssl (python-ssl) not installed
Just weighing in on this one, same symptoms as above thanks to Sanders for directing me here from my thread (thanks) 
The output of the above is:

The output of the above is:
Code: Select all
mediaservice@MediaManager:~$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from OpenSSL import SSL
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in <module>
from OpenSSL._util import (
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py", line 6, in <module>
from cryptography.hazmat.bindings.openssl.binding import Binding
ImportError: No module named cryptography.hazmat.bindings.openssl.binding
Re: pyopenssl (python-ssl) not installed
The install path indicates some kind of DIY install of the python openssl bindings. Pip?MrTPN wrote: File "/usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py", line 6, in <module>
I cannot reproduce this issue with beta4 on 14.04 and the standard python-openssl package.
Re: pyopenssl (python-ssl) not installed
Sorry for the delay. I cannot connect to my sabserver from work. Here is the output
python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from OpenSSL import SSL
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in <module>
from OpenSSL._util import (
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py", line 6, in <module>
from cryptography.hazmat.bindings.openssl.binding import Binding
ImportError: No module named cryptography.hazmat.bindings.openssl.binding
python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from OpenSSL import SSL
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in <module>
from OpenSSL._util import (
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py", line 6, in <module>
from cryptography.hazmat.bindings.openssl.binding import Binding
ImportError: No module named cryptography.hazmat.bindings.openssl.binding
Re: pyopenssl (python-ssl) not installed
Same same. Are you two running plain Ubuntu, or some system-based-on-Ubuntu? MrTPN's "mediaservice@MediaManager" seems to confirm that ... some mediasystem-based-on-Ubuntu ... ?
And I agree (of course) with jcfp: When I google "ImportError: No module named cryptography.hazmat.bindings.openssl.binding", the first hits all have "pip" (pyton installation) in them, which is outside the control of the Ubuntu/Debian package system. And certainly outside the control of SABnzbd.
And I agree (of course) with jcfp: When I google "ImportError: No module named cryptography.hazmat.bindings.openssl.binding", the first hits all have "pip" (pyton installation) in them, which is outside the control of the Ubuntu/Debian package system. And certainly outside the control of SABnzbd.
Re: pyopenssl (python-ssl) not installed
My installation is straight ubuntu server.
Re: pyopenssl (python-ssl) not installed
And did you use pip to install packages? Or did you only use "sudo apt-get install sabnzbdplus"?Ritzie wrote:My installation is straight ubuntu server.
Re: pyopenssl (python-ssl) not installed
Running Plain old Ubuntu here. MediaService is the username, and MediaManager is the hostname of the box
Originally i installed with just "sudo apt-get install sabnzbdplus" but after applying a few updates (sudo apt-get upgrade) the other night it seems to have broken something. I am just thinking how best to go about removing the SSL package and going back to the stock Ubuntu installation of it.
This might be outside the remit of Sabnzbd, so understand that support might be limited! However, would we both be best removing this via pip and then re-installing? or should we cut our losses and do a fresh install?
MrTPN

Originally i installed with just "sudo apt-get install sabnzbdplus" but after applying a few updates (sudo apt-get upgrade) the other night it seems to have broken something. I am just thinking how best to go about removing the SSL package and going back to the stock Ubuntu installation of it.
This might be outside the remit of Sabnzbd, so understand that support might be limited! However, would we both be best removing this via pip and then re-installing? or should we cut our losses and do a fresh install?
MrTPN
Re: pyopenssl (python-ssl) not installed
Yes sir. I always install by sudo apt-get install sabnzbdplus. When I saw that I was having issues then I tried installing python and believe I tried pip after all the other stuff I tried didn't work. Then I purged everything and started again but still didn't work.sander wrote:And did you use pip to install packages? Or did you only use "sudo apt-get install sabnzbdplus"?Ritzie wrote:My installation is straight ubuntu server.
Re: pyopenssl (python-ssl) not installed
I would do a fresh install of Ubuntu. And do not touch pip; let apt-get take care of software installations.MrTPN wrote:or should we cut our losses and do a fresh install?
Re: pyopenssl (python-ssl) not installed
I redid my box last night. Everything is working well. Thanks for the help sander!!
Re: pyopenssl (python-ssl) not installed
In my case it worked again after purging and reinstalling pyOpenSSL.
Code: Select all
pip uninstall pyOpenSSL
apt-get install --reinstall python-openssl