谷歌应用程序引擎蟒蛇上传应用程序的第一次 [英] google app engine python uploading application first time

查看:168
本文介绍了谷歌应用程序引擎蟒蛇上传应用程序的第一次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图第一次上传我的应用程序引擎项目,我不知道为什么它不工作。从我的终端错误是:

  [me] [〜/ Desktop] $ appcfg.py更新ProjectDir / 
应用:tacticalagentz;版本:1
主机:appengine.google.com

开始更新app:tacticalagentz,版本:1
在本地磁盘上扫描文件。
错误404:---开始服务器输出---
此应用程序不存在(app_id = u'tacticalagentz')。
--- end server output ---

我使用python 2.6.5和Ubuntu 10.04。

不确定这是否相关,但我今天刚刚创建了Google应用引擎帐户。而且我今天也刚刚创建了应用程序(就像几个小时前一样)。这真是令人沮丧,因为我只想上传我迄今为止(作为演示)。在我的app.yaml中,这是我的第一行:

  application:tacticalagentz 

此外,我检查了我的管理控制台,并且我清楚地看到了应用程序ID,并且它在应用程序中与应用程序ID相匹配。 yaml



有人可以请启发我,告诉我我做错了什么?或者它超出了我的理解范围(比如像谷歌索引问题,他们需要时间索引我的应用程序ID)?

非常感谢您提前

解决方案

--no_cookies参数将工作

  appcfg.py更新--no_cookies ProjectDir / 

我能够找到我的答案的方式是从我的Mac OS X上载我的应用程序(感谢上帝,我拥有linux mac和windows)。 Mac OS X上的AppEngine带有一个GUI界面,并可用于上传。所以我发现他们在控制台中使用的命令,其中包括--no_cookies。也许如果你在将来遇到类似的问题,这是获得答案的一种方法

i'm trying to upload my app engine project for the very first time and i have no clue why it is not working. the error from my terminal is:

[me][~/Desktop]$ appcfg.py update ProjectDir/
Application: tacticalagentz; version: 1
Host: appengine.google.com

Starting update of app: tacticalagentz, version: 1
Scanning files on local disk.
Error 404: --- begin server output ---
This application does not exist (app_id=u'tacticalagentz').
--- end server output ---

i'm using python 2.6.5 and ubuntu 10.04.

not sure if this is relevant, but i just created a google app engine account today. and i also just created the application today (like a couple of hours ago). this is really frustrating because i just want to upload what i have so far (as a demo). in my app.yaml this is my first line:

application: tacticalagentz

Furthermore, i checked on my admin console, and i CLEARLY see the app id right there, and it matches letter for letter with the app id in my app.yaml

could someone please enlighten me and tell me what i am doing wrong? or is it something beyond my comprehension (like indexing issue with Google that they need time to index my app id) ?

thank you very much in advance

解决方案

apparently adding the "--no_cookies" parameter will work

appcfg.py update --no_cookies ProjectDir/

the way i was able to find my answer was by uploading my app from my Mac OS X (thank god i have linux mac and windows). AppEngine on Mac OS X comes with a GUI interface, and it worked for uploading. so then i found the command they used in the console, which included "--no_cookies". perhaps if you run into similar issues in the future, this is one approach to getting the answer

这篇关于谷歌应用程序引擎蟒蛇上传应用程序的第一次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆