FS#39388 - [deluge] [python2-pyopenssl] can't start deluge
Attached to Project:
Arch Linux
Opened by Konstantin Krasavin (HarD) - Thursday, 13 March 2014, 18:39 GMT
Last edited by Felix Yan (felixonmars) - Friday, 14 March 2014, 04:05 GMT
Opened by Konstantin Krasavin (HarD) - Thursday, 13 March 2014, 18:39 GMT
Last edited by Felix Yan (felixonmars) - Friday, 14 March 2014, 04:05 GMT
|
Details
Description:
After today update (maybe pyopenssl) deluge cann't start. Additional info: * deluge 1.3.6-4 * pyopenssl 0.14-1 * log start deluge-gtk Traceback (most recent call last): File "/usr/bin/deluge-gtk", line 9, in <module> load_entry_point('deluge==1.3.6', 'gui_scripts', 'deluge-gtk')() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 351, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2363, in load_entry_point return ep.load() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2088, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/__init__.py", line 1, in <module> from gtkui import start File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 75, in <module> from deluge.ui.client import client File "/usr/lib/python2.7/site-packages/deluge/ui/client.py", line 37, in <module> from twisted.internet import reactor, ssl, defer File "/usr/lib/python2.7/site-packages/twisted/internet/ssl.py", line 25, in <module> from OpenSSL import SSL File "/usr/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module> from OpenSSL import rand, crypto, SSL File "/usr/lib/python2.7/site-packages/OpenSSL/rand.py", line 11, in <module> from OpenSSL._util import ( File "/usr/lib/python2.7/site-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 Steps to reproduce: start deluge |
This task depends upon
Closed by Felix Yan (felixonmars)
Friday, 14 March 2014, 04:05 GMT
Reason for closing: Fixed
Additional comments about closing: extra/python2-pyopenssl 0.14-2
Friday, 14 March 2014, 04:05 GMT
Reason for closing: Fixed
Additional comments about closing: extra/python2-pyopenssl 0.14-2
Current workaround: pip2 install cryptography.
The new 0.14 version has 2 hard dependencies [1] that are missing in the python2-pyopenssl depends: python2-six>=1.5.2 [2] and python2-cryptography>=0.2.1 [3].
However python2-cryptography [3] is not available in the arch repositories (as Lykve pointed out, there is a workaround: pip2 install cryptography)
[1] https://github.com/pyca/pyopenssl/blob/release-0.14/setup.py
[2] https://pypi.python.org/pypi/six
[3] https://pypi.python.org/pypi/cryptography/0.2.1
Yeah, accidentally I have all the dependencies installed myself, so I didn't notice the change. python-ply already added to [extra], and others on the way.