Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to execute scrapy command - Cryptography/OpenSSL issue #1584

Closed
uzairjawed opened this issue Nov 4, 2015 · 2 comments
Closed

Failing to execute scrapy command - Cryptography/OpenSSL issue #1584

uzairjawed opened this issue Nov 4, 2015 · 2 comments
Labels

Comments

@uzairjawed
Copy link

Hi this is my output of 'scrapy createproject tutorial' command

$ scrapy createproject tutorial
Traceback (most recent call last):
File "/usr/local/bin/scrapy", line 7, in
from scrapy.cmdline import execute
File "/Library/Python/2.7/site-packages/scrapy/init.py", line 48, in
from scrapy.spiders import Spider
File "/Library/Python/2.7/site-packages/scrapy/spiders/init.py", line 10, in
from scrapy.http import Request
File "/Library/Python/2.7/site-packages/scrapy/http/init.py", line 15, in
from scrapy.http.response.html import HtmlResponse
File "/Library/Python/2.7/site-packages/scrapy/http/response/html.py", line 8, in
from scrapy.http.response.text import TextResponse
File "/Library/Python/2.7/site-packages/scrapy/http/response/text.py", line 13, in
from scrapy.utils.response import get_base_url
File "/Library/Python/2.7/site-packages/scrapy/utils/response.py", line 12, in
from twisted.web import http
File "/Library/Python/2.7/site-packages/twisted/web/http.py", line 92, in
from twisted.internet import interfaces, reactor, protocol, address
File "/Library/Python/2.7/site-packages/twisted/internet/reactor.py", line 38, in
from twisted.internet import default
File "/Library/Python/2.7/site-packages/twisted/internet/default.py", line 56, in
install = _getInstallFunction(platform)
File "/Library/Python/2.7/site-packages/twisted/internet/default.py", line 50, in _getInstallFunction
from twisted.internet.selectreactor import install
File "/Library/Python/2.7/site-packages/twisted/internet/selectreactor.py", line 18, in
from twisted.internet import posixbase
File "/Library/Python/2.7/site-packages/twisted/internet/posixbase.py", line 18, in
from twisted.internet import error, udp, tcp
File "/Library/Python/2.7/site-packages/twisted/internet/tcp.py", line 29, in
from twisted.internet._newtls import (
File "/Library/Python/2.7/site-packages/twisted/internet/_newtls.py", line 21, in
from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
File "/Library/Python/2.7/site-packages/twisted/protocols/tls.py", line 41, in
from OpenSSL.SSL import Error, ZeroReturnError, WantReadError
File "/Library/Python/2.7/site-packages/OpenSSL/init.py", line 8, in
from OpenSSL import rand, crypto, SSL
File "/Library/Python/2.7/site-packages/OpenSSL/rand.py", line 11, in
from OpenSSL._util import (
File "/Library/Python/2.7/site-packages/OpenSSL/_util.py", line 6, in
from cryptography.hazmat.bindings.openssl.binding import Binding
File "/Library/Python/2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 182, in
Binding.init_static_locks()
File "/Library/Python/2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 139, in init_static_locks
cls._ensure_ffi_initialized()
File "/Library/Python/2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 134, in _ensure_ffi_initialized
cls._register_osrandom_engine()
File "/Library/Python/2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 99, in _register_osrandom_engine
_openssl_assert(cls.lib, cls.lib.ERR_peek_error() == 0)
File "/Library/Python/2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 43, in _openssl_assert
errors
cryptography.exceptions.InternalError: Unknown OpenSSL error. Please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this.

@reaperhulk
Copy link

This issue was a problem related to the pyca/cryptography project and has been resolved as of version 1.1.1.

@redapple redapple added the https label Feb 2, 2016
@redapple
Copy link
Contributor

redapple commented Feb 9, 2016

@uzairjawed ,
I'm closing this issue as this needs upgrading pyca/cryptography, not a scrapy bug per-se

@redapple redapple closed this as completed Feb 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants