[ECODP-dev] EU ODP > synchro issue with CKAN > urgent

Bert Van Nuffelen bert.van.nuffelen at tenforce.com
Tue Apr 9 08:17:46 UTC 2013


Hi John,

the datasets are manually added on the PO site. And so far I am
remember while inserting them they explicitely inserted them as
public.
What would be the case if the ckan_url.name is the production machine
we have some weird effect?

Bert


2013/4/8 John Glover <john.glover at okfn.org>:
> Hi Bert,
>
> Is the manually added dataset public? Private datasets will not show up in
> the API call.
>
> It is not possible for the API and frontend to be using different databases
> if you have a single CKAN instance running and/or a single config file, you
> would have to have multiple CKANs using different config files for this to
> happen.
>
> John
>
>
> On 5 April 2013 17:03, Darwin Peltan <darwin.peltan at okfn.org> wrote:
>>
>> Hi Bert,
>>
>> John is off today (as normal) so we'll get back to you on this next week
>> when John is back.
>>
>> Best,
>>
>> Darwin
>>
>> Darwin Peltan
>> Project Manager
>>
>> The Open Knowledge Foundation
>> http://www.okfn.org
>>
>> Skype: darwinp
>> Twitter: @darwin
>>
>>
>> On 5 April 2013 15:54, Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>
>> wrote:
>>>
>>> Hi John and Darwin,
>>>
>>> During the last days we are investigating the synchro between  CKAN
>>> and virtuoso.
>>> What we now observe at the OP site is that a manually added dataset is
>>> visible on the portal but not present in the list from the REST call
>>> used in the next script.
>>> I am wondering if it could be possible that the API call and the
>>> portal frontend point to different DB's. Are there some configurations
>>> that could be the reason for that?
>>>
>>>
>>> #!/bin/bash
>>> CKANRESULTS=`curl http://localhost/data/api/action/package_list -d {}`
>>>
>>> PACKAGES=`echo $CKANRESULTS| sed -e "s/.*\"result\":..//" | sed -e
>>> "s/].*//"| sed -e "s/\"//g" |sed -e "s/,//g" `
>>>
>>> echo $PACKAGES
>>>
>>>
>>> for p in $PACKAGES ; do
>>>     echo $p
>>> #    wget http://localhost/data/dataset/$p.rdf
>>> done
>>>
>>>
>>> --
>>> Bert Van Nuffelen
>>>
>>> Semantic Technologies Software Architect at TenForce
>>> www.tenforce.be
>>>
>>> Bert.Van.Nuffelen at tenforce.com
>>> Office: +32 (0)16 31 48 60
>>> Mobile:+32 479 06 24 26
>>> skype: bert.van.nuffelen
>>>
>>> _______________________________________________
>>> Ecodp-dev mailing list
>>> Ecodp-dev at lists.okfn.org
>>> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>>
>>
>
>
> _______________________________________________
> Ecodp-dev mailing list
> Ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>



-- 
Bert Van Nuffelen

Semantic Technologies Software Architect at TenForce
www.tenforce.be

Bert.Van.Nuffelen at tenforce.com
Office: +32 (0)16 31 48 60
Mobile:+32 479 06 24 26
skype: bert.van.nuffelen




More information about the ecodp-dev mailing list