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

John Glover john.glover at okfn.org
Tue Apr 9 08:56:39 UTC 2013


Hi,

This has already been discussed with Bert but for the benefit of the list:

The CKAN export-datasets paster command fetches datasets using the
ckan.site_url config variable, so if this is pointing to a different site
then the output will not be correct.

John


On 9 April 2013 10:17, Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>wrote:

> 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
>
> _______________________________________________
> 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/20130409/e27cc1f3/attachment.html>


More information about the ecodp-dev mailing list