Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to appcfg rollback my project?

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 protected]', '--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 [email protected]: 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.
like image 430
user2569812 Avatar asked Jul 24 '13 19:07

user2569812


3 Answers

You need to cd into the src folder.

Then do:

appcfg.py --no_cookies [email protected] --passin rollback ./

That always does the trick for me.

like image 169
clifgray Avatar answered Nov 12 '22 00:11

clifgray


If you are unsuccessful trying above steps, place your app.yaml inside C:\Program Files\Google\google_appengine.

Then run:

C:\Program Files (x86)\Google\google_appengine>appcfg.py --no_cookies --email=Youremail --passin rollback app.yaml

It worked for me.

like image 24
Dhwaneel Avatar answered Nov 12 '22 01:11

Dhwaneel


Using the command line GO to the location where google_apengine folder is present in my case it C:\Program Files (x86)\Google\google_appengine.

appcfg.py --no_cookies --email=yourEmail  rollback [ project_dir\]app.yaml 

in my case [project_dir="E:\practiceCode\wp_test"]

so command should be

appcfg.py --no_cookies [email protected]  rollback E:\practiceCode\wp_test\app.yaml

and you get the authentication verification and complete that and rollback done.

like image 1
mystertyboy Avatar answered Nov 12 '22 00:11

mystertyboy