[tor-bugs] #23011 [Obfuscation/BridgeDB]: Update leekspin's requirements.txt
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Jul 23 03:01:00 UTC 2017
#23011: Update leekspin's requirements.txt
--------------------------------------+----------------------
Reporter: Samdney | Owner: isis
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Obfuscation/BridgeDB | Version:
Severity: Trivial | Keywords: leekspin
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
--------------------------------------+----------------------
In a fresh python2 virtualenv enviroment, I cloned and installed leekspin
and the requirements with "pip install -r requirements.txt". After
running "leekspin -n 20" I received the following error:
{{{
#!div style="font-size: 80%"
Code highlighting:
{{{#!python
Traceback (most recent call last):
File "/mypath/python2env/bin/leekspin", line 37, in <module>
from leekspin import generator
File "/mypath/python2env/lib/python2.7/site-
packages/leekspin/generator.py", line 27, in <module>
import OpenSSL
File "/mypath/python2env/lib/python2.7/site-
packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/mypath/python2env/lib/python2.7/site-packages/OpenSSL/SSL.py",
line 105, in <module>
SSL_ST_INIT = _lib.SSL_ST_INIT
AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
}}}
}}}
I changed in "requirements.txt" the entry
PyOpenSSL==0.14
to
PyOpenSSL==16.2.0
Now it works fine :)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23011>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list