如何appcfg回滚我的项目? [英] How to appcfg rollback my project?

查看:73
本文介绍了如何appcfg回滚我的项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Google App Engine 上传我的python项目但是,一旦我尝试上传我的项目,我收到此错误:

<$ p $运行命令:['C:\\Python26\\python.exe','-u','C:\ \ Program Files \\Google\\google_appengine\\appcfg.py','--no_cookies',u'--email=thomasston54321@gmail.com','--passin','update ','C:\\\\\\\\\\\\\\\\\''''''''''''''''''用户名: 08:21 PM申请:mathsonlinegames;版本:secureable
08:21 PM
开始更新应用程序:mathsonlinegames,版本:secureable
08:21 PM获取当前资源限制。
密码thomasston54321@gmail.com:08:21 PM在本地磁盘上扫描文件。
错误409:---开始服务器输出---
用户Thomasston54321的另一个事务已经在进行中:app〜s〜mathsonlinegames,version:secureable。该用户可以使用appcfg rollback撤销事务。
---结束服务器输出---
2013-07-24 20:21:16(进程退出,代码为1)

现在可以关闭此窗口。

正因为如此,我在 CMD 中尝试了这一点:

  cd C:\程序文件\Google\google_appengine 
appcfg.py回滚C:\ Users \Thomas Stone \Documents\proxy-server

但是我在 CMD

 用法:appcfg.py [options] rollback< directory> | <文件> 

appcfg.py:错误:预计有一个<目录>或< file>论据。


解决方案

您需要cd进入src文件夹。 p>

然后执行:

  appcfg.py --no_cookies --email = YOUR_EMAIL_HERE@gmail.com --passin回滚./ 

对我来说, p>

I am using Google App Engine to upload my python project However once I try to upload my project I receive this error:

2013-07-24 20:21:06 Running command: "['C:\\Python26\\python.exe', '-u', 'C:\\Program Files\\Google\\google_appengine\\appcfg.py', '--no_cookies', u'--email=thomasston54321@gmail.com', '--passin', 'update', 'C:\\Users\\Thomas Stone\\Documents\\proxy-server']"
08:21 PM Host: appengine.google.com
08:21 PM Application: mathsonlinegames; version: secureable
08:21 PM 
Starting update of app: mathsonlinegames, version: secureable
08:21 PM Getting current resource limits.
Password for thomasston54321@gmail.com: 08:21 PM Scanning files on local disk.
Error 409: --- begin server output ---
Another transaction by user Thomasston54321 is already in progress for app: s~mathsonlinegames, version: secureable. That user can undo the transaction with "appcfg rollback".
--- end server output ---
2013-07-24 20:21:16 (Process exited with code 1)

You can close this window now. 

Because of this I have tried this in CMD:

cd C:\Program Files\Google\google_appengine
appcfg.py rollback C:\Users\Thomas Stone\Documents\proxy-server

But then I receive this error in CMD

Usage: appcfg.py [options] rollback <directory> | <file>

appcfg.py: error: Expected a single <directory> or <file> argument.

解决方案

You need to cd into the src folder.

Then do:

appcfg.py --no_cookies --email=YOUR_EMAIL_HERE@gmail.com --passin rollback ./

That always does the trick for me.

这篇关于如何appcfg回滚我的项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆