How to use Sublime's Text 2 build functionality with Google App Engine?

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-03 03:21:13

问题


Two actions I would like to do on Windows 7:

  1. update code on the server;
  2. validate the code.

In order to do (1) I've created GAU update.sublime-build file with the following text:

{
    "cmd": ["appcfg.py --oauth2 --insecure --skip_sdk_update_check update", "$project_path"],
    "path": "d:/Work/GAE/",
    "encoding": "cp1251",
    "shell": true
}

But I am getting the following error:

ERROR appcfg.py:2161 An error occurred processing file '': HTTP Error 302: Found Unexpected redirect to https://appengine.google.com/api/appversion/getresourcelimits?version=1&app_id=myappid. Aborting.

How to fix it? I've also tried this code, but it doesn't ask the password.

And I am not sure how to do task (2).

来源:https://stackoverflow.com/questions/12872442/how-to-use-sublimes-text-2-build-functionality-with-google-app-engine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!