在eclipse中导入app引擎示例

时间:2010-01-06 06:25:18

标签: google-app-engine

下载GAE示例代码并复制到Eclipse pydev资源管理器中 并在执行时遇到以下错误

Traceback (most recent call last):
  File "C:\Program Files\Google\google_appengine\dev_appserver.py", line 67, in <module>
    run_file(__file__, globals())
  File "C:\Program Files\Google\google_appengine\dev_appserver.py", line 63, in run_file
    execfile(script_path, globals_)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver_main.py", line 417, in <module>
    sys.exit(main(sys.argv))
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver_main.py", line 360, in main
    config, matcher = dev_appserver.LoadAppConfig(root_path, {})
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 3441, in LoadAppConfig
    raise AppConfigNotFoundError
google.appengine.tools.dev_appserver.AppConfigNotFoundError

1 个答案:

答案 0 :(得分:2)

如果您没有找到app.yamldev_appserver,则会发生此错误。你可以确保在项目目录是工作目录的情况下运行dev_appserver .吗?另外,如果文件确实存在,请在您的问题中包含app.yaml。