目前无法预览此资源.- CKAN [英] This resource can not be previewed at the moment. - CKAN

查看:11
本文介绍了目前无法预览此资源.- CKAN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Ubuntu 12.04 LTS(GNU/Linux 3.2.0-23-generic x86_64)上运行 CKAN 2.2.

I’m running CKAN 2.2 on Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64).

我已将数据集上传到 CKAN 实例.已经上传成功,也可以下载了.但是当我尝试预览数据库时,我会遇到以下错误.

I have uploaded a dataset to the CKAN instance. It has been uploaded successfully and can be downloaded as well. But when I try to preview the database I end up with below error.

目前无法预览此资源.

当我点击点击这里了解更多信息"时,它会说

When I click on the "Click here for more information", It says

无法加载预览:DataProxy 返回错误(请求错误:10秒后后端没有响应)

Could not load preview: DataProxy returned an error (Request Error: Backend did not respond after 10 seconds)

我该如何解决这个错误?

How can I fix this error?

推荐答案

问题在于数据代理(用于将 csv 转换为数据预览可以理解的东西)是服务器上的互联网.因此,您要预览的文件必须公开也可以从互联网访问.localhost 是您自己的计算机这意味着数据代理无法访问它.为了解决这个问题,wither 使用数据存储器将文件放入数据存储中,或者将文件放在服务器上并提供正确的 url.

The problem is that the data proxy (which is used to transform csv to something that the data preview can understand) is a server on the internet. Consequently the files you want to preview have to publicly accessible from the internet as well. localhost is your own computer which means that the dataproxy cannot access it. To solve this, wither put the file in the datastore using the datastorer or put the file on a server and provide the correct url.

.

发生这种情况是因为用于转换数据转换成我们可以用斜躺预览的东西需要文件可从互联网访问.最好的解决方案是存储数据在数据存储中,然后预览将起作用.

This happens because the data proxy which is used to transform the data into something we can preview with recline needs the files to be accessible from the internet. The best solution is to store the data in the datastore and then the preview will work.

摘自这里 &这里

这篇关于目前无法预览此资源.- CKAN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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