App Engine开发环境无法启动应用程序

将我的应用程序引擎开发环境升级到1.7.6后,应用程序无法启动。 在本地运行时,出现以下错误,该错误不在项目代码中。

Traceback(最近调用最后一次):_run_file( file ,globals())中的文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/_python_runtime.py”,行194文件“/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/目录/ Resources / GoogleAppEngine-default.bundle / Contents / Resources / google_appengine / google / appengine / tools / devappserver2 / python / runtime.py“,第101行,位于main()File”/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/资源/ GoogleAppEngine-default.bundle /内容/ R esources / google_appengine / google / appengine / tools / devappserver2 / python / sandbox.py“,行164,位于enable_sandbox from 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 File”/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents /Resources/google_appengine/google/appengine/runtime/cgi.py“,第31行,从电子邮件导入feedparser ImportError:无法导入名称feedparser

奇怪的是,其他四个应用程序将无误启动。 在这个失败的项目中,我找不到任何已更改或将导致此错误的内容。

还值得注意...

  • 应用程序在部署到App Engine时运行
  • 当我将SDK降级到1.7.5时,应用程序再次开始运行
  • 应用定义

    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
    
    链接地址: http://www.djcxy.com/p/88695.html

    上一篇: App Engine development environment fails to launch app

    下一篇: Want to upload a file to directory in google appengine using python