应用程序引擎蟒蛇教程错误 [英] app engine python tutorial error

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

问题描述

我试图在这里执行python教程
http://code.google.com/appengine/docs/python/gettingstarted/helloworld.html

I'm trying to do the python tutorial here http://code.google.com/appengine/docs/python/gettingstarted/helloworld.html

(我安装了python 2.5)

(I have python 2.5 installed)

创建python和yaml文件后,我使用应用程序引擎启动程序运行代码。然后我检查localhost:8080并收到以下错误:

After creating the python and yaml files I used the app engine launcher to run the code. Then I checked localhost:8080 and received the following error:

<class 'google.appengine.tools.dev_appserver.AppConfigNotFoundError'>   Python 2.5: C:\Python25\pythonw.exe
Sat Apr 02 17:15:11 2011
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py in _HandleRequest(self=<google.appengine.tools.dev_appserver.DevAppServerRequestHandler instance at 0x02CF0D50>)
 3837         config, explicit_matcher = LoadAppConfig(root_path, self.module_dict,
 3838                                                  cache=self.config_cache,
 3839                                                  static_caching=static_caching)
 3840         if config.api_version != API_VERSION:
 3841           logging.error(
static_caching = True
 C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py in LoadAppConfig(root_path=r'C:\Users\Uri\Dropbox\memory-graph\memory-graph', module_dict={'codecs': <module 'codecs' from 'C:\Python25\lib\codecs.pyc'>, 'email': <module 'email' from 'C:\Python25\lib\email\__init__.pyc'>, 'email.Charset': <email.LazyImporter object at 0x0254A330>, 'email.Encoders': <email.LazyImporter object at 0x0254A350>, 'email.Errors': <email.LazyImporter object at 0x0254A370>, 'email.FeedParser': <email.LazyImporter object at 0x0254A310>, 'email.Generator': <email.LazyImporter object at 0x0254A390>, 'email.Header': <email.LazyImporter object at 0x0254A3D0>, 'email.Iterators': <email.LazyImporter object at 0x0254A3B0>, 'email.MIMEAudio': <email.LazyImporter object at 0x0254A490>, ...}, cache=<google.appengine.tools.dev_appserver.AppConfigCache object at 0x0271C870>, static_caching=True, read_app_config=<function ReadAppConfig at 0x0271F230>, create_matcher=<function CreateURLMatcherFromMaps at 0x0271F270>)
 4164         pass
 4165 
 4166   raise AppConfigNotFoundError
 4167 
 4168 
global AppConfigNotFoundError = <class 'google.appengine.tools.dev_appserver.AppConfigNotFoundError'>
<class 'google.appengine.tools.dev_appserver.AppConfigNotFoundError'>:

任何想法?

推荐答案

AppEngine SDK抱怨,因为它无法找到它自己的配置文件。尝试使用Google AppEngine网站上提供的MSI重新安装。

The AppEngine SDK is complaining because it can't find its own configuration file. Try reinstalling using the MSI provided on the Google AppEngine site.

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

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