Google App Engine で Python 用の「Dredit」という Google が作成したサンプル アプリケーションをセットアップしようとしています。ドキュメントはこちら: https://developers.google.com/drive/examples/python
アプリケーションは、ユーザーの Google ドライブ フォルダからファイルを開き、作成し、編集できるはずです。
ホームページのコンソールに表示されるいくつかの JavaScript エラーを除いて、ほとんどすべてが機能しているように見えます。また、新しいドキュメントを作成しようとすると、ドキュメントのタイトルを変更することも、既存のドキュメントの名前を編集することもできません。ただし、どのドキュメントのコンテンツも編集できます。アプリは http://www.dredit-python-0515.appspot.comにあります。ログインするには Google アカウントが必要です。
Chrome の JS コンソールと Firebug ではエラーが異なりますが、プロジェクト ディレクトリの angularJS ファイルを中心に発生しているようです。
Chromeのエラーは次のとおりです。
TypeError: Not read property 'editable' of undefined
at Object.service.state (http://dredit-python-0515.appspot.com/js/services.js:135:37)
at http://dredit-python- 0515.appspot.com/lib/angular-1.0.0/angular-1.0.0.js:6128:19
at OPERATORS.| (http://dredit-python-0515.appspot.com/lib/angular-1.0.0/angular-1.0.0.js:5560:74)
http://dredit-python-0515.appspot.com/ Object.fnの lib/angular-1.0.0/angular-1.0.0.js:5879:14
(http://dredit-python-0515.appspot.com/lib/angular-1.0.0/angular-1.0. 0.js:4788:22)
Object.Scope.$digest (http://dredit-python-0515.appspot.com/lib/angular-1.0.0/angular-1.0.0.js:7654:38) で
Object.Scope.$apply で (http://dredit-python-0515.appspot.com/lib/angular-1.0.0/angular-1.0.0.js:7855:24)
completeRequest (
http://dredit-python-0515. appspot.com/lib/angular-1.0.0/angular-1.0.0.js:8984:7)
XMLHttpRequest.xhr.onreadystatechange (http://dredit-python-0515.appspot.com/lib/angular-1.0) で.0/角度-1.0.0.js:8954:11)
どんな助けでも大歓迎です!