V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
DAOCLOUD
推荐学习书目
Python Cookbook
Using Google App Engine
推荐下载
Latest Google App Engine SDK
其他兼容技术
AppScale
wangyi
V2EX  ›  Google App Engine

崩溃了,用GoogleAppEngineLauncher调程序,间歇出现这样错误,搜了一下,无果,求助啊....

  •  
  •   wangyi · 2010-12-16 21:20:00 +08:00 · 5832 次点击
    这是一个创建于 5124 天前的主题,其中的信息可能已经有所发展或是发生改变。
    "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_main.py", line 480, in main
    static_caching=static_caching)
    File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py", line 3881, in CreateServer
    server = HTTPServerWithScheduler((serve_address, port), handler_class)
    File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py", line 3901, in __init__
    request_handler_class)
    File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/SocketServer.py", line 400, in __init__
    self.server_bind()
    File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/BaseHTTPServer.py", line 108, in server_bind
    SocketServer.TCPServer.server_bind(self)
    File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/SocketServer.py", line 411, in server_bind
    self.socket.bind(self.server_address)
    File "<string>", line 1, in bind
    socket.error: [Errno 49] Can't assign requested address

    说是Can't assign requested address...不能获取127.0.0.1?

    和这个错误差不多间隔出现的还有....
    socket.gaierror: [Errno 8] nodename nor servname provided, or not known
    出现的位置都相同.

    那个前辈遇到过啊.
    指点一下
    1 条回复    1970-01-01 08:00:00 +08:00
    wangyi
        1
    wangyi  
    OP
       2010-12-16 21:54:18 +08:00
    ...自己解决了...nslookup 了一下localhost 居然指向60.19.29.24...

    是因为原来把hosts中清空了...
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3724 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 04:16 · PVG 12:16 · LAX 20:16 · JFK 23:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.