Xlsx文件未在数据资源管理器中显示ckan

时间:2017-08-15 16:31:13

标签: xlsx ckan

我在ubuntu 16.04.3上运行了一个ckan实例。我从源代码安装了最新的ckan。我成功上传了一些xlsx文件,但当我尝试在数据资源管理器中查看它们时,它会继续加载并显示没有视图或在界面上显示此错误:

"This resource view is not available at the moment. Click here for more information.

Could not load view: DataProxy returned an error (Please read the dataproxy API format documentation: https://github.com/okfn/dataproxy)"

当我尝试将文件上传到数据存储区时,我在界面上收到以下错误:

Upload error: An Error occurred while sending the job: 403 Client Error: Forbidden for url: http://127.0.0.1:8800/job

在datapusher.error.log中,我看到:

[authz_core:error] [pid 4296:tid 139631223842560] [client 127.0.0.1:36692] AH01630: client denied by server configuration: /etc/ckan/datapusher.wsgi

当我提供development.ini文件时,我也无法在终端中看到任何特定错误。如何成功查看数据资源管理器中的xlsx文件?

1 个答案:

答案 0 :(得分:0)

您是否在/etc/apache2/sites-enabled/datapusher.conf中为apache提供了包含datapusher.wsgi的文件夹?

<Directory /etc/ckan>
   Options All
   AllowOverride All
   Require all granted
</Directory>