无法下载GAE源代码

Jak*_*ine 1 google-app-engine

这是我正在使用的命令:

appcfg.py download_app -A --application= appid
Run Code Online (Sandbox Code Playgroud)

输出:

/usr/local/bin/appcfg.py:42: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  os.path.join(DIR_PATH, 'lib', 'django_0_96'),
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_login.py:33: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Host: appengine.google.com
Fetching file list...
Email: [email]  
Password for [email]: 
Error 400: --- begin server output ---

Client Error (400)
The request is invalid for an unspecified reason.
--- end server output ---
Run Code Online (Sandbox Code Playgroud)

我的电子邮件/ pw是正确的.任何人都可以帮我翻译这个错误吗?

Tri*_*ych 6

查看文档,该命令的格式为:

appcfg.py download_app -A <application-id> -V <application-version> <output-dir>
Run Code Online (Sandbox Code Playgroud)

看起来文档中有一个错误,因为当我尝试它时,<output-dir>参数是必需的.

所以你的调用应该像这样下载到当前目录(.)

appcfg.py download_app -A appid .
Run Code Online (Sandbox Code Playgroud)