V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
apple
V2EX  ›  Project Babel

今天部署的babel有500错误

  •  
  •   apple · 2010-10-28 16:59:11 +08:00 · 4128 次点击
    这是一个创建于 4900 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Error: Server Error

    The server encountered an error and could not complete your request.
    If the problem persists, please report your problem and mention this error message and the query that caused it.

    http://foromoviles.appspot.com/

    是因为没部署成功吗?
    3 条回复    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
       2010-10-28 17:17:22 +08:00
    看一下后台的日志里的具体原因吧。
    apple
        2
    apple  
    OP
       2010-10-28 19:30:47 +08:00
    10-28 04:29AM 27.645 / 500 1730ms 240cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7,gzip(gfe)
    221.234.37.231 - - [28/Oct/2010:04:29:29 -0700] "GET / HTTP/1.1" 500 0 - "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7,gzip(gfe)" "foromoviles.appspot.com" ms=1731 cpu_ms=240 api_cpu_ms=0 cpm_usd=0.006713 loading_request=1
    E 10-28 04:29AM 29.372
    <type 'exceptions.ImportError'>: No module named config
    Traceback (most recent call last):
    File "/base/data/home/apps/foromoviles/1.345812591338862695/main.py", line 48, in <module>
    import config
    I 10-28 04:29AM 29.374
    This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application.

    这是logs里面的记录
    apple
        3
    apple  
    OP
       2010-10-28 19:47:07 +08:00
    搞定了,我自己没玩转,呵呵。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5384 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 08:38 · PVG 16:38 · LAX 01:38 · JFK 04:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.