0

アプリ エンジン開発環境を 1.7.6 にアップグレードした後、アプリを起動できません。ローカルで実行すると、次のエラーが発生しますが、これはプロジェクト コード内にはありません。

トレースバック (最後の最後の呼び出し): ファイル "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/_python_runtime.py"、194 行目、_run_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 インポート cgi ファイル "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default から.bundle/Contents/Resources/google_appengine/google/appengine/runtime/cgi.py", line 31, in from email import feedparser ImportError: cannot import name feedparserランタイム インポート ランタイム ファイル "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/runtime.py"、39 行目、google.appengine.runtime インポートからcgi ファイル "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/cgi.py"、31 行目、メール インポート フィードパーサーからインポート エラー: 名前をインポートできませんフィードパーサーランタイム インポート ランタイム ファイル "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/runtime.py"、39 行目、google.appengine.runtime インポートからcgi ファイル "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/cgi.py"、31 行目、メール インポート フィードパーサーからインポート エラー: 名前をインポートできませんフィードパーサーapp/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/cgi.py", line 31, in from email import feedparser ImportError: cannot import name feedparserapp/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/cgi.py", line 31, in from email import feedparser ImportError: cannot import name feedparser

奇妙なことに、他の 4 つのアプリはエラーなしで起動します。この失敗したプロジェクトには、変更された、またはこのエラーにつながるものは何も見つかりません。

こちらも注目...

  • アプリは 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
4

0 に答える 0