Google Drive SDK示例python DrEdit不工作(身份验证时闪烁,编辑器未显示)

Google Drive SDK sample python DrEdit not working (flashed upon authentication, editor not shown)

本文关键字:闪烁 编辑器 显示 身份验证 示例 SDK Drive python DrEdit 工作 Google      更新时间:2024-04-28

我一直在尝试按照python代码github分发版自述文件上的所有说明在python中设置示例DrEdit。

该应用程序设置在:https://speedy-filament-420.appspot.com

当我进行身份验证时,它会闪烁,然后什么也不显示。

一个工作的应该显示一个编辑器,类似于以下内容:http://idning-gdrive-test.appspot.com/

除了设置说明之外,我还需要做其他事情吗?

有人能告诉我们问题可能在哪里吗?非常感谢。

加载链接并查看Javascript控制台时,我在app.js 的第15行看到一个错误

  13:  angular.module('app', ['app.filters', 'app.services', 'app.directives'])
  14:      .constant('saveInterval', 15000)
  15:      .constant('appId', [[YOUR APPLICATION ID]]) // Please replace this with your Application ID.
        .config(['$routeProvider', function ($routeProvider) {
        $routeProvider
            .when('/edit/:id', {
                templateUrl: '/public/partials/editor.html',
                controller: EditorCtrl})
            .otherwise({redirectTo:'/edit/'});
    }]);