[ckan-dev] json preview
Dominik Moritz
dominik.moritz at okfn.org
Wed May 22 19:58:52 UTC 2013
Hi,
Thanks a lot. Considered this in https://github.com/okfn/ckan/commit/a707cf5cb5e9005674da1966f6a35831af2dd8ff.
Cheers,
Dominik
On 22 May 2013, at 12:29, Philippe Duchesne <pduchesne at gmail.com> wrote:
> Thank you Dominik.
>
> it improves the error feedback, and now i found out the problem: the json
> resources at stake do not support HEAD requests, which are used in
> controller.py
> f.i.
> http://data.police.uk/api/crimes-street/all-crime?lat=52.629729&lng=-1.131592&date=2011-08
>
> maybe something to consider, as it is quite frequent (apparently) to lack
> HEAD support.
>
> best,
>
> --p.
>
>
>
> On Tue, May 21, 2013 at 8:58 PM, Dominik Moritz <dominik.moritz at okfn.org>wrote:
>
>> Hi,
>>
>> This is a known problem with chunked responses. It has been fixed in [1].
>>
>> Cheers,
>> Dominik
>>
>> [1] https://github.com/okfn/ckan/pull/896
>>
>> On 21 May 2013, at 11:09, Philippe Duchesne <pduchesne at gmail.com> wrote:
>>
>>> Hello everyone,
>>>
>>> i am currently working on a fresh package install of ckan 2.0 (with the
>>> added harvester plugin) and i am having trouble with the json preview
>>> feature.
>>>
>>> I have the json_preview, recline_preview and resource_proxy enabled.
>>> When trying to preview JSON datasets, i get different kind of errors,
>> like
>>> "null" or "XMLHttpRequest Exception 101" displayed in the preview area.
>>> I haven't been able to correlate the different behaviours with the nature
>>> of the json files. All i can tell is that the remote JSON resources are
>>> accessible.
>>>
>>> I notice the same kind of behaviour occurs on the demo instance (
>>> demo.ckan.org) with JSON resources.
>>>
>>> Is this a known problem?
>>> Am I doing something wrong?
>>> Is there a log somewhere, esp. for the proxy extension, to check for
>>> internal errors? (i checked ckan_default.error.log, but found nothing
>>> relevant)
>>>
>>> thank you,
>>>
>>> --p.
>>> _______________________________________________
>>> 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
>>
>>
>> _______________________________________________
>> 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