Skip to content

Instantly share code, notes, and snippets.

@qiaohaijun
Created August 19, 2014 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qiaohaijun/14aabca679d5e46b3756 to your computer and use it in GitHub Desktop.
Save qiaohaijun/14aabca679d5e46b3756 to your computer and use it in GitHub Desktop.
[@cloud-dev101613140.web.sjs.vm.sogou-op.org local]# python2.7 python27.zip
/usr/local/bin/python2.7: can't find '__main__' module in 'python27.zip'
[@cloud-dev101613140.web.sjs.vm.sogou-op.org local]# python2.7 proxy.py
Traceback (most recent call last):
File "proxy.py", line 1496, in <module>
class AdvancedProxyHandler(SimpleProxyHandler):
File "proxy.py", line 1511, in AdvancedProxyHandler
openssl_context = OpenSSL.SSL.Context(OpenSSL.SSL.TLSv1_METHOD)
AttributeError: 'NoneType' object has no attribute 'SSL'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment