[ckan-dev] what happened to the data viewer?

Dominik Moritz dominik.moritz at okfn.org
Thu Jun 13 17:35:45 UTC 2013


Sorry, I forgot to write on the list. We were able to solve the problem off the list.

Yes, the file was on a local machine. The dataproxy which is used by the recline previews if the data is not in the datastore, can only read files that accessible from the internet. You can either enable the datastore or upload the files to a location that is accessible from the internet.

Cheers,
Dominik

On 13 Jun 2013, at 18:47, Adrià Mercader <adria.mercader at okfn.org> wrote:

> Hi,
> 
> What is the exact URL that causes the error? Is this location publicly
> available on the net?
> Note that the DataProxy is an external service and does not have access to
> files on your local machine (eg some you uploaded on a development
> instance).
> 
> More info here:
> http://docs.ckan.org/en/latest/data-viewer.html#viewing-structured-data-the-data-explorer
> 
> Adrià
> 
> 
> On 13 June 2013 08:03, Henrik Aagaard Sørensen <BU1G at tmf.kk.dk> wrote:
> 
>> I actually have the exact same problem. I’m able to download the file
>> though, but preview of CSV etc. fails with the previous mentioned error.**
>> **
>> 
>> ** **
>> 
>> *Fra:* ckan-dev-bounces at lists.okfn.org [mailto:
>> ckan-dev-bounces at lists.okfn.org] *På vegne af *Marina S. Martin
>> *Sendt:* 13. juni 2013 04:17
>> *Til:* 임강희; CKAN Development Discussions
>> *Emne:* Re: [ckan-dev] what happened to the data viewer?****
>> 
>> ** **
>> 
>> What do your logs say? It might be a permission problem in being able to
>> access the file on your server.****
>> 
>> ** **
>> 
>> On Wed, Jun 12, 2013 at 9:51 PM, 임강희 <flaz351 at naver.com> wrote:****
>> 
>> Hello.****
>> 
>> ****
>> 
>> There was no answer, so I ask again.****
>> 
>> When I tried to see data preview at the ckan homepage,****
>> 
>> I got this error:****
>> 
>> ****
>> 
>> ****
>> 
>> Could not load preview: DataProxy returned an error (Data transformation
>> failed. error: An error occured while connecting to the server: Unable to
>> fetch URL: MyURL )****
>> 
>> ****
>> 
>> ****
>> 
>> Data was xls, csv file. (structured data)****
>> 
>> But, when it's url was at github, It worked well. But if url is my local (
>> upload data file to server ), it has error.****
>> 
>> I don't know what should I do. What is the problem?****
>> 
>> ****
>> 
>> Thanks.****
>> 
>> --------------****
>> 
>> K. Lim****
>> 
>> *Fejl! Filnavn er ikke anført.*****
>> 
>> 
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev****
>> 
>> ** **
>> 
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>> 
>> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev

Dominik Moritz
CKAN developer  |  skype: d.moritz  |  @doobly_doo
The Open Knowledge Foundation
Empowering through Open Knowledge
http://okfn.org/  |  @okfn  |  http://ckan.org  |  @CKANproject





More information about the ckan-dev mailing list