[ECODP-dev] EU ODP > synchro issue with CKAN > urgent
John Glover
john.glover at okfn.org
Mon Apr 8 15:10:31 UTC 2013
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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130408/acdaae9d/attachment.html>
More information about the ecodp-dev
mailing list