使用Google app Engine Deploy时出现问题,如何解决。 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
DAOCLOUD
推荐学习书目
Python Cookbook
Using Google App Engine
推荐下载
Latest Google App Engine SDK
其他兼容技术
AppScale
liaoy
V2EX    Google App Engine

使用Google app Engine Deploy时出现问题,如何解决。

  •  
  •   liaoy 2011-10-05 16:31:08 +08:00 9907 次点击
    这是一个创建于 5119 天前的主题,其中的信息可能已经有所发展或是发生改变。
    2011-10-05 16:12:11 Running command: "['C:\\Python25\\python.exe', '-u', 'C:\\Program Files\\Google\\google_appengine\\appcfg.py', '--no_cookies', u'[email protected]', '--passin', 'update', 'C:\\micolog']"
    Application:XXXXXX; version: 1
    Host: appengine.google.com

    Starting update of app: ahearhwh, version: 1
    Scanning files on local disk.
    2011-10-05 16:12:46,548 WARNING appengine_rpc.py:435 ssl module not found.
    Without the ssl module, the identity of the remote host cannot be verified, and
    connections may NOT be secure. To fix this, please install the ssl module from
    http://pypi.python.org/pypi/ssl .
    To learn more, see http://code.google.com/appengine/kb/general.html#rpcssl .
    Password for [email protected]: Error 409: --- begin server output ---
    Another transaction by user XXXXXX is already in progress for app: s~XXXXXX, version: 1. That user can undo the transaction with "appcfg rollback".
    --- end server output ---
    2011-10-05 16:13:34 (Process exited with code 1)

    You can close this window now.


    我已经到 http://pypi.python.org/pypi/ssl 里下载,且运行setup (python file). 但还是继续此问题。何解。
    14 条回复    1970-01-01 08:00:00 +08:00
    keakon
        1
    keakon  
       2011-10-05 16:39:48 +08:00
    先读完错误描述再问吧……

    你更新已经失败,要执行rollback才能update

    SSL没用,记住用代理
    Feuda
        2
    Feuda  
       2011-10-08 15:33:54 +08:00
    这两天我部署时出现问题,一直没解决,之前完全正常

    C:\Documents and Settings\Administrator>appcfg.py update d:\xxxxxxxx
    Traceback (most recent call last):
    File "C:\Program Files\Google\google_appengine\appcfg.py", line 77, in <module
    >
    run_file(__file__, globals())
    File "C:\Program Files\Google\google_appengine\appcfg.py", line 73, in run_fil
    e
    execfile(script_path, globals_)
    NameError: global name 'execfile' is not defined



    我想知道这是我的原因还是服务器的原因,phython,GAE,我都重新安装了,还是不行
    xspio
        3
    xspio  
       2011-10-10 01:28:20 +08:00
    @Feuda 连上VPN再上传试试
    Marble
       4
    Marble  
       2011-10-10 15:24:31 +08:00
    @Feuda 不支持d:\xxxxxxxx这种参数吧, 直接切换到project的目录, 然后update xxxxxx
    dqpb
        5
    dqpb  
       2011-10-10 17:52:30 +08:00
    上传被墙了 心里默默问候方校长一百次 然后写个bat
    set HTTP_PROXY=http://google.cn:80
    set HTTPS_PROXY=http://google.cn:80
    appcfg.py update ../项目文件夹
    seemid
        6
    seemid  
       2011-10-19 00:53:45 +08:00
    Application: xxx; version: 1
    Host: appengine.google.com

    Starting update of app: xxx, version: 1
    Scanning files on local disk.
    Password for [email protected]: Error 409: --- begin server output ---
    Another transaction by user inlaidharp is already in progress for app: xxx, version: 1. That user can undo the transaction with "appcfg rollback".
    --- end server output ---
    2011-10-19 00:22:36 (Process exited with code 1)

    You can close this window now.

    更改版本之后,错误如下:

    2011-10-19 00:45:17 Running command: "['D:\\Program Files\\Python\\pythonw.exe', '-u', 'D:\\Program Files\\Google\\google_appengine\\appcfg.py', '--no_cookies', u'[email protected]', '--passin', 'update', 'D:\\z\\xxx\\xxx']"
    Application: xxx; version: 2
    Host: appengine.google.com

    Starting update of app: xxx, version: 2
    Scanning files on local disk.
    Password for [email protected]: Error 400: --- begin server output ---
    api_version '2' is not supported by the 'python' runtime.
    --- end server output ---
    2011-10-19 00:45:31 (Process exited with code 1)

    You can close this window now.

    update 上传时 是开着 VPN 的。

    怎么回事呢?求解
    seemid
        7
    seemid  
       2011-10-19 00:56:43 +08:00
    python 是最新安装的
    keakon
        8
    keakon  
       2011-10-19 03:46:42 +08:00
    @seemid 检查app.yaml,把api_version设为1
    xmbaozi
        9
    xmbaozi  
       2011-10-19 09:03:42 +08:00
    你是上次更新中断,要回滚的。
    执行 appcfg.py roll back /项目路径/
    seemid
        10
    seemid  
       2011-10-19 09:21:40 +08:00
    @keakon update 成功了。
    Feuda
        11
    Feuda  
       2011-10-21 14:21:44 +08:00
    @seemid
    你更改什么版本?是PICKY的么?我的是project-picky-v0.1.9.1,现在更新出现的是你这样的错误

    Application: xxx; version: 1
    Host: appengine.google.com

    Starting update of app: xxx, version: 1
    Scanning files on local disk.
    Password for [email protected]: Error 409: --- begin server output ---
    Another transaction by user xxxx is already in progress for app: xxx, version: 1. That user can undo the transaction with "appcfg rollback".
    --- end server output ---
    2011-10-19 00:22:36 (Process exited with code 1)

    You can close this window now.
    seemid
        12
    seemid  
       2011-10-23 20:18:17 +08:00
    @Feuda 更改是:把 version 设为 2 . 不是 PICKY
    louyp
        13
    louyp  
       2011-11-08 23:10:55 +08:00
    是不是Python版本的问题,我也遇到过,为此我写了一段文字,可以参考。
    http://louypblog.appspot.com/2011/11/7/Technology.html 中间一段文字。
    bloggerao
        14
    bloggerao  
       2011-11-09 09:31:30 +08:00
    Google一下关键词 能搜索出来解决办法的,好像某个文件 某个数字错误 修改一下就行。
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     5150 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 25ms UTC 09:18 PVG 17:18 LAX 02:18 JFK 05:18
    Do have faith in what you're doing.
    ubao snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86