Xlsx 文件未显示在数据浏览器 ckan 中 [英] Xlsx file not showing in the data explorer ckan

查看:27
本文介绍了Xlsx 文件未显示在数据浏览器 ckan 中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am running a ckan instance on ubuntu 16.04.3. I installed the latest ckan from source. I uploaded a few xlsx files successfully but when I try to view them in the data explorer it keeps on loading and shows no views or gives this error on the interface:

"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)"

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

When I try to upload the file to the datastore I get the following error on the interface:

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 中我看到:

In the datapusher.error.log I see:

[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 文件?

Also I cant see any specific error in my terminal when I serve my development.ini file. How can I view the xlsx files in my data explorer successfully?

推荐答案

你有没有让/etc/apache2/sites-enabled/datapusher.conf 中包含 datapusher.wsgi 的文件夹可以被 apache 访问?

Have you made the folder containin datapusher.wsgi acessible to apache in your /etc/apache2/sites-enabled/datapusher.conf?

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

这篇关于Xlsx 文件未显示在数据浏览器 ckan 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆