将我的应用引擎开发环境升级到1.7.6后,无法启动应用。在本地运行时,我收到以下错误,该错误不在项目代码中。
Traceback(最近一次调用最后一次):文件 “/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/_python_runtime.py” 第194行,in _run_file( file ,globals())文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/_python_runtime.py”, 第190行,在_run_file中 execfile(script_path,globals_)文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/python/runtime.py”, 第101行 main()文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/python/runtime.py”, 第78行,主要 sandbox.enable_sandbox(config)文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/python/sandbox.py”, 第164行,在enable_sandbox中 来自google.appengine.runtime导入运行时文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/runtime.py”, 第39行,在 来自google.appengine.runtime import cgi文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/cgi.py”, 第31行,在 来自电子邮件导入feedparser ImportError:无法导入名称feedparser
奇怪的是,其他四个应用程序将启动而不会出错。我在这个失败的项目中找不到任何已经改变或会导致此错误的内容。
另外值得注意的是......
应用程序定义
application: myapp
version: 1
runtime: python27
api_version: 1
threadsafe: true
derived_file_type:
- python_precompiled
inbound_services:
handlers:
- url: /css
static_dir: public/css
- url: /img
static_dir: public/img
- url: /js
static_dir: public/js
- url: /favicon.ico
static_files: public/img/favicon.ico
upload: public/img/favicon.ico
- url: /_ah/mail/.+
script: email.email.app
- url: .*
script: main.app