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

2011-10-05 16:31:08 +08:00
 liaoy
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=XXXXXX@gmail.com', '--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 XXXXXXX@gmail.com: 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). 但还是继续此问题。何解。
9328 次点击
所在节点    Google App Engine
14 条回复
keakon
2011-10-05 16:39:48 +08:00
先读完错误描述再问吧……

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

SSL没用,记住用代理
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
2011-10-10 01:28:20 +08:00
@Feuda 连上VPN再上传试试
Marble
2011-10-10 15:24:31 +08:00
@Feuda 不支持d:\xxxxxxxx这种参数吧, 直接切换到project的目录, 然后update xxxxxx
kirakira
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
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 xxx@gmail.com: 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=xxx@gmail.com', '--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 xxx@gmail.com: 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
2011-10-19 00:56:43 +08:00
python 是最新安装的
keakon
2011-10-19 03:46:42 +08:00
@seemid 检查app.yaml,把api_version设为1
xmbaozi
2011-10-19 09:03:42 +08:00
你是上次更新中断,要回滚的。
执行 appcfg.py roll back /项目路径/
seemid
2011-10-19 09:21:40 +08:00
@keakon update 成功了。
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 xxx@gmail.com: 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
2011-10-23 20:18:17 +08:00
@Feuda 更改是:把 version 设为 2 . 不是 PICKY
louyp
2011-11-08 23:10:55 +08:00
是不是Python版本的问题,我也遇到过,为此我写了一段文字,可以参考。
http://louypblog.appspot.com/2011/11/7/Technology.html 中间一段文字。
bloggerao
2011-11-09 09:31:30 +08:00
Google一下关键词 能搜索出来解决办法的,好像某个文件 某个数字错误 修改一下就行。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/19007

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX