[ECODP-dev] ckan2ts

John Glover john.glover at okfn.org
Thu Jan 3 09:41:52 UTC 2013


Hi Bert,

This is a configuration issue - the prefix is being read from the value for
"ckan.site_url" in the ckan config file. This should be set to the root URL
of the instance.

This value is currently set on line 123
of /applications/ecodp/users/ecodp/ckan/etc/ecodp/ecodp.ini on
odp.tenforce.com.

John


On 3 January 2013 10:22, Bert Van Nuffelen
<bert.van.nuffelen at tenforce.com>wrote:

> Hi John,
>
> In ODP there is a tool running called ckan2ts which is triggerd with
> this cronjob
>
> 0 0 * * * /applications/ecodp/users/ecodp/ckan/lib/ecodp/pyenv/bin/paster
> --plugin=ckan rdf-export -c
> /applications/ecodp/users/ecodp/ckan/etc/ecodp/ecodp.ini
> /applications/ecodp/users/ecodp/ckan2ts/work/rdf
>
> On odp.tenforce.com it is active.
>
> However it requests entries on the wrong namespace prefix
>
> [root at ecodp-odp3 ckan_management]# ls
> ckan_create_admin_user.sh  ckan_reindex.sh   ckan_update_publishers.sh
>  nal2CKAN.sh    nal_query.rq
> ckan_create_publ_user.sh   ckan_reset_db.sh  ckan_user_stats.sh
>  nal_query1.rq  paster.sh
> [root at ecodp-odp3 ckan_management]# source ./paster.sh
> (pyenv)[root at ecodp-odp3 ckan]# paster  --plugin=ckan rdf-export -c
> /applications/ecodp/users/ecodp/ckan/etc/ecodp/ecodp.ini
> /applications/ecodp/users/ecodp/ckan2ts/work/rdf
> 2013-01-03 10:16:17,447 INFO  [ckan.new_authz] Using auth profile at
> ckan.logic.auth.publisher
> http://publications.europa.eu/open-data/data/dataset/a-test-dataset.rdf:
>        HTTP Error 404: (Not Found)
>
> http://publications.europa.eu/open-data/data/dataset/eve--results-of-projects-in-the-fields-of-education-training-culture-youth-and-citizenship.rdf
> :
>        HTTP Error 404: (Not Found)
>
> http://publications.europa.eu/open-data/data/dataset/digital-agenda-scoreboard-key-indicators.rdf
> :
> HTTP Error 404: (Not Found)
>
> http://publications.europa.eu/open-data/data/dataset/ict-research-projects-under-eu-fp7.rdf
> :
>    HTTP Error 404: (Not Found)
>
> http://publications.europa.eu/open-data/data/dataset/eu-cohesion-policy-2007-2013-funds-allocated-by-member-state.rdf
> :
>      HTTP Error 404: (Not Found)
>
> http://publications.europa.eu/open-data/data/dataset/erasmus-statistics-2009-2010.rdf
> :
>  HTTP Error 404: (Not Found)
> http://publications.europa.eu/open-data/data/dataset/FTS.rdf:   HTTP
> Error 404: (Not Found)
>
> http://publications.europa.eu/open-data/data/dataset/another-test-dataset.rdf
> :
>  HTTP Error 404: (Not Found)
> http://publications.europa.eu/open-data/data/dataset/Erasmus2011-2012.rdf:
>      HTTP Error 404: (Not Found)
> http://publications.europa.eu/open-data/data/dataset/esf-spending.rdf:
>  HTTP Error 404: (Not Found)
>
> http://publications.europa.eu/open-data/data/dataset/iati-bhutan-eu-aid-2012.rdf
> :
>       HTTP Error 404: (Not Found)
>
>
> I am looking where this prefix publications.europa.eu is comming from
> as the dataset names are correctly in the ckan database.
> Is this a data issue? or is this a tool error?
>
> Bert
> --
> 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/20130103/e65ea400/attachment.html>


More information about the ecodp-dev mailing list