0

我正在尝试在我的本地主机中运行基本的谷歌应用程序。但我似乎有一些我无法解决的错误:

我输入时出错:dev_appserver.py /Users/GoogleApp/helloworld

回溯(最近一次通话最后):

  File "/usr/local/bin/dev_appserver.py", line 133, in <module>
    run_file(__file__, globals())
  File "/usr/local/bin/dev_appserver.py", line 129, in run_file
    execfile(script_path, globals_)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_main.py", line 694, in <module>
    sys.exit(main(sys.argv))
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_main.py", line 582, in main
    root_path, {}, default_partition=default_partition)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py", line 3217, in LoadAppConfig
    raise AppConfigNotFoundError
google.appengine.tools.dev_appserver.AppConfigNotFoundError

解决不了。。

4

2 回答 2

2

你需要在你的应用程序目录中有一个 app.yaml 文件(在你的情况下是 /Users/GoogleApp/helloworld)。有关详细信息,请参阅文档。有关更多示例,请参阅入门指南(创建配置文件部分)。

于 2012-07-13T18:11:26.490 回答
0

将子目录保留在helloworldsdk 目录之外,例如:

/home/helloworld
于 2012-11-21T22:45:45.537 回答