[ckan-dev] Dataproxy error

Dominik Moritz dominik.moritz at okfn.org
Mon May 6 09:00:16 UTC 2013


Hey,

You don't have to configure anything. The preview will automatically use the data from the datastore if it is present. Can you see your resource in the _table_metadata[1] table in the datastore?

Best wishes,
Dominik

[1] /api/action/datastore_search?resource_id=_table_metadata

On 6 May 2013, at 09:16, Isabel Ruiz <isaruizmellado at gmail.com> wrote:

> Hi!
> 
> I had installed and configured datastorer and celery with Supervisor.
> 
> How can I configure CKAN to use local datastore instead of dataproxy?
> 
> datastorer seem does not work, because CKAN shows dataproxy error (CKAN is
> connecting https://jsondataproxy.appspot.com).
> 
> 
> Thanks
> 
> 
> 
> On Fri, May 3, 2013 at 2:30 PM, Dominik Moritz <dominik.moritz at okfn.org>wrote:
> 
>> Hi,
>> 
>> The dataproxy is a service on the internet (
>> https://jsonpdataproxy.appspot.com/). You could install it in your
>> intranet to use it. A better choice would be not to use the dataproxy and
>> store all your data in the datastore (
>> http://docs.ckan.org/en/latest/datastore.html) which can be previewed
>> without access to the internet.
>> 
>> Best wishes,
>> Dominik
>> 
>> 
>> On 3 May 2013 08:47, Isabel Ruiz <isaruizmellado at gmail.com> wrote:
>> 
>>> My IP only can be reached from intranet.
>>> 
>>> is internet access mandatory?
>>> 
>>> If internet access is mandatory, is there another option?
>>> 
>>> Thanks!
>>> 
>>> 
>>> On Thu, May 2, 2013 at 2:35 PM, Dominik Moritz <dominik.moritz at okfn.org>wrote:
>>> 
>>>> Hi,
>>>> 
>>>> Can you try to use http://www.downforeveryoneorjustme.com/ to see
>>>> wether you ip can be reached from the internet?
>>>> 
>>>> Cheers,
>>>> Dominik
>>>> 
>>>> On 2 May 2013, at 13:52, Isabel Ruiz <isaruizmellado at gmail.com> wrote:
>>>> 
>>>>> Hi !
>>>>> 
>>>>> Here are my configurations:
>>>>> CKAN database is installed and works correct in Postgresql 9.1.9 on
>>>> Ubuntu
>>>>> 12.10.
>>>>> CKAN 1.8 is installed on a Ubuntu 10.0.4 VM Ware machine and works.
>>>>> 
>>>>> CKAN works fine. I can insert datasets and datastore from any computer
>>>>> connected on my  network.
>>>>> 
>>>>> I click on a datastore and try to see details.
>>>>> 
>>>>> A new page is opened but it throws this error:
>>>>> 
>>>>> Could not load preview: DataProxy returned an error (Data
>>>> transformation
>>>>> failed. error: An error occured while connecting to the server: DNS
>>>> lookup
>>>>> failed for URL:
>>>> http://myIP/es/storage/f/2013-05-02T102449/myCSVfile.csv)
>>>>> 
>>>>> I try:
>>>>> 
>>>>> - paste URL on Firefox and I can download this file.
>>>>> - run wget URL command in Linux terminal and I can download this file.
>>>>> 
>>>>> What can be wrong?
>>>>> 
>>>>> 
>>>>> Thanks!
>>>>> 
>>>>> --
>>>>> Isabel M. Ruiz Mellado
>>>>> http://about.me/isabelruiz
>>>>> _______________________________________________
>>>>> 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
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> Isabel M. Ruiz Mellado
>>> http://about.me/isabelruiz
>>> 
>>> _______________________________________________
>>> 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
>> 
>> 
> 
> 
> -- 
> Isabel M. Ruiz Mellado
> http://about.me/isabelruiz
> _______________________________________________
> 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





More information about the ckan-dev mailing list