如何在 Google App Engine 的 Python SDK 中回滚 appcfg?
How do I rollback the appcfg in Google App Engine's Python SDK?
前几天我试图为我的网站发布代码,然后我收到了这样的问候:
2016-03-14 01:18:30 Running command: "['C:\Python27\pythonw.exe', '-u', 'C:\Program Files (x86)\Google\google_appengine\appcfg.py', '--oauth2_credential_file=C:\Users\Bryce/.appcfg_oauth2_tokens', 'update', 'C:\Users\Bryce\Desktop\ShaolinP']"
01:19 AM Application: shaolinpretzels; version: 2
01:19 AM Host: appengine.google.com
01:19 AM
Starting update of app: shaolinpretzels, version: 2
01:19 AM Getting current resource limits.
01:23 AM Scanning files on local disk.
Error 409: --- begin server output ---
Another transaction by user classsicb is already in progress for app: s~shaolinpretzels, version: 2. That user can undo the transaction with "appcfg rollback".
--- end server output ---
2016-03-14 01:29:21 (Process exited with code 1)
You can close this window now.
我没有Python的编程经验,我使用了模板来发布网站。对于从未使用过 Python 的 人,如果有人可以详细说明如何回滚 appcfg,我们将不胜感激。
那是因为初始更新可能已停止或其他原因。所以你需要像错误信息指出的那样回滚。
在您的具体情况下,您可以打开命令提示符(Win+R , 然后键入 cmd
然后 输入 ) 和 运行 以下内容:
C:\Program Files (x86)\Google\google_appengine\appcfg.py rollback C:\Users\Bryce\Desktop\ShaolinP
前几天我试图为我的网站发布代码,然后我收到了这样的问候:
2016-03-14 01:18:30 Running command: "['C:\Python27\pythonw.exe', '-u', 'C:\Program Files (x86)\Google\google_appengine\appcfg.py', '--oauth2_credential_file=C:\Users\Bryce/.appcfg_oauth2_tokens', 'update', 'C:\Users\Bryce\Desktop\ShaolinP']"
01:19 AM Application: shaolinpretzels; version: 2
01:19 AM Host: appengine.google.com
01:19 AM
Starting update of app: shaolinpretzels, version: 2
01:19 AM Getting current resource limits.
01:23 AM Scanning files on local disk.
Error 409: --- begin server output ---
Another transaction by user classsicb is already in progress for app: s~shaolinpretzels, version: 2. That user can undo the transaction with "appcfg rollback".
--- end server output ---
2016-03-14 01:29:21 (Process exited with code 1)
You can close this window now.
我没有Python的编程经验,我使用了模板来发布网站。对于从未使用过 Python 的 人,如果有人可以详细说明如何回滚 appcfg,我们将不胜感激。
那是因为初始更新可能已停止或其他原因。所以你需要像错误信息指出的那样回滚。
在您的具体情况下,您可以打开命令提示符(Win+R , 然后键入 cmd
然后 输入 ) 和 运行 以下内容:
C:\Program Files (x86)\Google\google_appengine\appcfg.py rollback C:\Users\Bryce\Desktop\ShaolinP