Ack! help, deluge is dead after ubuntu update

General support for problems installing or using Deluge
Post Reply
odinian
New User
New User
Posts: 7
Joined: Fri Jul 12, 2013 3:33 am

Ack! help, deluge is dead after ubuntu update

Post by odinian »

I updated my 14.04 machine and now deluge will not launch:

# deluged -d
[ERROR ] 23:08:16 main:237 No module named cryptography.hazmat.bindings.openssl.binding
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 229, in start_daemon
from deluge.core.daemon import Daemon
File "/usr/lib/python2.7/dist-packages/deluge/core/daemon.py", line 45, in <module>
from deluge.core.rpcserver import RPCServer, export
File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 45, in <module>
from twisted.internet import ssl, reactor, defer
File "/usr/lib/python2.7/dist-packages/twisted/internet/ssl.py", line 25, in <module>
from OpenSSL import SSL
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 3, in <module>
from cryptography.hazmat.bindings.openssl.binding import Binding
ImportError: No module named cryptography.hazmat.bindings.openssl.binding


Any ideas or more info I can provide? I've been googling and I cannot find a solution

TIA
odinian
New User
New User
Posts: 7
Joined: Fri Jul 12, 2013 3:33 am

Re: Ack! help, deluge is dead after ubuntu update

Post by odinian »

ok, I'm not sure exacly why this fixedthe issue, but I had to do this:

sudo -s
apt-get install libffi-dev
apt-get install python-dev
apt-get install libssl-dev

/usr/local/bin/pip install pycparser
/usr/local/bin/pip install cffi
/usr/local/bin/pip install cryptography


Now deluge runs
Post Reply