Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
363 views
in Technique[技术] by (71.8m points)

python - How to fix socket.gaierror: (11004, 'getaddrinfo failed') error in GAE?

I'm using Aptana and GAE. When I run GAE launcher or run a server in Aptana 3, I get this error... I've downloaded the lastest version of GAE and still doesnt work...

Traceback (most recent call last):
  File "C:google_appenginedev_appserver.py", line 76, in <module>
    run_file(__file__, globals())
  File "C:google_appenginedev_appserver.py", line 72, in run_file
    execfile(script_path, globals_)
  File "C:google_appenginegoogleappengineoolsdev_appserver_main.py", line 665, in <module>
    sys.exit(main(sys.argv))
  File "C:google_appenginegoogleappengineoolsdev_appserver_main.py", line 629, in main
    static_caching=static_caching)
  File "C:google_appenginegoogleappengineoolsdev_appserver.py", line 4818, in CreateServer
    server = HTTPServerWithScheduler((serve_address, port), handler_class)
  File "C:google_appenginegoogleappengineoolsdev_appserver.py", line 4844, in __init__
    request_handler_class)
  File "C:Python25libSocketServer.py", line 330, in __init__
    self.server_bind()
  File "C:Python25libBaseHTTPServer.py", line 101, in server_bind
    SocketServer.TCPServer.server_bind(self)
  File "C:Python25libSocketServer.py", line 341, in server_bind
    self.socket.bind(self.server_address)
  File "<string>", line 1, in bind
socket.gaierror: (11004, 'getaddrinfo failed')
Exception exceptions.AttributeError: '_shutdown' in <module 'threading' from 'C:Python25libhreading.pyc'> ignored
2011-05-30 21:57:24 (Process exited with code 1)
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...