Cannot use appcfg.py

86 views
Skip to first unread message

Shantanu Paul

unread,
Jul 14, 2015, 3:01:17 AM7/14/15
to google-a...@googlegroups.com
Running appcfg.py in CMD with any options and actions causes the standard help commands to be displayed and the action is not performed.

I am trying to rollback update as it got stuck during deployment. So running "appcfg.py rollback" gives:

Usage: appcfg.py [options] <action>




I am using Python 2.7.9 and latest version of Appengine SDK for PHP.

Shantanu Paul

unread,
Jul 14, 2015, 3:06:25 AM7/14/15
to google-a...@googlegroups.com

Patrice (Cloud Platform Support)

unread,
Jul 14, 2015, 3:14:34 PM7/14/15
to google-a...@googlegroups.com, Shantanu Paul
Hi

Just to point it out, I think that the two stack overflow posts you link are not exactly relevant to your issue, as they are 2 and 4 year old respectively. I don't believe the appcfg.py tool has been broken for that long.

Did you update to gcloud or are you staying on the php standalone SDK on purpose? Because earlier this week we deprecated the standalone SDKs to move to gcloud. 

I'd test with a fresh python install and the newest gcloud version, making sure there's NOTHING "polluting" your PATH, so to speak.

Cheers

Shantanu Paul

unread,
Jul 18, 2015, 5:31:13 AM7/18/15
to google-a...@googlegroups.com
I am using the latest Google App Engine SDK for Python.
I believe the issue is exactly the same as it is resolved with using full paths to both python binary as well as appcfg.py as posted in a comment in one of the questions.

I'll try with the gcloud SDK and post the results.

Patrice (Cloud Platform Support)

unread,
Jul 20, 2015, 1:12:26 PM7/20/15
to google-a...@googlegroups.com, Shantanu Paul
Hi Shantanu,

I'll wait for your update on gcloud. In the meantime, I would suggest fully using the paths :).

Cheers!
Reply all
Reply to author
Forward
0 new messages