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

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

问题描述

我在Ubuntu 12.04 LTS(GNU / Linux 3.2.0-23 - 通用x86_64)上运行CKAN 2.2。



我已将数据集上传到CKAN实例。它已成功上传,也可以下载。但是当我尝试预览数据库时,最终会出现以下错误。


此资源无法预览。


当我点击点击此处获取更多信息时,它说


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


我如何解决这个错误?

解决方案


问题是数据代理(用于将csv转换为
数据预览可以理解的内容)是
Internet上的服务器。因此,您要预览的文件必须公开
可从互联网访问。 localhost是您自己的电脑
,这意味着dataproxy无法访问它。要解决这个问题,使用数据存储器将文件放在数据存储区中,或者将文件放在服务器上并提供正确的URL。



用于将
数据转换成可以通过倾斜预览的东西的数据代理需要从互联网访问的
文件。最好的解决方案是将数据
存储在数据存储区中,然后预览将工作。


here & here


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

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.

This resource can not be previewed at the moment.

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

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

How can I fix this error?

解决方案

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.

Extracted from here & here

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

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