python - How to interpret this traceback? -


i'm setting new development machine , installed ide pycharm. installed python c:\program (x86)\python27. when start gae server traceback. mean?

pydev debugger: process 7576 connecting  traceback (most recent call last):   file "c:\program files (x86)\jetbrains\pycharm 4.5.3\helpers\pydev\pydevd.py", line 2358, in <module>     globals = debugger.run(setup['file'], none, none, is_module)   file "c:\program files (x86)\jetbrains\pycharm 4.5.3\helpers\pydev\pydevd.py", line 1778, in run     pydev_imports.execfile(file, globals, locals)  # execute script   file "c:\program files (x86)\google\google_appengine\_python_runtime.py", line 83, in <module>     _run_file(__file__, globals())   file "c:\program files (x86)\google\google_appengine\_python_runtime.py", line 79, in _run_file     execfile(_paths.script_file(script_name), globals_)   file "c:\program files (x86)\google\google_appengine\google\appengine\tools\devappserver2\python\runtime.py", line 175, in <module>     main()   file "c:\program files (x86)\google\google_appengine\google\appengine\tools\devappserver2\python\runtime.py", line 155, in main     sandbox.enable_sandbox(config)   file "c:\program files (x86)\google\google_appengine\google\appengine\tools\devappserver2\python\sandbox.py", line 189, in enable_sandbox     google.appengine.runtime import runtime   file "c:\program files (x86)\google\google_appengine\google\appengine\runtime\runtime.py", line 40, in <module>     google.appengine.runtime import cgi   file "c:\program files (x86)\google\google_appengine\google\appengine\runtime\cgi.py", line 32, in <module>     email import feedparser   file "c:\program files (x86)\python27\lib\email\feedparser.py", line 27, in <module>     email import message   file "c:\program files (x86)\python27\lib\email\message.py", line 16, in <module>     import email.charset   file "c:\program files (x86)\python27\lib\email\charset.py", line 13, in <module>     import email.base64mime   file "c:\program files (x86)\python27\lib\email\base64mime.py", line 40, in <module>     email.utils import fix_eols   file "c:\program files (x86)\python27\lib\email\utils.py", line 28, in <module>     import socket   file "c:\program files (x86)\google\google_appengine\google\appengine\tools\devappserver2\python\sandbox.py", line 829, in load_module     return self.import_stub_module(fullname)   file "c:\program files (x86)\google\google_appengine\google\appengine\tools\devappserver2\python\sandbox.py", line 841, in import_stub_module     __import__(fullname, {}, {})   file "c:\program files (x86)\google\google_appengine\google\appengine\dist27\socket.py", line 73, in <module>     _ssl import rand_add, rand_egd, rand_status, ssl_error_zero_return, ssl_error_want_read, ssl_error_want_write, ssl_error_want_x509_lookup, ssl_error_syscall, ssl_error_ssl, ssl_error_want_connect, ssl_error_eof, ssl_error_invalid_error_code importerror: cannot import name rand_egd pydev debugger: process 2496 connecting  traceback (most recent call last):   file "c:\program files (x86)\jetbrains\pycharm 4.5.3\helpers\pydev\pydevd.py", line 2358, in <module>     globals = debugger.run(setup['file'], none, none, is_module)   file "c:\program files (x86)\jetbrains\pycharm 4.5.3\helpers\pydev\pydevd.py", line 1778, in run     pydev_imports.execfile(file, globals, locals)  # execute script   file "c:\program files (x86)\google\google_appengine\_python_runtime.py", line 83, in <module>     _run_file(__file__, globals())   file "c:\program files (x86)\google\google_appengine\_python_runtime.py", line 79, in _run_file     execfile(_paths.script_file(script_name), globals_)   file "c:\program files (x86)\google\google_appengine\google\appengine\tools\devappserver2\python\runtime.py", line 175, in <module>     main()   file "c:\program files (x86)\google\google_appengine\google\appengine\tools\devappserver2\python\runtime.py", line 155, in main     sandbox.enable_sandbox(config)   file "c:\program files (x86)\google\google_appengine\google\appengine\tools\devappserver2\python\sandbox.py", line 189, in enable_sandbox     google.appengine.runtime import runtime   file "c:\program files (x86)\google\google_appengine\google\appengine\runtime\runtime.py", line 40, in <module>     google.appengine.runtime import cgi   file "c:\program files (x86)\google\google_appengine\google\appengine\runtime\cgi.py", line 32, in <module>     email import feedparser   file "c:\program files (x86)\python27\lib\email\feedparser.py", line 27, in <module>     email import message   file "c:\program files (x86)\python27\lib\email\message.py", line 16, in <module>     import email.charset   file "c:\program files (x86)\python27\lib\email\charset.py", line 13, in <module>     import email.base64mime   file "c:\program files (x86)\python27\lib\email\base64mime.py", line 40, in <module>     email.utils import fix_eols   file "c:\program files (x86)\python27\lib\email\utils.py", line 28, in <module>     import socket   file "c:\program files (x86)\google\google_appengine\google\appengine\tools\devappserver2\python\sandbox.py", line 829, in load_module     return self.import_stub_module(fullname)   file "c:\program files (x86)\google\google_appengine\google\appengine\tools\devappserver2\python\sandbox.py", line 841, in import_stub_module     __import__(fullname, {}, {})   file "c:\program files (x86)\google\google_appengine\google\appengine\dist27\socket.py", line 73, in <module>     _ssl import rand_add, rand_egd, rand_status, ssl_error_zero_return, ssl_error_want_read, ssl_error_want_write, ssl_error_want_x509_lookup, ssl_error_syscall, ssl_error_ssl, ssl_error_want_connect, ssl_error_eof, ssl_error_invalid_error_code importerror: cannot import name rand_egd 

if run admin pip install pyopensll get

c:\>pip install pyopensll collecting pyopensll   not find version satisfies requirement pyopensll (from versio ns: ) no matching distribution found pyopensll  c:\>pip install pyopenssl requirement satisfied (use --upgrade upgrade): pyopenssl in c:\progra m files (x86)\python27\lib\site-packages requirement satisfied (use --upgrade upgrade): six>=1.5.2 in c:\progr files (x86)\python27\lib\site-packages (from pyopenssl) requirement satisfied (use --upgrade upgrade): cryptography>=0.7 in c :\program files (x86)\python27\lib\site-packages (from pyopenssl) requirement satisfied (use --upgrade upgrade): setuptools in c:\progr files (x86)\python27\lib\site-packages (from cryptography>=0.7->pyopenssl) requirement satisfied (use --upgrade upgrade): enum34 in c:\program f iles (x86)\python27\lib\site-packages (from cryptography>=0.7->pyopenssl) requirement satisfied (use --upgrade upgrade): pyasn1 in c:\program f iles (x86)\python27\lib\site-packages (from cryptography>=0.7->pyopenssl) requirement satisfied (use --upgrade upgrade): idna in c:\program fil es (x86)\python27\lib\site-packages (from cryptography>=0.7->pyopenssl) requirement satisfied (use --upgrade upgrade): ipaddress in c:\progra m files (x86)\python27\lib\site-packages (from cryptography>=0.7->pyopenssl) requirement satisfied (use --upgrade upgrade): cffi>=0.8 in c:\progra m files (x86)\python27\lib\site-packages (from cryptography>=0.7->pyopenssl) requirement satisfied (use --upgrade upgrade): pycparser in c:\progra m files (x86)\python27\lib\site-packages (from cffi>=0.8->cryptography>=0.7->pyo penssl)  c:\> 

at moment, public issue list doesn't have bugs mentioning rand_egd. recommend filing bug against problem, including stack trace , mentioning you're seeing on windows 8.1. include link to stackoverflow question.

that still leaves immediate problem, consider trying experiment: edit google_appengine\google\appengine\dist27\socket.py , remove reference rand_egd (leaving copy of original line commented out, or make copy of socket.py, can revert change easily). see happens. might lucky. , please report back.


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -