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:
That always does the trick for me.
This was nagging for me for a while.
- It would be nice if Android Studio had this built in, like in the "stop deploying" functionality.
Finding the appropriate target folder took some work, but this worked as a gradle user on Mac OSX Sierra:
A couple of steps are required to get there, however:
1.) set appcfg.sh, AND run_java.sh to executable (using chmod):
2.) run the script:
3.) enter credentials in the window that pops up
4.) copy/paste the "code" supplied in the window into the terminal session.
This also worked for me when I put the command into a shell script using:
Run the script:
If this fails, make sure that ~/bin is in your PATH:
if not, add it to your ~/.bash_profile file (or whatever file applies):
export PATH="~/bin:$PATH"
I dont know what went wrong in my deployment so deployed was not done the same error 409 i got and by seeing the all the comments on stackoverflow related issues finally found the solution to it
it worked for me on MAC OS
Mac navigate to this Path on terminal below
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine
and used this code to update it
python appcfg.py rollback /Users/ram/Desktop/checkout_workspace/website-appengine/app.yaml
and Rolled back my update.
When using gradle the path to appcfg is:
If you are unsuccessful trying above steps, place your app.yaml inside C:\Program Files\Google\google_appengine.
Then run:
It worked for me.
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.
in my case [project_dir="E:\practiceCode\wp_test"]
so command should be
and you get the authentication verification and complete that and rollback done.